On Dropout and Nuclear Norm Regularization

Poorya Mianjy, Raman Arora

Summary This paper provides a rigorous mathematical explanation for why dropout helps deep linear networks generalize. The authors prove that dropout acts as an implicit regularizer equivalent to the squared nuclear norm of the network's overall transformation. This effectively forces the model to learn low-rank representations through spectral shrinkage.

The Mystery of Dropout in Deep Networks

Despite its ubiquitous use in training deep neural networks, the theoretical "why" behind dropout has remained somewhat mysterious. We know it prevents the "co-adaptation" of neurons, but how does that translate into a formal mathematical objective?

Previous research successfully characterized dropout's behavior in simple matrix factorization and shallow (one-hidden-layer) networks. However, extending these insights to deep networks is challenging because the optimization landscape becomes non-convex and the interactions between multiple layers are complex. This paper fills that gap by analyzing multi-layer feedforward networks with linear activations, seeking to understand the "implicit bias" that dropout imposes on the learning process.

Unpacking the Math: Paths and Regularizers

The authors employ a mix of convex analysis and optimization theory to dissect the dropout objective.

Deep linear network illustrating paths from input to output
  • Explicit Regularizer Derivation: They derive a closed-form expression for the "variance" term that dropout adds to the standard squared loss. They show this term is composed of the $\ell_2$-path regularizer (the sum of squares of products of weights along all paths from input to output) plus other rescaling-invariant terms.
  • Induced Regularizer & Convex Envelopes: They define an "induced regularizer"—the minimum possible penalty for a given linear map—and prove that its convex envelope (the best convex approximation) is proportional to the squared nuclear norm ($\|M\|_*^2$).
  • Equalization: They introduce the concept of an "equalized network," where the nuclear norm penalty is distributed equally across all possible paths in the network.

Key Insights: Spectral Shrinkage and Rank Control

The theoretical findings translate into several practical insights about how networks learn under dropout:

  • Dropout as Spectral Shrinkage: One of the most significant findings is that dropout doesn't just decay weights uniformly (like standard $\ell_2$ regularization or weight decay). Instead, it performs singular value thresholding. It identifies the principal components of the data and selectively shrinks or zeros out the less important singular values.
  • The Power of Depth: The "effective regularization parameter" increases with the depth of the network and the dropout rate, but decreases as the layers get wider. This provides a formal lever to understand the trade-off between architecture and regularization.
  • Equalization is Natural: The authors show that while the dropout objective is non-convex, stochastic gradient descent (SGD) naturally pushes the network toward an "equalized" state during training. In this state, the network's behavior matches its convex envelope, explaining why we can often find global minima despite the theoretical complexity.
Singular values of the learned network map under varying dropout keep probabilities

Empirical results on synthetic datasets clearly demonstrate this rank control. As the dropout rate increases (lower keep probability $\theta$), the resulting network map has a lower rank, and the singular values are pushed toward zero in a non-uniform way, perfectly aligning with the theoretical predictions of nuclear norm regularization.

Limitations and Future Directions

  • Linearity Constraint: The most significant limitation is that the study focuses on linear networks. While this is a standard stepping stone in deep learning theory, real-world networks use non-linearities (like ReLU). Extending this framework to non-linear activations is a crucial next step.
  • Loss Functions: The analysis is specific to squared loss (regression). The behavior of dropout under cross-entropy loss (typical for classification) may involve different implicit biases.
  • Generalization Bounds: While the paper connects dropout to the nuclear norm, it doesn't provide new generalization error bounds directly, but rather equips the community with the tools to derive them based on well-known nuclear norm properties.

Summary updated

BibTeX
@inproceedings{mianjy2019dropout,
  author = {Poorya Mianjy and Raman Arora},
  title = {{On Dropout and Nuclear Norm Regularization}},
  booktitle = {International Conference on Machine Learning},
  year = {2019},
  url = {https://openreview.net/forum?id=HJW5RqZOWH},
}
Figure