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

how if we use hinge loss as EnergyModel loss? #1

Open
bojone opened this issue Jan 27, 2019 · 3 comments
Open

how if we use hinge loss as EnergyModel loss? #1

bojone opened this issue Jan 27, 2019 · 3 comments

Comments

@bojone
Copy link

bojone commented Jan 27, 2019

Good job! But I have some problems:

  1. how if we use hinge loss as EnergyModel loss? Gradient penalty is actually good but we know with gradient penalty is slow.

  2. Can you show more final demo pictures in github? I really want to see the whole results on cifar10 and celeba.

thanks for such a good job.

@ritheshkumar95
Copy link
Owner

  1. Could be interesting to try. We went with gradient penalty because it makes theoretically that we want true data to be energy minima, by optimizing for the norm of the derivative to be equal to 0.

  2. I'll work on adding it!

@bojone
Copy link
Author

bojone commented Jan 28, 2019

yet, I am very appreciated with your interpretation (energy minima) of gradient penalty.

however, gradient penalty is our prior knowledge of this problem. If there is a replaceable approach with less prior knowledge, I think it is also interesting.

@ritheshkumar95
Copy link
Owner

So it is indeed interesting to explore other options instead of gradient penalty to fix the temperature explosion.

We couldn't find other ways to prevent it from exploding. You could try running experiments and you'll notice.

There is nothing from the theory of energy-based models that suggests that this might happen. However the GAN theory could give some clues as to why this is possible. [Lipshitz continuity required for the WGAN discriminator].

I agree that prior knowledge of GAN theory helped us understand than gradient penalty does something useful for energy-based model training as well. [Making real data as energy minima]

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