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

Did you try use alignment and uniformity as loss instead? #17

Closed
jiqiujia opened this issue Dec 23, 2024 · 1 comment
Closed

Did you try use alignment and uniformity as loss instead? #17

jiqiujia opened this issue Dec 23, 2024 · 1 comment

Comments

@jiqiujia
Copy link

In my dataset, I found in-batch sampled softmax loss donesn't work, and using alignment and uniformity as loss works well. I doubt if it related to the number of items.

@yxni98
Copy link
Contributor

yxni98 commented Jan 26, 2025

Hello @jiqiujia . I also tried the latter one before. Alignment and uniformity provide good guidance for learning sometimes, that's why they are kept in our code. Though in-batch helps accelerate the convergence, the learning performance highly relies on item distribution within datasets.

@yxni98 yxni98 closed this as completed Jan 26, 2025
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