Paper commentary
Improving neural networks by preventing co-adaptation of feature detectors
- Problem Large networks trained on little labeled data fit the training set but generalize poorly, because their hidden units become tuned to one another on the training cases.
- Method During training each hidden unit is omitted with probability 0.5 on each presentation of a training case, incoming weights are capped per unit, and at test time one network with halved outgoing weights replaces an average over many networks.
- Results Reached 92 test errors on MNIST when a pre-trained deep belief net was fine-tuned with 50% dropout, against 118 errors with standard back-propagation.
Why co-adapted feature detectors overfit
A network with enough hidden units to model a complicated input-output relation can usually fit a small labeled training set almost perfectly, yet its predictions on held-out data tend to be worse than its predictions on the training data. Many different weight settings can reproduce the training labels nearly perfectly, and each of them makes different predictions on unseen cases.
Most of these settings do worse on new cases than on the training cases, since the units end up calibrated to one another on the training data.
Dropout addresses this by discouraging mutual dependence during training. On each presentation of a training case, each hidden unit is dropped with probability 0.5, so a unit has to be useful without any particular companion present. The authors aim for each unit to learn a feature that helps across many random contexts, rather than one that works only alongside a specific set of other features.
How the dropout training loop differs
Training still uses stochastic gradient descent on mini-batches of training cases. Because the dropped units change on every presentation, nearly every training case is seen by a different sub-network, and all of these sub-networks share the weights of the units they contain.
The weight penalty is changed as well. Rather than adding a penalty on the squared L2 norm of all weights together, the method caps the L2 norm of the incoming weights of each hidden unit separately. When an update breaks the cap, that unit's weights are rescaled by division to meet it. The authors note that a constraint of this kind bounds the weights whatever the size of the proposed update, which lets training begin with a large learning rate that decays over time.
They argue that this permits a broader search of weight space than schemes that start from small weights and use a small learning rate.
Test-time mean network
Averaging the predictions of many separately trained networks reduces test error, but it costs time during both training and testing. Dropout trains a very large set of networks that share hidden-unit weights, and at test time one network stands in for their average. This mean network keeps every hidden unit and halves the outgoing weights, because twice as many units are active than during training.
The authors report that in practice this gives performance very similar to averaging over a large number of dropout networks.
For a single hidden layer of N units with a softmax output, the authors state an exact relation: the mean network equals the geometric mean of the label distributions predicted by all 2N possible networks.
MNIST results
MNIST has 60,000 training images and 10,000 test images of 28x28 handwritten digits. Without transformed training data, convolution or pre-training, the best published result for a standard feedforward network that the authors cite is 160 test errors.
Adding 50% dropout with separate L2 constraints on each hidden unit's incoming weights brings the count to about 130 errors. Dropping a random 20% of the pixels as well brings it to about 110 errors. Figure 1 shows these settings across several architectures.
Dropout can also be combined with generative pre-training. In that case the authors use a small learning rate and no weight constraints, so the pre-trained feature detectors are not lost. The publicly available pre-trained deep belief net gave 118 test errors with standard back-propagation fine-tuning and 92 test errors with 50% dropout of the hidden units.
The authors also unrolled five pre-trained deep Boltzmann machines into networks. Standard back-propagation fine-tuning gave 103, 97, 94, 93 and 88 errors, while 50% dropout gave 83, 79, 78, 78 and 77 errors. The mean of the dropout runs is 79 errors, which the authors call a record for methods that use no prior knowledge or enhanced training sets.
TIMIT speech recognition
TIMIT is a benchmark for recognition of clean speech. Speech systems use hidden Markov models to handle temporal variability, and the acoustic model scores how well a frame fits each HMM state.
Figure 2 compares standard and dropout fine-tuning across architectures. Dropout of 50% of the hidden units improves classification for a variety of network architectures. The caption also includes 20% dropout on the input units in its dropout setting.
Without dropout the recognition rate is 22.7%, and with dropout it is 19.7%.
CIFAR-10 and ImageNet results
CIFAR-10 contains 32x32 downsampled color images in 10 object classes, with 50,000 training images and 10,000 test images. Without transformed data, the best published test error that the authors cite is 18.5%.
The authors' convolutional network has three convolutional hidden layers, interleaved with max-pooling layers, followed by one locally-connected layer. It reached 16.6% error, and adding dropout in the last hidden layer gave 15.6%.
A single network with five convolutional hidden layers, interleaved with max-pooling layers, then two globally connected layers and a final 1000-way softmax reached 48.6% error. The authors describe this as comparable performance, and all layers had L2 weight constraints on their incoming weights. Adding 50% dropout in the sixth hidden layer lowered the error to 42.4%, which the authors call a record.
Reuters document classification
The Reuters dataset has documents labeled with a hierarchy of classes. The authors built training and test sets of 201,369 documents each, drawn from 50 mutually exclusive classes.
A feedforward network with two fully connected layers of 2000 hidden units, trained with back-propagation, gets 31.05% error on the test set. With 50% dropout the error falls to 29.62%.
Choosing dropout probabilities
The authors report trying various dropout probabilities, and almost all of them improved generalization. The text gives no numbers for these comparisons.
For the inputs, the authors note that retaining more than 50% of the units is often better. They also suggest adapting each unit's dropout probability by comparing validation performance with and without that unit, and report that this works slightly better.
Relation to Bayesian averaging and bagging
The authors describe dropout as considerably simpler to implement than that approach.
With dropout at 0.5, all models are assumed to eventually receive equal importance in the combination, while the shared weights are learned with that combination in mind. Because dropout decisions are independent across units, the combined predictions of exponentially many dropout networks can be approximated in a single pass through the mean network.
Bagging trains each model on random selections of cases and gives all models equal weight. Decision trees are its usual partner because they are quick to fit and quick at test time.
The authors also compare dropout to naive Bayes, in which each input feature is trained alone and the feature predictions are multiplied at test time. They say this often works better than logistic classification when training data is scarce. The authors offer this as an interpretation of the similarity, and the paper does not test it.
Limits of the reported evidence
The architectures for the speech and both object recognition tasks were chosen on a held-out validation set, and the architecture that performed best with dropout there was then assessed on the test set. Test results on those tasks therefore depend on that selection step, and the text does not report how the alternative architectures compared on test data.
The TIMIT results are printed as recognition rates in the text, while the Figure 2 caption calls the quantity a frame classification error rate. The 22.7% and 19.7% values should be read with that caption in mind.
Several comparison figures are published results from other work, such as the 18.5% CIFAR-10 error and the 45.7% ImageNet result, rather than runs reported in the paper.
The learned, input-dependent dropout probabilities are proposed as an extension, and no results for them are given.
Paper info
- Authors
- Geoffrey E. Hinton, Nitish Srivastava, Alex Krizhevsky, Ilya Sutskever, Ruslan R. Salakhutdinov
- Venue
- arXiv · Preprint
- First published
- 2012-7-3
- Added
- 2026-10-20
- Updated
- 2012-7-3
- Version
- v1
- arXiv
- 1207.0580
- Category
- cs.NE · cs.CV · cs.LG
- Original paper terms
- arXiv non-exclusive 1.0
- What we show
- Paper info and commentary
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
Geoffrey E. Hinton, Nitish Srivastava, Alex Krizhevsky, Ilya Sutskever, Ruslan R. Salakhutdinov (2012). Improving neural networks by preventing co-adaptation of feature detectors. arXiv:1207.0580v1. https://arxiv.org/abs/1207.0580v1
BibTeX
@misc{hinton2012improving,
title = {{Improving neural networks by preventing co-adaptation of feature detectors}},
author = {Geoffrey E. Hinton and Nitish Srivastava and Alex Krizhevsky and Ilya Sutskever and Ruslan R. Salakhutdinov},
year = {2012},
eprint = {1207.0580},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1207.0580v1}
}