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

One issue about the loss function #2

Open
abcxubu opened this issue Aug 22, 2023 · 3 comments
Open

One issue about the loss function #2

abcxubu opened this issue Aug 22, 2023 · 3 comments

Comments

@abcxubu
Copy link

abcxubu commented Aug 22, 2023

Thanks for sharing the code of the wonderful work. I have a problem with the loss function. In section 2.2, it introduces the loss function of knowledge distillation, which is used to obtain the high entropy. In section 2.3, it introduces the loss function of uncertainty minimization, which is used to obtain the low entropy. Will there be a conflict between these two loss functions? I hope to receive your reply as soon as possible.

@lanfz2000
Copy link
Collaborator

The experimental results demonstrate that these two loss functions are not contradictory. Regarding the issue you mentioned, I believe that the loss function based on Knowledge Distillation (KD) does not increase entropy.

@abcxubu
Copy link
Author

abcxubu commented Aug 25, 2023

In section 2.2, you said "Note that T = 1 corresponds to a standard
Softmax function, and a larger T value leads to a softer probability distribution
with higher entropy. ". In the experiment, you set T=10. Could you explain how the knowledge distillation works in principle? (rather than just answering this question from the perspective of experimental results) Thanks.

@lanfz2000
Copy link
Collaborator

lanfz2000 commented Aug 25, 2023 via email

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