All models

erik_dragan

A DCGAN-style generator trained under DRAGAN, a gradient penalty that fights mode collapse.

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

Parameters
1M
Operations
13
Framework
PyTorch
Recurrent
No
Published
2017
Cited by
807 (as of 29 November 2026)
Authors
Naveen Kodali, Jacob Abernethy, James Hays, Zsolt Kira
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
m4674
Graph hash
95d9a2d2868bceea4de98873cc2af5bef6f183700be16f1d40ca27d57980164c
Skeleton hash
1c096f818ff50d948050c050ec2ef79d717fb15bef8a88332532db3f7afb3948
Architecture hash
a272765c51a959d85e7faafad35a0ba3acd5702e518c0f8764e8bf3320f77cf1
Diagram SHA-256
50950d7617a5d588c594ae32104e4730fc2883ef170085979d6e4676a01cf655
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

DRAGAN is a training scheme for generative adversarial nets, not a new architecture: it views GAN training as regret minimization rather than divergence minimization. The authors hypothesize that undesirable local equilibria in the non-convex game are responsible for mode collapse. Those equilibria tend to show sharp gradients of the discriminator around some real data points. A gradient penalty called DRAGAN, short for Deep Regret Analytic Generative Adversarial Networks, avoids them.

The penalty is applied with the vanilla GAN objective in the experiments, though the authors say it also stabilizes other objectives. Its hyperparameters were set to lambda around 10, k = 1 and c around 10 in most experiments. The official code tells users to pick their own architecture and objective and to tune the hyperparameter c, which decides the size of the local regions. The paper describes DCGAN as a family of architectures designed to perform well with the vanilla training procedure.

The captured member is the generator from the PyTorch-GAN collection's dragan.py. That collection states that its architectures do not always mirror the papers and that it focuses on the core ideas rather than every layer configuration. The paper reports improved stability over WGAN-GP, which it calls the state-of-the-art stable training procedure.

Key idea. DRAGAN reframes GAN training as regret minimization and introduces a gradient penalty around real data points that avoids the degenerate local equilibria blamed for mode collapse.

  • DRAGAN
  • Deep Regret Analytic GAN
  • gradient penalty
  • mode collapse
  • regret minimization
  • DCGAN generator
  • Kodali
  • 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{kodali2017convergencestabilitygans,
      title={On Convergence and Stability of GANs}, 
      author={Naveen Kodali and Jacob Abernethy and James Hays and Zsolt Kira},
      year={2017},
      eprint={1705.07215},
      archivePrefix={arXiv},
      primaryClass={cs.AI},
      url={https://arxiv.org/abs/1705.07215}, 
}