NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Gradient Descent Provably Optimizes Over-parameterized Neural Networks

Simon S. Du, Xiyu Zhai, Barnabás Póczos, Aarti Singh

Introduction

One of the most profound mysteries in deep learning is why simple, randomly initialized first-order methods like gradient descent can consistently find a global minimum (zero training loss) in highly non-convex, non-smooth optimization landscapes. In classical optimization, finding a global minimum typically requires the objective function to be convex. Neural networks, particularly those using ReLU activations, violate these conditions.

This paper provides a rigorous mathematical proof demystifying this phenomenon for over-parameterized two-layer ReLU networks. It demonstrates that randomly initialized gradient descent converges to zero training loss at a linear rate, provided the network is sufficiently wide, moving beyond previous theoretical justifications that relied on unrealistic assumptions like Gaussian input distributions or "planted" teacher models.

Theoretical Framework and Methodology

To analyze the dynamics of gradient descent, the authors examine both continuous-time (gradient flow) and discrete-time (standard gradient descent) settings. The core innovation of their approach is shifting the analytical focus from the parameter space (how individual weights change) to the prediction space (how the network's output on the training data evolves).

Central to this analysis is the introduction of a Gram matrix (closely related to the Neural Tangent Kernel). The technical proof relies on three key steps:

  1. Gram Matrix Stability: Demonstrating that at initialization, the Gram matrix has a strictly positive least eigenvalue ($\lambda_0$).
  2. Weight Stability: Proving that in an over-parameterized regime, the network's weights remain remarkably close to their random initializations throughout the entire training process.
  3. Perturbation Analysis: Utilizing matrix perturbation theory to show that because the weights barely move, the Gram matrix remains stable. This ensures that a "convexity-like" property persists, driving convergence until the loss reaches exactly zero.

Key Insights

  • The "Lazy Training" Phenomenon: The most striking insight is that in very wide networks, each individual weight only needs to move a microscopic amount from its random starting point to collectively achieve a global optimum.
  • Linear Convergence: Despite the inherent non-convexity of the neural network landscape, the training error drops exponentially fast (linearly in log-space). This behavior is usually reserved for strongly convex problems.
  • The Role of Width: The mystery of convergence is largely solved by scale. The authors quantify exactly how wide the network needs to be—specifically $m = \Omega(n^6)$ in their proof—to ensure that the "activation patterns" (which ReLU neurons are active or inactive) do not change enough to disrupt convergence.
  • Geometric Condition: The proof requires that no two input vectors are parallel. If inputs are distinct and non-parallel, the Gram matrix is guaranteed to be well-behaved at initialization.

Main Results

The authors formally prove that for a two-layer ReLU network with $m$ hidden nodes and $n$ training points, gradient descent finds a global optimum where the loss $L(W) \leq \epsilon$ in $O(\log(1/\epsilon))$ iterations. This holds true as long as $m$ is polynomial in the number of samples $n$ and the inverse of the smallest eigenvalue of the initial Gram matrix.

While the primary proof focuses on training the first layer, the theory is successfully extended to show that training both layers jointly yields the identical linear convergence rate. To corroborate these theoretical findings, the authors conducted experiments on synthetic data (1,000 data points sampled uniformly from a 1,000-dimensional unit sphere with Gaussian labels). The simulations confirmed that as the number of hidden nodes ($m$) increases, the Gram matrix becomes more stable, and the network converges faster, perfectly matching the theoretical predictions.

Limitations and Future Directions

While groundbreaking, the paper outlines several limitations that pave the way for future research:

  • Polynomial Complexity: The proven polynomial width bound ($n^6$) is significantly larger than what is required in practice. More advanced concentration analysis could likely tighten this bound.
  • Network Depth: The formal proof is restricted to two-layer networks. Extending this rigorous analysis to deep, multi-layer networks is significantly more complex, though the authors provide a sketch and conjecture for this extension.
  • Loss Function: The current analysis is specific to the quadratic (mean squared error) loss function. Extending the proofs to cross-entropy or other classification loss functions remains an open challenge.
  • Generalization: Finally, while this work explains why networks can be trained to zero error, it does not explain why they generalize well to unseen data. However, the "staying close to initialization" property identified here is a crucial stepping stone for future generalization studies.

Summary updated

BibTeX
@inproceedings{du2019gradient,
  author = {Simon S. Du and Xiyu Zhai and Barnabás Póczos and Aarti Singh},
  title = {{Gradient Descent Provably Optimizes Over-parameterized Neural Networks}},
  booktitle = {International Conference on Learning Representations},
  year = {2019},
  url = {https://openreview.net/forum?id=RwVWYPF5s5E},
}
Figure