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

Could not find the generator loss. #6

Closed
PeterouZh opened this issue Sep 23, 2020 · 2 comments
Closed

Could not find the generator loss. #6

PeterouZh opened this issue Sep 23, 2020 · 2 comments

Comments

@PeterouZh
Copy link

Hi,

thanks for your great job.

When I read the code, I found there is only the discriminator loss and no generator loss. In other words, there is no adversarial training in MEALv2, which is different from my intuition. I want to know what is the advantage of just using the discriminator.

@szq0214
Copy link
Owner

szq0214 commented Sep 23, 2020

Hi @PeterouZh, generator loss is the similarity loss in our framework to produce the same distribution as teachers', i.e., the KL divergence loss. Conventional adversarial training uses alternate updating but since the input and output of our discriminator and generator (student) are differentiable (not images), we can train the whole pipeline jointly.

@szq0214 szq0214 closed this as completed Sep 23, 2020
@PeterouZh
Copy link
Author

Thanks for your reply. It's very interesting. Maybe a detailed ablation study is needed to verify the effectiveness of the discriminator loss.

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