Dropout Training as Adaptive Regularization

Stefan Wager, Sida I. Wang, Percy Liang

Introduction

Dropout is widely known as a clever heuristic to prevent neural networks from overfitting by randomly "dropping" features during training. However, for Generalized Linear Models (GLMs)—a broad class of models including logistic and Poisson regression—dropout is mathematically equivalent to a form of adaptive $L_2$ regularization. By viewing dropout through this rigorous mathematical lens, researchers have shown that it naturally favors rare but discriminative features. Furthermore, this perspective allows dropout to be extended into a powerful semi-supervised learning tool that leverages unlabeled data to "shape" the regularizer.

The Theoretical Gap

When training machine learning models in high-dimensional settings like text classification, models tend to memorize the training data instead of learning generalizable patterns. Dropout was introduced to combat this by preventing complex co-adaptations among features. Despite its empirical success, the theoretical "why" behind dropout was initially murky. This paper bridges that gap by analyzing dropout as a formal regularization scheme, specifically targeting GLMs to provide a solid mathematical foundation for how dropout modifies the learning objective.

Methods: Dropout as Feature Noising

The authors frame dropout as a form of artificial feature noising. Instead of training on the original data, the model trains on data corrupted by noise, effectively averaging out that noise over time.

  1. The Noising Penalty: They derive a penalty term, $R(\beta)$, representing the expected cost of the noise. Crucially, for GLMs, this penalty is label-independent—it depends only on the features ($x$), not the targets ($y$).
  2. Quadratic Approximation: To make the optimization tractable, the authors use a second-order Taylor expansion to create a "quadratic noising regularizer."
Comparison of the exact dropout penalty and its quadratic approximation during training.
  1. The Fisher Connection: The analysis demonstrates that dropout is first-order equivalent to applying standard $L_2$ regularization after scaling the features by the inverse diagonal of the Fisher information matrix. Essentially, dropout "spheres" the objective function, making it easier to optimize.
  2. Semi-Supervised Learning: Because the dropout penalty doesn't require labels, large amounts of unlabeled data can be used to estimate a more accurate regularizer. This refined regularizer is then applied when training the model on a smaller labeled dataset.

Key Insights

  • Dropout Loves Rare Features: Standard $L_2$ regularization penalizes all large weights equally. Dropout is smarter: it only penalizes a feature's weight when that feature is actually present in a sample. This allows the model to assign high weights to rare, highly informative words (like "exhilarating" in a movie review) that standard regularization might otherwise suppress.
  • The AdaGrad Link: There is a deep connection between dropout and AdaGrad, a popular optimization algorithm. AdaGrad essentially operates by repeatedly solving "linearized dropout-regularized" problems, suggesting that both methods fundamentally aim to balance feature scales.
  • Regularization via Unlabeled Data: Usually, semi-supervised learning involves complex generative models. Here, unlabeled data is simply used to get a better estimate of the feature distribution, creating a superior dropout regularizer for the supervised task.

Empirical Results

The paper evaluates these theoretical insights on several document classification benchmarks, including IMDB Reviews, 20 Newsgroups, and other text sets.

  • State-of-the-Art on IMDB: By using 50,000 unlabeled reviews to tune the dropout regularizer, the authors achieved 91.98% accuracy on the IMDB dataset, surpassing the previous state-of-the-art.
  • Consistent Boosts: In every document classification task tested, adding unlabeled data to the dropout regularizer consistently improved performance over standard dropout and standard logistic regression.
Accuracy comparison showing the superiority of dropout combined with unlabeled data over standard dropout and L2 regularization as labeled data size increases.
  • Simulation Success: In a custom simulation designed to test how models handle rare but highly useful features, dropout training achieved 73% accuracy on active instances, significantly outperforming $L_2$ regularization at 66%.

Limitations and Future Work

While the insights are profound, the mathematical proofs are specific to GLMs. Dropout originated in deep neural networks, and the specific "adaptive regularization" form derived here might look different in multi-layer architectures. Additionally, the quadratic approximation of the penalty is highly accurate but can deviate when the model becomes "too confident" (predicting probabilities very close to 0 or 1). Future directions include exploring whether this "dropout-as-regularization" approach can derive new, more tractable regularizers for deep learning that avoid the computational overhead of actual random sampling.

Summary updated

BibTeX
@inproceedings{wager2013dropout,
  author = {Stefan Wager and Sida I. Wang and Percy Liang},
  title = {{Dropout Training as Adaptive Regularization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2013},
  url = {https://openreview.net/forum?id=S1WkvObuZB},
}
Figure