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 the fundamental #2

Open
jizongFox opened this issue Nov 9, 2019 · 0 comments
Open

Question about the fundamental #2

jizongFox opened this issue Nov 9, 2019 · 0 comments

Comments

@jizongFox
Copy link

jizongFox commented Nov 9, 2019

Hi,
Thanks for sharing this great work.
I just draw the gradient for the Entropy and the proposed loss in your work and found hard to tell.
You said
After plotting the gradient function image on Fig. 1, we can see that the gradient of the high probability point is much larger than the mediate point. As a result, the key principle behind the entropy minimization method is that the training of target samples is guided by the high probability area, which is assumed to be more accurate.
In fact, the gradient is dominant when the probability is near 82% and the gradient vanishes when prediction becomes confident. It is very hard to imagine that when more confident you are, the larger gradient you have. Usually, Entropy minimization leads to a more stable model.
Entroy_loss and gradient
image

Your proposed loss indeed exhibits a lower gradient for high confident regions, that is true.
The proposed loss and gradient
image
The loss is plotted as -p ** 2 - (1 - p) ** 2 + 1. I added a constant to make the loss to be all positive.
Thanks in advance for your attention and comments.

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

1 participant