# DCGAN (2015)

> A short list of architecture rules that made convolutional GANs train reliably, and showed what their latent space had learned.

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

## Key facts

- Title: Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networks
- Authors: Alec Radford, Luke Metz, Soumith Chintala
- Venue: ICLR 2016
- Category: Vision
- Paper: https://www.alphaxiv.org/abs/1511.06434

## Why it matters

Earlier GANs were hard to train beyond small images. DCGAN's recipe was copied by almost every GAN that followed, and its latent-space arithmetic made the idea of a learned, meaningful image space concrete.

## The idea

Build both networks from convolutions only: strided convolutions instead of pooling, no fully connected hidden layers, batch normalization in nearly every layer, ReLU in the generator and leaky ReLU in the discriminator. Then use the trained discriminator as a feature extractor and probe the generator by doing arithmetic on its inputs.

## The result

Trained on ImageNet without labels, its discriminator features reached 82.8% on CIFAR-10 with a linear classifier, and 22.5% error on SVHN with 1,000 labels, a record. Vector arithmetic worked on faces: smiling woman − neutral woman + neutral man gave a smiling man.

## The data

- [ImageNet (ILSVRC) (2009)](https://mralbu.github.io/ai-datasets/d/imagenet.md): 1.28 million photos across 1,000 classes, the dataset behind the deep learning boom.
- [CIFAR-10 (2009)](https://mralbu.github.io/ai-datasets/d/cifar10.md): 60,000 tiny 32×32 color images in 10 classes.
- [SVHN (2011)](https://mralbu.github.io/ai-datasets/d/svhn.md): 600k digits cropped from Google Street View photos of house numbers.
- [MNIST (1998)](https://mralbu.github.io/ai-datasets/d/mnist.md): 70,000 handwritten digits, 28×28 grayscale, 10 classes.

## Builds on

- [GAN (2014)](https://mralbu.github.io/ai-datasets/p/gan.md)
- [Batch normalization (2015)](https://mralbu.github.io/ai-datasets/p/batch-norm.md)
- [Adam (2014)](https://mralbu.github.io/ai-datasets/p/adam.md)

## Part of

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