High-dimensional limit theorems for SGD: Effective dynamics and critical scaling
Preprint
Abstract
We study the scaling limits of stochastic gradient descent (SGD) with constant step-size in the high-dimensional regime. We prove limit theorems for the trajectories of summary statistics (i.e., finite-dimensional functions) of SGD as the dimension goes to infinity. Our approach allows one to choose the summary statistics that are tracked, the initialization, and the step-size. It yields both ballistic (ODE) and diffusive (SDE) limits, with the limit depending dramatically on the former choices. We show a critical scaling regime for the step-size, below which the effective ballistic dynamics matches gradient flow for the population loss, but at which, a new correction term appears which changes the phase diagram. About the fixed points of this effective dynamics, the corresponding diffusive limits can be quite complex and even degenerate. We demonstrate our approach on popular examples including estimation for spiked matrix and tensor models and classification via two-layer networks for binary and XOR-type Gaussian mixture models. These examples exhibit surprising phenomena including multimodal timescales to convergence as well as convergence to sub-optimal solutions with probability bounded away from zero from random (e.g., Gaussian) initializations. At the same time, we demonstrate the benefit of overparametrization by showing that the latter probability goes to zero as the second layer width grows.Keywords
All Related Versions
This publication has 13 references indexed in Scilit:
- Phase diagram of stochastic gradient descent in high-dimensional two-layer neural networks *Journal of Statistical Mechanics: Theory and Experiment, 2023
- High-dimensional asymptotics of Langevin dynamics in spiked matrix modelsInformation and Inference: A Journal of the IMA, 2023
- Marvels and Pitfalls of the Langevin Algorithm in Noisy High-Dimensional InferencePhysical Review X, 2020
- Bounding Flows for Spherical Spin Glass DynamicsCommunications in Mathematical Physics, 2019
- A mean field view of the landscape of two-layer neural networksProceedings of the National Academy of Sciences of the United States of America, 2018
- Ordinary Differential Equations and Dynamical Systems2012
- On-line Learning and Stochastic Approximations1999
- On-line learning in soft committee machinesPhysical Review E, 1995
- Analytical solution of the off-equilibrium dynamics of a long-range spin-glass modelPhysical Review Letters, 1993
- Analysis of recursive stochastic algorithmsIEEE Transactions on Automatic Control, 1977