Training a neural network often feels like a chaotic process. Millions of parameters are updated by noisy gradients calculated from random batches of data. Yet, despite this microscopic randomness, the macroscopic behavior of the network—its loss curve and generalization error—is remarkably smooth and predictable.
A growing body of research shows that in the "high-dimensional limit," where the number of parameters and the size of the data grow together, the stochasticity of training vanishes. In its place, we find a system of deterministic differential equations that describe the evolution of the model with mathematical precision.
From Weights to Order Parameters
In a typical network, we might track millions of individual weights. However, to understand the learning process, we don't actually care about the value of the 452nd weight in the 3rd layer. We care about how well the network's internal representations align with the underlying patterns in the data.
Researchers like Sebastian Goldt, Andrew M Saxe, and Lenka Zdeborova have shown that we can reduce the complexity of the system by focusing on order parameters. These are summary statistics, such as the "overlap" (correlation) between the weights of a "student" network and the "teacher" function it is trying to learn.
In Dynamics of stochastic gradient descent for two-layer neural networks in the teacher-student setup, the authors demonstrate that as the input dimension $d$ becomes very large, the discrete steps of Stochastic Gradient Descent (SGD) converge to a system of coupled Ordinary Differential Equations (ODEs). These equations track how these overlaps evolve over time, allowing us to predict the exact trajectory of the generalization error without ever running a single training iteration.
The Deterministic Limit of Noise
The intuition behind this "ODE limit" is a form of the Law of Large Numbers. While the gradient from a single data point is noisy, the sum of gradients across a high-dimensional space tends to concentrate around its mean.
Aukosh Jagannath and Reza Gheissari prove in Universality of high-dimensional scaling limits of stochastic gradient descent that this macroscopic path is "universal." This means the broad trajectory of learning depends mostly on the first few moments (mean and variance) of the data distribution, rather than the specific quirks of the dataset.
This framework has been extended to explain why neural networks learn in "fits and starts." In Learning time-scales in two-layers neural networks, Raphaël Berthier and Kangjie Zhou use these ODEs to show that learning happens across distinct timescales. The network sequentially "unlocks" different levels of complexity in the target function, explaining the long plateaus often seen in training curves.
Explaining Optimization "Tricks"
This high-dimensional lens provides a rigorous way to evaluate common empirical "tricks" that practitioners use to stabilize training.
- Gradient Clipping: Noah Marshall and Elliot Paquette analyzed the dynamics of clipped SGD in To Clip or not to Clip. They found that while clipping is unnecessary for standard Gaussian noise, it is mathematically essential for handling heavy-tailed noise, effectively "filtering" the updates to keep the dynamics on a stable path.
- Sign-based Optimizers: In Exact risk curves of signSGD in High-Dimensions, Ke Liang Xiao and Atish Agarwala used ODEs to quantify how signSGD performs "noise compression" and "diagonal preconditioning," explaining why it can outperform standard SGD in specific high-dimensional regimes.
- Momentum: Stefano Sarao Mannelli and Pierfrancesco Urbani used Dynamical Mean Field Theory (DMFT) in Just a Momentum to show that while momentum speeds up the journey through the landscape, it doesn't actually change the "algorithmic threshold"—the point at which the signal becomes detectable.
The Gaussian Universality Principle
One of the most surprising findings in this field is that these theoretical models, often derived assuming simple Gaussian data, work remarkably well on complex, real-world data.
Hawoong Jeong and Jaeyong Bae explore this in Gaussian Universality in Neural Network Dynamics. They argue that as long as the input data is properly standardized and correlations are not excessively strong, the internal signals of a deep network effectively "Gaussianize." This allows the deterministic ODEs derived for simple models to accurately predict the training of complex architectures on structured datasets.
Why It Works: The Low-Dimensional Manifold
Ultimately, these high-dimensional limits work because training doesn't actually happen in the full million-dimensional space. Gerard Ben Arous proved in High-dimensional SGD aligns with emerging outlier eigenspaces that SGD rapidly aligns itself with a tiny, low-dimensional subspace of the most important directions (the "outlier eigenspaces").
By focusing on the dynamics within this subspace, researchers can turn the "black box" of neural network training into a "glass box" of predictable, solvable equations. This shift from tracking individual weights to tracking macroscopic dynamics is transforming deep learning from an empirical craft into a precise branch of statistical mechanics.