All models

erik_began

GAN whose discriminator is an auto-encoder, balanced by a proportional-control equilibrium term.

Diffusion and generative · 13 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (18 KB)

Open in a new tab

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.

At a glance

Family
began
Parameters
738.7K
Operations
13
Framework
PyTorch
Recurrent
No
Published
2017
Cited by
1,341 (as of 22 November 2026)
Authors
David Berthelot, Thomas Schumm, Luke Metz
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m4663
Graph hash
95d9a2d2868bceea4de98873cc2af5bef6f183700be16f1d40ca27d57980164c
Skeleton hash
1c096f818ff50d948050c050ec2ef79d717fb15bef8a88332532db3f7afb3948
Architecture hash
a2fe6c0f169b4c16c21de478343fc49c49d9d78137722d401417c49718193b80
Diagram SHA-256
2c479a4b60cc298b73f62ee59dd9c12e5e7219f00f696bdb090f4c09fd54b242
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

About this model's family

BEGAN is a generative adversarial network whose discriminator is an auto-encoder, with a proportional-control equilibrium term that keeps generator and discriminator balanced. The motivation is the usual GAN trouble: hyper-parameter choice is critical, sample diversity is hard to control, and the discriminator often wins too easily early in training.

Rather than matching data distributions directly, BEGAN matches the distributions of auto-encoder reconstruction losses, using a loss derived from the Wasserstein distance. A proportional controller holds the expected loss on generated samples at a set fraction of the loss on real ones. The same machinery yields an approximate convergence measure and a way to trade image diversity against visual quality. The auto-encoder discriminator was first proposed in EBGAN.

The discriminator is a convolutional auto-encoder built from 3x3 convolutions with exponential linear units, kept as simple as possible to avoid typical GAN tricks. The generator reuses the decoder's architecture, though not its weights. Down-sampling is stride-2 sub-sampling and up-sampling is nearest neighbor. The captured members come from the PyTorch-GAN collection's BEGAN, whose author notes that model architectures will not always mirror the ones proposed in the papers, favouring the core ideas over every layer configuration.

Key idea. An equilibrium-enforcing training method for auto-encoder GANs, derived from the Wasserstein distance, that balances the two networks and gives a convergence measure.

  • BEGAN
  • Boundary Equilibrium GAN
  • Boundary Equilibrium Generative Adversarial Networks
  • GAN
  • generative adversarial network
  • image generation
  • auto-encoder discriminator
  • PyTorch-GAN

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{berthelot2017beganboundaryequilibriumgenerative,
      title={BEGAN: Boundary Equilibrium Generative Adversarial Networks}, 
      author={David Berthelot and Thomas Schumm and Luke Metz},
      year={2017},
      eprint={1703.10717},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/1703.10717}, 
}