The Dynamics of Gradient Descent for Overparametrized Neural Networks

Siddhartha Satpathi, R. Srikant

Abstract

Modern neural networks are frequently overparametrized, possessing significantly more parameters than training data points. Despite the theoretical potential for these models to overfit or memorize noise, gradient descent (GD) consistently finds solutions that generalize well to unseen data. This paper provides a rigorous theoretical framework using Lyapunov analysis to explain this phenomenon. We demonstrate that in overparametrized single-hidden-layer ReLU networks, gradient descent is implicitly biased toward the minimum-norm solution of the network’s linear approximation. By quantifying the relationship between network width and optimization dynamics, we provide a new perspective on why overparametrization facilitates, rather than hinders, effective learning.

Introduction

A central paradox in deep learning is the success of overparametrized models. Classical statistical theory suggests that models with excessive capacity should suffer from high variance and poor generalization. However, in practice, simple first-order optimization methods like gradient descent lead these models to solutions with remarkable predictive power.

The core of this mystery lies in "implicit bias"—the tendency of an optimization algorithm to favor certain solutions over others among the infinite set of possible global minima. While previous research into the Neural Tangent Kernel (NTK) established that infinitely wide networks behave like linear models, the precise dynamics of finite-width networks and their convergence to "simple" solutions remained mathematically elusive. This research addresses this gap by quantifying how the optimization path of a finite-width network relates to the ideal minimum-norm solution.

Theoretical Framework: Lyapunov Analysis

To track the evolution of weights during training, the authors employ Lyapunov analysis, a technique traditionally used in control theory to study the stability of dynamical systems. The study focuses on a single-hidden-layer ReLU network trained using a squared loss function.

Linearization and Energy Functions

The analysis compares the actual neural network to its first-order Taylor approximation (the linearized model) around the initial weights. To measure the discrepancy between the actual weights and the ideal minimum-norm solution of this linearized model, the authors define two specific Lyapunov (energy) functions:

  1. $V_\perp$: Measures the distance between the current weights and the subspace of solutions.
  2. $V_\parallel$: Measures the movement within the solution subspace.

By analyzing these functions in both continuous time (gradient flow) and discrete time (gradient descent), the authors prove that the weights are "trapped" in a trajectory that stays close to the initialization, effectively preventing the model from wandering into complex, non-generalizing regions of the parameter space.

Key Insights

The Implicit Bias Toward Minimum Norm

The research mathematically confirms that gradient descent does not find an arbitrary solution. Instead, it is biased toward the solution that changes the weights the least from their starting point (the minimum $\ell_2$ norm solution). This "path of least resistance" is what allows the model to maintain the simplicity required for generalization.

The Role of Network Width

The study quantifies how the "closeness" to the linear regime depends on the network width ($m$). The authors show that the distance between the actual GD solution and the ideal minimum-norm solution shrinks as the network grows wider. Specifically, the distance scales at a rate of:

  • $O(m^{-0.25})$ for continuous-time gradient flow.
  • $O(m^{-0.125})$ for discrete-time gradient descent.

This provides a clear mathematical justification for why wider networks often generalize better: they more closely approximate the stable, predictable behavior of the linear regime.

Stability of the Tangent Kernel

A critical component of the proof is demonstrating that the "gradient matrix" (the local geometry of the network) remains relatively stable during training. Because the weights do not move far from their initialization in the overparametrized regime—a phenomenon often called "lazy training"—the initial linear approximation remains valid throughout the entire optimization process.

Results and Validation

While primarily theoretical, the authors validated their findings using a synthetic regression dataset (100 data points in $\mathbb{R}^5$ sampled from a quadratic function). Their experiments confirmed that as the width $m$ increased from 1,000 to 10,000, the distance to the minimum-norm solution consistently decreased.

Furthermore, the authors used these convergence results to derive a simplified proof for generalization bounds. They showed that the generalization error is bounded by a term scaling with $1/\sqrt{n}$ (where $n$ is the number of samples), aligning with state-of-the-art theoretical results while providing a more intuitive dynamical explanation.

Conclusion and Future Directions

This work provides a robust mathematical foundation for the implicit bias of gradient descent in overparametrized networks. By framing optimization as a dynamical system governed by Lyapunov functions, the authors bridge the gap between the theoretical infinite-width limit and practical finite-width networks.

However, several questions remain. The current analysis is limited to single-hidden-layer networks and the "lazy training" regime, where weights stay near initialization. Future research is needed to extend this framework to deep, multi-layer architectures and to account for "feature learning," where weights move significantly to discover complex representations. Additionally, exploring whether similar Lyapunov functions exist for other loss functions, such as cross-entropy, remains a promising avenue for understanding the full scope of deep learning dynamics.

Summary updated

BibTeX
@inproceedings{satpathi2021dynamics,
  author = {Siddhartha Satpathi and R. Srikant},
  title = {{The Dynamics of Gradient Descent for Overparametrized Neural Networks}},
  booktitle = {L4DC},
  year = {2021},
}
Figure