[Paper Review] Phase diagram of Stochastic Gradient Descent in high-dimensional two-layer neural networks
This paper establishes a phase diagram for stochastic gradient descent (SGD) in high-dimensional two-layer neural networks by rigorously deriving deterministic ODEs that describe SGD dynamics under general scaling of learning rate, hidden width, and input dimension. It reveals distinct learning regimes—perfect learning, imperfect learning, and no learning—depending on the interplay between scaling exponents, resolving a long-standing gap between mean-field and classical statistical physics approaches to overparametrized and narrow networks.
Despite the non-convex optimization landscape, over-parametrized shallow networks are able to achieve global convergence under gradient descent. The picture can be radically different for narrow networks, which tend to get stuck in badly-generalizing local minima. Here we investigate the cross-over between these two regimes in the high-dimensional setting, and in particular investigate the connection between the so-called mean-field/hydrodynamic regime and the seminal approach of Saad & Solla. Focusing on the case of Gaussian data, we study the interplay between the learning rate, the time scale, and the number of hidden units in the high-dimensional dynamics of stochastic gradient descent (SGD). Our work builds on a deterministic description of SGD in high-dimensions from statistical physics, which we extend and for which we provide rigorous convergence rates.
Motivation & Objective
- To bridge the theoretical gap between mean-field/hydrodynamic SGD analysis and the classical Saad & Solla framework for narrow, high-dimensional networks.
- To rigorously extend the deterministic ODE approximation of SGD dynamics beyond the original scaling regime, allowing general learning rate and width scaling with input dimension.
- To characterize the full spectrum of learning performance in high-dimensional settings, including perfect learning, residual error, and failure to learn.
- To provide non-asymptotic convergence guarantees for the ODE approximation, enabling precise analysis of learning dynamics.
- To establish a phase diagram that classifies learning outcomes based on the scaling exponents of learning rate and hidden unit count relative to input dimension.
Proposed method
- Derives a set of deterministic ODEs that describe the time evolution of network weights in high-dimensional settings using statistical physics methods.
- Extends the convergence proof of prior work to general scaling of learning rate (γ ∝ d⁻ᵟ) and hidden width (p ∝ dᵏ), beyond the original 1/d scaling.
- Introduces a time scaling parameter ϑ = κ + δ to unify and generalize the dynamics across different regimes.
- Uses a teacher-student framework with Gaussian data and orthonormal teacher weights to define the learning task and population risk.
- Employs a self-averaging approximation to replace stochastic gradients with their expectation, leading to a closed-form ODE system in terms of correlation matrices (Q, M, P).
- Validates the ODEs against numerical simulations across different scaling regimes, showing excellent agreement in all regions of the phase diagram.
Experimental results
Research questions
- RQ1How does the interplay between learning rate scaling, hidden width, and input dimension affect the convergence and generalization of SGD in two-layer networks?
- RQ2Can the classical ODE framework of Saad & Solla be extended to general scaling regimes beyond 1/d learning rate and fixed width?
- RQ3What are the distinct learning regimes—perfect, imperfect, or no learning—that emerge in the high-dimensional limit, and what determines their boundaries?
- RQ4How does the choice of initial conditions affect the specialization dynamics, and does the phase diagram depend on this choice?
- RQ5Can non-asymptotic convergence guarantees be established for the ODE approximation of SGD in this setting?
Key findings
- The phase diagram is fully determined by the sum of scaling exponents κ + δ, where κ governs hidden width scaling (p ∝ dᵏ) and δ governs learning rate scaling (γ ∝ d⁻ᵟ).
- Perfect learning occurs when κ + δ > 0, corresponding to a power-law decay of excess error to zero.
- When κ + δ = 0, the system reaches a plateau with a constant, non-zero excess error, corresponding to the classical Saad & Solla scaling.
- For −1/2 < κ + δ < 0, the system exhibits imperfect learning with a residual error that does not vanish, even in the long-time limit.
- When κ + δ < −1/2, the ODE description breaks down, and no deterministic dynamics can be derived, indicating a regime where SGD fails to converge to any meaningful solution.
- Numerical simulations confirm the ODE predictions across all regimes, with excellent agreement in both dynamics and final performance, even under unconstrained Gaussian initialization.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.