The learning dynamics of Stochastic Gradient Descent (SGD) are believed to play an important role in influencing the generalization properties of trained models. While the precise dynamics of how online (one-pass) SGD optimizes the population risk are now understood in a broad range of high-dimensional problems, a comparable understanding of multi-pass SGD for empirical risk minimization is still largely lacking.
In this work, we develop an asymptotically exact characterization of the dynamics of multi-pass SGD for a non-convex multi-index model, in the high-dimensional regime where sample size $n$ and data dimension $d$ increase proportionally. We consider any sub-linear batch size $κ\asymp n^α$ with $α\in [0,1)$ and a commensurate ``critical'' scaling of the learning rate, and show that the coordinate-wise dynamics of SGD admit a novel continuous-time scaling limit, given by a system of dynamical mean-field equations that are driven by a scalar Poisson jump process representing the asymptotic limit of SGD sampling noise. This scaling limit connects several previously disparate theories around SGD, namely (i) the classical interpretation of SGD as an approximation to gradient flow on the empirical risk, (ii) the characterization of online SGD via an autonomous ODE in its overlap statistics, and (iii) the coincidence between multi-pass SGD dynamics and diffusion approximations in least-squares problems. We illustrate how these perspectives are recovered by specializing our result to small learning rates, large sample sizes, and linear models, respectively. Outside of these specializations, the scaling limit of SGD is distinct both from diffusion approximations and gradient flow, and may enable SGD to converge to local optima of the non-convex empirical risk with different statistical properties.
Institute of Science and Technology Austria(奥地利科学与技术研究所);Sung Kyun Kwan University(顺天妇女大学);New York University and Flatiron Institute(纽约大学和Flatiron研究所);University of Southern California(南加州大学)
School of Information Science and Technology(信息科学与技术学院);College of Mathematics and Statistics(数学与统计学院);ShanghaiTech University(上海科技大学);Chongqing University(重庆大学)
Emergence of heavy tails in homogenized stochastic gradient descent
School of Mathematics and Statistics, Northwestern Polytechnical University(西北工业大学数学与统计学院);TU Dresden(德累斯顿工业大学);ScaDS.ai Center for scalable data analytics and artificial intelligence(ScaDS.ai可扩展数据分析与人工智能中心)
Rapid Overfitting of Multi-Pass Stochastic Gradient Descent in Stochastic Convex Optimization
Blavatnik School of Computer Science and AI, Tel Aviv University(塔尔塔尔大学Blavatnik计算机科学与人工智能学院);Blavatnik School of Computer Science and AI, Tel Aviv University, Google Research(塔尔塔尔大学Blavatnik计算机科学与人工智能学院,Google研究);School of Electrical & Computer Engineering, Tel Aviv University(塔尔塔尔大学电气与计算机工程学院)
Gradient descent dynamics for deep equilibrium models
Carnegie Mellon University, Department of Statistics(卡内基梅隆大学统计系);Carnegie Mellon University, Department of Statistics and Machine Learning(卡内基梅隆大学统计与机器学习系)
ORFit: One-Pass Learning via Bridging Orthogonal Gradient Descent and Recursive Least-Squares
Laboratory for Information and Decision Systems, Massachusetts Institute of Technology, Cambridge, MA 02139, USA(信息与决策系统实验室,麻省理工学院);Centre for Assured and Connected Autonomy, Cranfield University, Cranfield, Bedfordshire MK43 0AL, UK(保障与连接自主性中心,克兰菲尔德大学)
Approximate Heavy Tails in Offline (Multi-Pass) Stochastic Gradient Descent
Inria Paris(巴黎国立信息与自动化研究所);CNRS(法国国家科学研究中心);Ecole Normale Supérieure(巴黎高等师范学院);PSL Research University(巴黎文理研究大学);CMAP(应用数学中心);Ecole Polytechnique(巴黎综合理工学院);Institut Polytechnique de Paris(巴黎理工学院)
Precise gradient descent training dynamics for finite-width multi-layer neural networks
Department of Statistics, Rutgers University, Piscataway, NJ 08854, USA.(统计学系,罗格斯大学);Graduate School of Arts and Sciences, The University of Tokyo, Meguro, Tokyo 153-8902, Japan. RIKEN Center for Advanced Intelligence Project, Chuo, Tokyo 103-0027, Japan.(艺术与科学研究生院,东京大学)
Bypassing the Exponential Dependency: Looped Transformers Efficiently Learn In-context by Multi-step Gradient Descent
Middle Tennessee State University(中田纳西州立大学);University of New South Wales(新南威尔士大学);The University of Hong Kong(香港大学);University of Wisconsin-Madison(威斯康星大学麦迪逊分校);The Simons Institute for the Theory of Computing at the University of California, Berkeley(加州大学伯克利分校西蒙斯理论计算研究所)
Courant Institute of Mathematical Sciences(数学科学学院);Center for Data Science, New York University(数据科学中心,纽约大学);Department of Computer Science(计算机科学系);Data Science Institute, Columbia University(数据科学学院,哥伦比亚大学)
Learning in the Recurrent State: Gradient Descent with Linear Recurrent Networks
Center for Cognitive Interaction Technology CITEC, Universität Bielefeld, Germany(认知交互技术中心CITEC,比勒菲尔德大学,德国);Department of Electrical and Electronics Engineering, Birla Institute of Technology and Science Pilani, India(电子与电子工程系,比拉理工科学与技术学院比兰,印度);Department of Computer Science, Royal Holloway, University of London, United Kingdom(计算机科学系,伦敦皇家霍洛威大学,英国)
On the Heavy-Tailed Theory of Stochastic Gradient Descent for Deep Neural Networks
Télécom Paris, Institut Polytechnique de Paris(巴黎理工学院巴黎电信学院);University of Oxford(牛津大学);Rutgers Business School(罗格斯商学院);Facebook AI Research(脸书人工智能研究院)
Courant Institute of Mathematical Sciences, New York University(纽约大学库朗数学科学研究所);Center for Data Science, New York University(纽约大学数据科学中心);Center for Computational Mathematics, Flatiron Institute(熨斗研究所计算数学中心)