Complexity control by gradient descent in deep networks

Tomaso Poggio, Qianli Liao, Andrzej BanburskiNature Communications 2020

Abstract

Overparametrized deep networks predict well, despite the lack of an explicit complexity control during training, such as an explicit regularization term. For exponential-type loss functions, we solve this puzzle by showing an effective regularization effect of gradient descent in terms of the normalized weights that are relevant for classification.

Introduction: The Overparametrization Paradox

In classical statistical learning theory, models with a significantly higher number of parameters than training data points are expected to overfit—memorizing training noise at the expense of generalization. However, deep neural networks consistently defy this rule, often performing better as they become increasingly overparametrized. This paper investigates the mathematical mechanism behind this phenomenon, specifically focusing on how gradient descent (GD) acts as an implicit regularizer in the absence of explicit constraints like weight decay.

Methodology: Weight Decomposition and Gradient Dynamics

The researchers analyzed the gradient dynamics of deep networks employing Rectified Linear Unit (ReLU) activations and exponential-type loss functions (e.g., cross-entropy). A key property of these networks is homogeneity: scaling the weights of a layer scales the output proportionally.

To isolate the components relevant to classification, the authors reparametrized the weight matrices $W_k$ into a product of their magnitude $\rho_k$ and their direction (normalized weights $V_k$, where $||V_k|| = 1$). By deriving the evolution equations for these normalized weights under standard, unconstrained GD, they demonstrated that the dynamics of $V_k$ are mathematically equivalent to explicit weight normalization algorithms. This reveals that while raw weights may diverge to infinity, their directions converge to stationary points that maximize the classification margin, similar to the solutions found in Support Vector Machines (SVMs).

Empirical Validation on CIFAR-10

The theoretical findings were validated using the CIFAR-10 dataset. The experiments specifically contrasted the behavior of unnormalized networks against the normalized components that actually drive classification decisions.

Unnormalized loss on CIFAR-10 showing a peak in test error near the interpolation threshold (where the number of training examples is close to the number of parameters).

As shown in the unnormalized case (Figure a), test loss exhibits a characteristic spike when the number of training examples is roughly equal to the number of model parameters (the interpolation threshold). However, when examining the normalized network—which is what determines the final class labels—the behavior is markedly different.

Normalized loss on CIFAR-10 demonstrating stable test performance and the absence of the overfitting spike seen in unnormalized dynamics.

In the normalized network (Figure b), the test loss remains stable and the generalization gap converges toward zero as the number of training examples increases. This supports the core insight that gradient descent implicitly controls the complexity of the directional component of the weights, ensuring robust generalization even in highly overparametrized regimes.

Key Insights and Results

  • Implicit Bias toward Max-Margin: Gradient descent naturally biases the network toward solutions with the largest possible margin between the decision boundary and the data points.
  • Hidden Regularization: The mathematical structure of GD on exponential losses enforces a unit-norm constraint on the dynamics of normalized weights, acting as a "hidden" regularizer.
  • Robustness to Initialization: Unlike linear networks under square loss, these maximum margin solutions are largely independent of initial weight values, making the regularization effect highly robust.

Limitations and Future Work

While this work provides a rigorous explanation for exponential-type losses, the existence of a similar implicit regularization for square loss in networks with more than two layers remains an open question. Additionally, while GD finds a maximum margin solution, deep networks possess many such local minima; determining which specific trajectory leads to the optimal margin maximizer is a subject for future research. Finally, extending these deterministic proofs to the stochastic case (SGD) is a logical next step for the theory.

Summary updated

BibTeX
@inproceedings{poggio2020complexity,
  author = {Tomaso Poggio and Qianli Liao and Andrzej Banburski},
  title = {{Complexity control by gradient descent in deep networks}},
  booktitle = {Nature Communications},
  year = {2020},
  doi = {10.1038/s41467-020-14663-9},
}
Figure