TL;DR
Dropout is widely understood as an efficient way to train an exponential ensemble of neural networks that share parameters. This paper empirically validates that the standard test-time "weight-scaling trick" is a remarkably accurate approximation of the true geometric mean of these sub-networks in piecewise linear (ReLU) networks. Furthermore, it demonstrates that weight sharing—rather than just noise injection—is the critical mechanism driving dropout's regularization benefits.
What Problem Does This Paper Address?
When training a neural network with dropout, every random mask creates a different "sub-network." Effectively, dropout trains an ensemble of $2^N$ networks (where $N$ is the number of units) with shared parameters. At test time, ideally, we would average the predictions of all $2^N$ networks. Because doing this explicitly is computationally impossible, practitioners use a shortcut: they scale the weights down by the dropout probability (e.g., multiplying by 0.5).
While this "weight-scaling trick" computes the exact geometric mean for simple single-layer linear or softmax models, it is mathematically only an approximation for deep networks with non-linearities like Rectified Linear Units (ReLUs). This paper addresses several fundamental questions:
- How accurate is the weight-scaling approximation in deep, piecewise linear networks?
- Does the choice of a geometric mean over the traditionally popular arithmetic mean actually matter for classification performance?
- Is dropout's success driven by the model-averaging effect of its massive shared-parameter ensemble, or is it simply due to the robustness gained from adding noise during training?
Methods
To answer these questions without relying on noisy approximations, the authors designed experiments where exact computations were tractable:
- Exact Enumeration: The authors trained small networks (2 hidden layers, 10 units each) so they could exhaustively evaluate all $2^{20}$ (approx. 1 million) possible dropout masks at test time. This allowed them to compute the true geometric and arithmetic means of the ensemble and compare them directly to the weight-scaling shortcut.
- Untied Weights Ensemble: To isolate the effect of parameter sharing, they trained an ensemble of 360 independent networks. Each network had a single, randomly sampled dropout mask fixed in place throughout the entirety of training (no weight sharing).
- Dropout Boosting: The authors introduced a novel training objective called "dropout boosting." Instead of optimizing each sub-network independently (like bagging), this objective optimizes the global ensemble likelihood by accounting for the contributions of other sub-networks, mimicking a boosting framework. This allowed them to test whether identical masking noise under a different ensemble paradigm yields the same benefits.
Datasets
The authors evaluated their methods on several benchmarks:
- MNIST Binary Sub-tasks: Four distinct pairs of handwritten digits (1 vs. 7, 1 vs. 8, 0 vs. 8, and 2 vs. 3).
- CoverType Binary Sub-tasks: Two non-image classification tasks from the UCI Machine Learning Repository (predicting forest cover types: Spruce-Fir vs. Lodgepole Pine, and Ponderosa Pine vs. Cottonwood/Willow).
- Diamond Task: A synthetic, moderately challenging 2D dataset created by the authors where the domain is split into equal-area regions.
- Full MNIST: Used for the larger capacity experiments involving untied weights and dropout boosting.
Key Insights and Ideas
- The Weight-Scaling Shortcut is Surprisingly Robust: Even though deep ReLU networks violate the mathematical assumptions required for the weight-scaling trick to be exact, it serves as an incredibly accurate surrogate for the true geometric mean in practice.
- Geometric vs. Arithmetic Mean is a Wash: In traditional ensemble learning, the arithmetic mean is standard. Dropout forces a geometric mean. The authors found that both averaging methods yield nearly identical classification performance, meaning the geometric mean is a perfectly acceptable proxy.
- Weight Sharing is Essential: Training independent networks with fixed masks (no weight sharing) performs significantly worse than standard dropout. The coordination forced by sharing parameters across an exponential number of architectures provides a unique and powerful regularization effect.
- Dropout is More Than Just Noise: Simply injecting masking noise is not enough. When the same noise distribution is optimized via a boosting-like objective rather than dropout's bagging-like objective, the regularization benefits vanish.
Key Results
- Approximation Fidelity: Across all seven small-scale tasks, a Wilcoxon signed-rank test showed no statistically significant difference in test error between the weight-scaling approximation and the true, exhaustively computed geometric mean (see Figure 1).
- Averaging Discrepancy: The absolute difference in test error between the exact geometric mean and the exact arithmetic mean never exceeded 0.75% on any task.
- The Power of Tying Weights: On the full MNIST dataset, an ensemble of 360 untied-weight, fixed-mask networks resulted in a test error of 1.66%. In contrast, a single network of identical size trained with standard dropout (and weight sharing) achieved a vastly superior test error of 1.06%.
- Failure of Boosting: Networks trained with "dropout boosting" performed no better on average than standard stochastic gradient descent (SGD) without any noise, proving that the ensemble training mechanism (bagging vs. boosting) matters immensely.
Limitations and Future Work
The primary limitation of this study is scale. To compute the exact geometric and arithmetic means, the authors had to restrict their networks to a tiny size (10 units per layer). While the results strongly imply these insights hold for larger networks, exact verification remains impossible for practical architectures.
For future work, the authors highlight that the relative importance of dropout's astronomically large ensemble size versus its ability to prevent the co-adaptation of hidden units ("mixability") remains an open question. They also suggest exploring efficient ways to approximate averages over entirely different classes of models that share parameters.
Summary updated