# Dropout: A Simple Way to Prevent Neural Networks from Overfitting

Dropout randomly removes units during training to reduce neural network overfitting

Nitish Srivastava, Geoffrey Hinton, Alex Krizhevsky, Ilya Sutskever, Ruslan Salakhutdinov · Journal of Machine Learning Research

- **Problem** Large neural nets overfit when training data is limited, and averaging many separately trained nets costs far too much compute. Test-time ensembles are also too slow where fast responses matter.
- **Method** Dropout randomly removes hidden and input units during each training case, sampling a thinned network every time. At test time it is switched off and the outgoing weights are scaled by p.
- **Results** On SVHN, dropout in all layers reached 2.55% error, compared to 3.95% for the best convolutional net without dropout.

## Why overfitting and model averaging get stuck

Deep networks with several non-linear hidden layers can fit very complicated input-output relationships. With limited training data, many of those relationships are just sampling noise, so the network learns patterns that vanish on fresh test data. Standard remedies include early stopping, L1 and L2 penalties, and soft weight sharing. The ideal remedy averages predictions over all parameter settings, each weighted by its posterior probability given the training data.

That ideal is only practical for simple or small models, so the authors aim to approach it with much less computation.

Averaging the outputs of many separately trained large nets would help, but it is prohibitively expensive. Each net needs its own architecture search, and each large network needs a lot of computation to train. Running all of these nets at test time is infeasible where it is important to respond quickly. So the authors looked for an ensemble-like effect obtained from a single network.

Dropout approximates combining exponentially many neural network architectures without training them separately. Applying dropout to a network amounts to sampling a thinned network from it, and a net with n units holds 2^n possible thinned networks. These thinned networks share weights, and a new one is sampled for each presentation of each training case.

## Dropout as sampling thinned networks

Dropout turns one network into a large family of sub-networks by sampling a new thinned network for every training case. A dropped unit is removed together with all its incoming and outgoing connections, so the sampled network is smaller. A net with n units defines 2^n possible thinned networks, and these networks all share weights.

Because each hidden unit must work with a random sample of other units, it can't rely on specific partners to fix its mistakes. The hidden units within a layer still learn different things from each other, so the net doesn't simply copy units. Formally, a Bernoulli mask r^(l)\_j Bernoulli(p) is sampled for each layer, with each entry equal to 1 with probability p.

The mask multiplies the layer outputs element-wise, giving thinned outputs ỹ^(l) = r^(l) \* y^(l), and the next layer reads these thinned outputs.

At test time, dropout is switched off, and the weights are scaled as W^(l)test = pW^(l). Scaling the outgoing weights by p makes each unit's expected output at test time match its expected output during training. Training uses stochastic gradient descent, where each training case in a mini-batch runs on its own sampled thinned network. Max-norm regularization bounds the norm of each hidden unit's incoming weight vector by a constant c, and typical values of c range from 3 to 4.

For fine-tuning pretrained nets, the pretrained weights are scaled up by a factor of 1/p. This keeps each unit's expected output under random dropout equal to its output during pretraining. The authors found that the pretrained information survived only when the fine-tuning learning rates were smaller. Early stopping wasn't needed once the hyperparameters were fixed, so the authors combined the validation and training sets for a long run.

## Results across image, speech, text and biology data

Dropout improved generalization on every data set the authors tried, compared to neural networks without dropout. The image experiments on MNIST, SVHN, CIFAR-10, CIFAR-100 and ImageNet all use dropout, and the authors report that models with state-of-the-art results on these sets use it. On MNIST, dropout nets with p = 0.5 for hidden units and p = 0.8 for input units reached 0.79% error with DBM pretraining.

The authors varied architectures from 2 to 4 hidden layers with 1024 to 2048 units each, and kept all hyperparameters, including p, fixed. Dropout improved test error across all of these architectures without tuning hyperparameters for each one, as two separate clusters of trajectories in Figure 4 show. Those dropout nets used p = 0.5 for hidden units and p = 0.8 for input units.

On SVHN, the best convolutional net without dropout reached 3.95% error. Dropout only in the fully connected layers lowered that error to 3.02%. Adding dropout to the convolutional layers as well lowered it to 2.55%, so the convolutional-layer dropout gave a further gain beyond the fully connected layers. On CIFAR-100, dropout in all layers reduced error from 43.48% to 37.20%, with no data augmentation.

On the Alternative Splicing data set, the dropout network scored 567 bits in Code Quality, compared to 440 bits for an early-stopped neural network. A Bayesian neural network scored higher at 623 bits, and the authors expected that result. The authors note that the dropout nets had 1000s of hidden units, while the Bayesian network used a few tens of units.

Dropout avoided the overfitting that the small training set invites, without reducing the input dimensionality with PCA.

On MNIST, the authors compared dropout with L2, L2 with L1 near the end of training, L2 with KL-sparsity, and max-norm.

## What the analyses suggest about how dropout works

The feature analysis on MNIST compares two single-hidden-layer autoencoders with 256 rectified linear units, one trained without dropout and one with dropout at p = 0.5. Both autoencoders reached similar test reconstruction errors, so the comparison isolates what the hidden units learned. Without dropout, the features co-adapted to produce good reconstructions, and no single hidden unit seemed to detect a meaningful feature.

With dropout, the hidden units seemed to detect edges, strokes and spots in different parts of the image. The authors read this as evidence that dropout breaks up co-adaptations, which they consider probably the main reason for the lower generalization error.

The sparsity analysis uses the same two autoencoders, evaluated on a random mini-batch from the test set. Dropout made hidden activations sparse as a side effect, even though no sparsity-inducing regularizer was present. The mean activation of hidden units was close to 2.0 without dropout and dropped to around 0.7 with dropout. Fewer hidden units showed high activations with dropout, so the activation histograms had a sharp peak at zero.

The authors also compared Gaussian dropout, which multiplies activations by random variables drawn from N(1, σ²), with Bernoulli dropout. For Gaussian dropout, the expected activation stays unchanged, so the model needs no weight scaling at test time. Matching the mean and variance, the Gaussian variable has the highest entropy and the Bernoulli variable has the lowest.

On MNIST with two layers of 1024 units each, Gaussian dropout reached 0.95 ± 0.04 error, against 1.08 ± 0.04 for Bernoulli dropout. On CIFAR-10, the two forms were nearly the same, at 12.5 ± 0.1 and 12.6 ± 0.1.

The data-set size experiment shows a limit to these benefits on MNIST. Training sets of 100 and 500 cases gave no improvement from dropout, because the model can still overfit despite the noise.

## Where dropout costs time or fails to help

The authors attribute much of this increase to very noisy parameter updates, because each training case effectively tries to train a different random architecture. The gradients computed this way aren't gradients of the final architecture used at test time, so training takes a long time. The authors argue this same stochasticity is what prevents overfitting, so training time and overfitting trade off against each other.

Dropout also needs larger steps to compensate for the noise, so a dropout net typically uses 10-100 times the learning rate of a standard net. Momentum values of 0.95 to 0.99 worked better with dropout than the 0.9 common for standard nets, which speeds up learning.

Dropout doesn't help on every data set size, and the MNIST experiments show this at the small end. On MNIST with training sets of 100 and 500 cases, dropout gave no improvement in generalization error. The authors explain that the model still has enough parameters to overfit the training data, even with the noise from dropout. As the data set grows, the gain from dropout rises to a point and then declines, which the authors describe as a sweet spot.

On Reuters-RCV1, dropout improved accuracy over every architecture tried, but the gain was smaller than on image and speech data. The authors attribute the smaller gain to the data set being large, with more than 200,000 training examples, so overfitting is less serious.

The authors leave open how to speed up dropout training. For more complicated models, they don't know how to obtain an equivalent regularizer from marginalizing the noise, so this remains future work. Dropout's gains beyond the MNIST and Reuters cases depend on the architecture and dropout rate, as the data set size experiments show.

## Paper info

- **Authors**: Nitish Srivastava, Geoffrey Hinton, Alex Krizhevsky, Ilya Sutskever, Ruslan Salakhutdinov
- **Venue**: Journal of Machine Learning Research · Published
- **Added**: 2026-11-11
- **Original paper terms**: [Check in the original ↗](https://www.jmlr.org/papers/v15/srivastava14a.html)
- **What we show**: Paper info and commentary

[Original paper ↗](https://www.jmlr.org/papers/v15/srivastava14a.html) · [PDF ↗](https://jmlr.org/papers/volume15/srivastava14a/srivastava14a.pdf)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Quote from the paper

Nitish Srivastava, Geoffrey Hinton, Alex Krizhevsky, Ilya Sutskever, Ruslan Salakhutdinov (2014). Dropout: A Simple Way to Prevent Neural Networks from Overfitting. Journal of Machine Learning Research. https://www.jmlr.org/papers/v15/srivastava14a.html

**BibTeX**

```
@article{srivastava2014dropout,
  title = {{Dropout: A Simple Way to Prevent Neural Networks from Overfitting}},
  author = {Nitish Srivastava and Geoffrey Hinton and Alex Krizhevsky and Ilya Sutskever and Ruslan Salakhutdinov},
  year = {2014},
  journal = {Journal of Machine Learning Research},
  url = {https://www.jmlr.org/papers/v15/srivastava14a.html}
}
```

## Other paper commentary

- [Optimal Last-Iterate Bounds for Nonexpansive Stochastic Approximation](https://refivu.com/en/papers/4ba112d6-e289-4a95-8d3e-1b5aca564d84-optimal-last-iterate-bounds-for-nonexpansive-stochastic.md)
- [Evaluating Compositional Generalization in Transformers: The Role of Composition Equivalence and Module Coverage](https://refivu.com/en/papers/51035e38-2ad0-44b9-9a53-5f7b0e4038b4-evaluating-compositional-generalization-in-transformers-the.md)
- [Is Persona Generalization Predictable?](https://refivu.com/en/papers/ae408b05-af42-4e04-bc37-7a735a9a0b4d-is-persona-generalization-predictable.md)
- [Regularization Amplifies Subliminal Learning](https://refivu.com/en/papers/22f59d9c-4e53-44c9-9218-a8bd14a07d28-regularization-amplifies-subliminal-learning.md)
- [Solver-Admitted Metamorphic Testing of Learned Network Optimization Surrogates](https://refivu.com/en/papers/bf8267ce-e77f-4570-a90e-1101d0d6d31b-solver-admitted-metamorphic-testing-of-learned-network.md)
- [On Lipschitz Explosion in Deep Neural Networks with Normalization: Consequences for Optimization and Adversarial Robustness](https://refivu.com/en/papers/14b86801-511c-455f-9d92-3f267fde363d-on-lipschitz-explosion-in-deep-neural-networks-with.md)
- [XGBoost: A Scalable Tree Boosting System](https://refivu.com/en/papers/e3112070-6898-4fad-83b9-27d6d96c62be-xgboost-a-scalable-tree-boosting-system.md)
- [Effective Approaches to Attention-based Neural Machine Translation](https://refivu.com/en/papers/58ab56a7-1cd5-4c5e-be62-69ff9c1387c7-effective-approaches-to-attention-based-neural-machine.md)
- [DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFs](https://refivu.com/en/papers/e76226cf-6d58-4173-918d-455579e5374d-deeplab-semantic-image-segmentation-with-deep-convolutional.md)
- [Sim(3)-TurboReg: Robust and Efficient Scale-Aware Registration via Tri-Scale Consistency](https://refivu.com/en/papers/6010db2f-e383-4a6b-bb2c-90acfddb3e7a-sim-3-turboreg-robust-and-efficient-scale-aware.md)
- [ProofCoder: Continuous Reasoning for Automated Software Verification](https://refivu.com/en/papers/48a440da-6a56-490b-ab75-1e1ff5df8362-proofcoder-continuous-reasoning-for-automated-software.md)
- [Rich feature hierarchies for accurate object detection and semantic segmentation](https://refivu.com/en/papers/0abb1ab7-a65a-475d-b57e-af628d8620f3-rich-feature-hierarchies-for-accurate-object-detection-and.md)

## Terms in this paper

- [stochastic gradient descent](https://refivu.com/en/terms/a49650824022-stochastic-gradient-descent)
- [dropout](https://refivu.com/en/terms/db73f75bbdd3-dropout)
- [speech recognition](https://refivu.com/en/terms/6bb195b2a74a-speech-recognition)
- [ridge regression](https://refivu.com/en/terms/dd2ca0e706c0-ridge-regression)
- [neural network](https://refivu.com/en/terms/b1555e7d34eb-neural-network)
- [TIMIT](https://refivu.com/en/terms/c71be04999c4-timit)
- [Denoising Autoencoders](https://refivu.com/en/terms/e8fd300e4f0f-denoising-autoencoders)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/1dcf1160-e1f3-4806-9dbb-3341eb630515-dropout-a-simple-way-to-prevent-neural-networks)
