# GAN (2014)

> Train a generator against a discriminator that tries to tell its fakes from real data.

Page: https://mralbu.github.io/ai-datasets/p/gan

## Key facts

- Title: Generative Adversarial Nets
- Authors: Ian J. Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, Yoshua Bengio
- Venue: NeurIPS 2014
- Category: Vision
- Paper: https://www.alphaxiv.org/abs/1406.2661

## Why it matters

Adversarial training produced much sharper images than likelihood-based models of the time and led the field for six years, from DCGAN to StyleGAN, until diffusion models took over. The idea of a learned critic as a loss spread to super-resolution, translation between image domains and beyond.

## The idea

A generator turns random noise into samples; a discriminator is trained to tell those samples from real data, and the generator is trained to fool it. If both are flexible enough, the game ends when the generator reproduces the data distribution. No likelihood, Markov chains or inference network is needed, only backpropagation.

## The result

On MNIST its samples scored a Parzen-window log-likelihood of 225, above deep belief networks (138) and generative stochastic networks (214). It also produced CIFAR-10 samples, without numbers; on the Toronto Face Database it trailed the best baseline.

## The data

- [MNIST (1998)](https://mralbu.github.io/ai-datasets/d/mnist.md): 70,000 handwritten digits, 28×28 grayscale, 10 classes.
- [CIFAR-10 (2009)](https://mralbu.github.io/ai-datasets/d/cifar10.md): 60,000 tiny 32×32 color images in 10 classes.

## Led to

- [DCGAN (2015)](https://mralbu.github.io/ai-datasets/p/dcgan.md)

## Part of

- [Generative image models](https://mralbu.github.io/ai-datasets/t/generative-images.md) (step 2 of 5)
