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

question about concentration around a prototype #16

Open
vmmm123 opened this issue Jan 7, 2022 · 2 comments
Open

question about concentration around a prototype #16

vmmm123 opened this issue Jan 7, 2022 · 2 comments

Comments

@vmmm123
Copy link

vmmm123 commented Jan 7, 2022

In the paper, you have mentioned "With the proposed φ, the similarity in a loose cluster (larger φ) are down-scaled,
pulling embeddings closer to the prototype", but i am wondering why the down-scaled similarity can force them get closer?
Could you please explain it more detailedly? Thanks!

@LiJunnan1992
Copy link
Contributor

Hi, thanks for your question!

The loss function will try to increase the similarity between an embedding v and its positive prototype c: v \dot c / phi. When phi is larger, v \dot c also needs to be larger in order to increase the similarity. Therefore, the embedding becomes closer to the prototype.

@vmmm123
Copy link
Author

vmmm123 commented Jan 7, 2022

ok, it is a direct thought. I try to understand it from the angle of gradient and i am afraid that the larger gradient may force the model more focus on the tight cluster when / phi is smaller.

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