Giter VIP home page Giter VIP logo

Comments (2)

ShengcaiLiao avatar ShengcaiLiao commented on May 31, 2024

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.

pSGAme avatar pSGAme commented on May 31, 2024

ok, thanks for you reply. I will do a further ablation stydy~

from transmatcher.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.