Gradient Span Algorithms Make Predictable Progress in High Dimension

Felix Benning, Leif Döring · DOI

Abstract

This paper provides a mathematical foundation for the empirical observation that training runs of large-scale machine learning models produce nearly identical loss curves despite random initialization. By modeling high-dimensional loss landscapes as Gaussian Random Fields (GRFs), the authors prove that first-order optimizers follow an asymptotically deterministic path as the number of parameters $N$ tends toward infinity.

Introduction

In low-dimensional optimization, initialization is critical; starting at different points on a bumpy 2D surface typically leads to different local minima and distinct cost trajectories. However, in modern deep learning—where models possess millions or billions of parameters—practitioners observe "predictable progress." Regardless of the random seed, the loss curve (cost vs. step) remains remarkably consistent. This research seeks to explain why the randomness of initialization and the landscape itself effectively disappear in high dimensions.

Empirical validation of predictable progress on MNIST. Multiple training runs with different initializations (thin lines) yield nearly identical loss trajectories (thick lines) for various optimizers.

Methods

The authors utilize high-dimensional probability theory and the geometry of Gaussian processes to establish their results. The framework relies on several key components:

  • Gradient Span Algorithms (GSA): The study defines a broad class of optimizers where the next parameter vector $x_n$ is chosen from the span of the initial point and all previous gradients. This includes Gradient Descent, Momentum, Nesterov’s Accelerated Gradient, and Conjugate Gradient methods.
  • Non-stationary Isotropic GRFs: The loss landscape is modeled as a Gaussian Random Field. The "non-stationary" property allows the model to encompass realistic scenarios like random quadratic functions and spin glasses.
  • Dimensional Scaling: To ensure gradient norms remain stable as the dimension grows, the covariance of the random function is scaled by $1/N$. This aligns with the behavior of Lipschitz functions used in practice.
  • Inductive Proof via Gram-Schmidt: The proof employs an inductive argument, constructing an orthonormal coordinate system at each step to track the information gathered by the optimizer. It demonstrates that the "chaos" of high-dimensional components averages out due to the Law of Large Numbers.

Key Insights and Results

The core finding is the "blessing" of high dimensionality: while high dimensions often imply sparsity (the "curse"), they also provide concentration. The sheer number of directions allows local variations in the landscape to average out into a deterministic global trend.

Main Theorem

Theorem 2.12 proves that for a GSA running on a scaled isotropic GRF, the sequence of function values $f_N(X_n)$ converges in probability to a deterministic sequence $f_n$ as $N \to \infty$. A direct corollary is that the difference between the loss values of two independent training runs (with different initializations) vanishes in the high-dimensional limit.

Empirical Validation

To motivate the theory, the authors trained a standard convolutional neural network (approx. 2.3 million parameters) on MNIST. Across 10 different random initializations, the cost curves for Adam and Gradient Descent were nearly indistinguishable, confirming the predictable progress phenomenon. Interestingly, while Adam is shown empirically to follow this trend, it remains a challenge for the current theoretical framework due to its coordinate-wise learning rates.

Discussion and Limitations

While the theory provides a robust explanation for deterministic training curves, several challenges remain for future work:

  • The Gaussian Assumption: Real-world loss landscapes may not be perfectly Gaussian. Extending these results to non-Gaussian distributions via universality principles is a key next step.
  • Stochastic Gradient Descent (SGD): The current proof assumes full gradients. Incorporating the noise introduced by mini-batching would significantly increase complexity.
  • Component-wise Learning Rates: Optimizers like Adam use coordinate-specific learning rates. Because these are not "dimension-free," they are currently difficult to integrate into the GSA framework.
  • Symmetry Breaking: Structural symmetries in neural networks (e.g., permutation invariance) might violate the strict isotropy assumption required for the current proof.

Summary updated

BibTeX
@misc{benning2024gradient,
  author = {Felix Benning and Leif Döring},
  title = {{Gradient Span Algorithms Make Predictable Progress in High Dimension}},
  year = {2024},
  eprint = {2410.09973},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.09973},
}
Figure