# Dropout (2014)

> Switch off random neurons during training, and a network stops memorizing its training data.

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

## Key facts

- Title: Dropout: A Simple Way to Prevent Neural Networks from Overfitting
- Authors: Nitish Srivastava, Geoffrey Hinton, Alex Krizhevsky, Ilya Sutskever, Ruslan Salakhutdinov
- Venue: JMLR 2014
- Category: Foundations
- Paper: https://jmlr.org/papers/v15/srivastava14a.html

## Why it matters

Large networks overfit easily, and the usual fixes were limited. Dropout was a one-line change that made bigger networks pay off. First described in a 2012 preprint, it was one of the ingredients of AlexNet, and it is still used in Transformers and many other models.

## The idea

At every training step, drop each unit (typically half of the hidden units) at random, so the network can never rely on any particular neuron being there. At test time, use all units with their weights scaled down. This works like averaging an enormous number of smaller networks that share weights.

## The result

On MNIST it took a plain fully connected network from 1.6% to 0.95% test error, and it improved results on every dataset in the paper, from street-view digits and CIFAR to ImageNet and speech.

## The data

- [MNIST (1998)](https://mralbu.github.io/ai-datasets/d/mnist.md): 70,000 handwritten digits, 28×28 grayscale, 10 classes.
- [SVHN (2011)](https://mralbu.github.io/ai-datasets/d/svhn.md): 600k digits cropped from Google Street View photos of house numbers.
- [CIFAR-10 (2009)](https://mralbu.github.io/ai-datasets/d/cifar10.md): 60,000 tiny 32×32 color images in 10 classes.
- [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.

## Part of

- [Making deep networks trainable](https://mralbu.github.io/ai-datasets/t/deep-nets-trainable.md) (step 4 of 7)
