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

modified lifted loss #37

Open
JasAva opened this issue Aug 6, 2019 · 1 comment
Open

modified lifted loss #37

JasAva opened this issue Aug 6, 2019 · 1 comment

Comments

@JasAva
Copy link

JasAva commented Aug 6, 2019

Thanks for the comprehensive implementation. Really helpful for understanding the various metric learning loss.

I'm wondering if you can shed some insights on the modified loss function, which takes a different formation as the original one.

Compared to the original loss, the modified version use a different pos loss, and introduce a new parameter beta.

@bnu-wangxun
Copy link
Owner

  1. In the paper, I show why I modify the loss into such version, 《Multi-Similarity Loss with General Pair Weighting for Deep Metric Learning》 https://arxiv.org/abs/1904.06627
  2. insght: the insight comes from binomial deviance loss, the beta and alpha have similar effect as their corresponding hyperparameter in binomial deviance loss. The beta is large because for negative pair we want to extremely focus on hard pairs, while we use much smaller alpha for positive pairs because hard positive and easy positive pairs are nearly of equal importantance.

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