Comments (2)
Hi, thank you for the interest. A good question. In QAConv L2 norm is applied in feature extraction before QAConv, but that's for efficiency to avoid redundant computation. For a better understanding, it should be applied in QAConv to normalize the two input features, to perform cosine similarity measure, which, if I remember correctly, performs better than dot product.
In TransMatcher, however, in the feature extraction module the L2 norm should not be pre-applied, because there is a stack of Transformer encoders there that requires original unscaled features. Besides, in the decoder the first unit is FC which also expects unscaled features. On the other hand, in the decoder after FC, at that time I was considering how to adapt the original decoder in Transformers for matching, so the dot product is re-used. I cannot remember if the L2 norm was tried here.
However, indeed it is a good question. If you are interested in, I would suggest you do a further ablation study to see what's the effect of the L2 norm, in both QAConv and Transmatcher, and I would appreciate if you could post your findings here. Thanks.
from transmatcher.
ok, thanks for you reply. I will do a further ablation stydy~
from transmatcher.
Related Issues (9)
- How to run TransMatcher? HOT 2
- Out-Of-Memory regardless of setting batch_size HOT 10
- optimizer can only optimize Tensors, but one of the params is str HOT 4
- Trained models
- Questions about input of TransMatcher and Variable Naming in implementation HOT 1
- Model in eval mode during training HOT 1
- 关于transmatcher的推理速度 HOT 5
- 廖老师,您好,请问您做过在dukemtmc数据集的跨域实验吗?可否告知一下实验结果呢 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from transmatcher.