Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global-local Feature Alignment #1

Open
1024er opened this issue Jul 9, 2022 · 1 comment
Open

Global-local Feature Alignment #1

1024er opened this issue Jul 9, 2022 · 1 comment

Comments

@1024er
Copy link

1024er commented Jul 9, 2022

image
Hi,
Have you tried the InfoNCE loss in Global-local Feature Alignment ?

[CLS] and [MSK] in the same sentence constitute positive pairs
[CLS] and [MSK] in different sentence constitute negative pairs

@LiJunnan1992
Copy link
Contributor

Hi, thanks for your question. We have tried InfoNCE, but it does not work as well as the squared distance. Our hypothesis is that InfoNCE is too "simple" and does not regularize the model well enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants