
pytorch_gan_ebgan_generator
Diffusion and generative12 ops738.4K params
EBGAN from PyTorch-GAN: a generator and an auto-encoder discriminator whose energy is reconstruction error.
Diffusion and generative · 15 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
About this model's family
EBGAN recasts the GAN discriminator as an energy function that attributes low energies to the regions near the data manifold and higher energies to other regions. Seen that way, the discriminator can take a wide variety of architectures and losses, not only a binary classifier with a logistic output. The instantiation the paper builds, and the one captured here, uses an auto-encoder as the discriminator with the energy being the reconstruction error.
Training uses a margin loss, and the authors prove that under a simple hinge loss the generator at convergence produces points that follow the data distribution. A 'repelling regularizer', a pulling-away term on the encoder representations, keeps the generator from producing samples clustered in only a few modes. The authors report more stable behavior than regular GANs during training. They also show a single-scale architecture generating ImageNet images at 256 by 256 pixels without a multiscale approach.
Both captured members come from the PyTorch-GAN collection, one the generator and one the auto-encoder discriminator, and its author warns that its architectures will not always mirror the ones proposed in the papers.
Key idea. An energy-based formulation of adversarial training in which the discriminator is an auto-encoder whose reconstruction error is the energy.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{zhao2017energybasedgenerativeadversarialnetwork,
title={Energy-based Generative Adversarial Network},
author={Junbo Zhao and Michael Mathieu and Yann LeCun},
year={2017},
eprint={1609.03126},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/1609.03126},
}