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

Eq.3 logits or probabilities #30

Closed
Yang-Li-2000 opened this issue Dec 13, 2022 · 1 comment
Closed

Eq.3 logits or probabilities #30

Yang-Li-2000 opened this issue Dec 13, 2022 · 1 comment

Comments

@Yang-Li-2000
Copy link

In Eq.3, the PAL loss uses logits (f_theta) instead of probabilities (p_theta). When using logits, it seems that the parts inside the parenthesis can become negative. When the parts inside the parenthesis becomes negative, the log operation cannot be performed. When using probabilities, however, the parts inside the parenthesis will always be positive. Why Eq.3 uses logits instead of probabilities?

image

@yyliu01
Copy link
Collaborator

yyliu01 commented Apr 13, 2023

The equation (3) utilises the probability instead of the logits, which is close related with the equation (6) in gambler loss paper (https://arxiv.org/abs/1907.00208).

Hope it helps.

@yyliu01 yyliu01 closed this as completed Apr 13, 2023
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