Generative adversarial networks
A GAN trains a generator to make samples and a discriminator to distinguish generated samples from training data.
A GAN trains a generator to make samples and a discriminator to distinguish generated samples from training data. The generator maps a noise vector to a generated sample. The discriminator estimates whether an input came from the training data rather than the generator.
Training alternates discriminator updates with a generator update. The discriminator learns from training examples and samples from the generator. The generator is trained to increase the probability that the discriminator makes a mistake. The original paper describes this framework as a minimax two-player game.
A conditional GAN feeds extra information to both the generator and discriminator. DCGAN used four fractionally-strided convolutions to turn a representation into a 64 by 64 image. Wasserstein GAN was proposed in part to address learning instability and mode collapse. StyleGAN reported scale-specific control of image synthesis.
The generator is trained to increase the probability that the discriminator makes a mistake.
Follow one generated sample through the two-player game.
- 1 · sampleDraw an input vector from a fixed noise distribution.
- 2 · generateThe generator maps that vector to a generated sample.
- 3 · judgeThe discriminator estimates whether each input came from the training data rather than the generator.
- 4 · alternateTraining alternates discriminator updates with a generator update.
The original paper describes this framework as a minimax two-player game.
| Who | What they ask | What it works with |
|---|---|---|
| Image researcher | “Can the model synthesize another sample from this image distribution?” | Noise vectors and training images |
| Conditional-generation team | “Can the output be tied to a requested class?” | Labels supplied to both networks |
| Representation researcher | “Which high-level attributes can the synthesis process separate?” | Intermediate controls in a trained generator |
- After training, a generator can produce samples by forward propagation through the generative model.
- A conditional GAN feeds extra information to both the generator and discriminator.
- DCGAN used four fractionally-strided convolutions to turn a representation into a 64 by 64 image.
- StyleGAN reported scale-specific control of image synthesis.
- The original GAN formulation has no explicit representation of the generator distribution.
- The original paper says the discriminator and generator must be synchronized well during training.
- Wasserstein GAN was proposed in part to address learning instability and mode collapse.
Sources used
This explainer is written in original language. The links below support its factual claims.
- paperGenerative Adversarial Nets, Goodfellow et al. · read 28 Sept 2026
- paperUnsupervised Representation Learning with Deep Convolutional Generative Adversarial Networks, Radford, Metz and Chintala · read 28 Sept 2026
- paperWasserstein GAN, Arjovsky, Chintala and Bottou · read 28 Sept 2026
- paperA Style-Based Generator Architecture for Generative Adversarial Networks, Karras, Laine and Aila · read 28 Sept 2026
- paperConditional Generative Adversarial Nets, Mirza and Osindero · read 28 Sept 2026