What Happens after SGD Reaches Zero Loss? --A Mathematical Framework
Zhiyuan Li, Tianhao Wang, Sanjeev Arora
Abstract
Understanding the implicit bias of Stochastic Gradient Descent (SGD) is one of the key challenges in deep learning, especially for overparametrized models, where the local minimizers of the loss function can form a manifold. Intuitively, with a sufficiently small learning rate , SGD tracks Gradient Descent (GD) until it gets close to such manifold, where the gradient noise prevents further convergence. In such a regime, Blanc et al. (2020) proved that SGD with label noise locally decreases a regularizer-like term, the sharpness of loss, . The current paper gives a general framework for such analysis by adapting ideas from Katzenberger (1991). It allows in principle a complete characterization for the regularization effect of SGD around such manifold -- i.e., the"implicit bias"-- using a stochastic differential equation (SDE) describing the limiting dynamics of the parameters, which is determined jointly by the loss function and the noise covariance. This yields some new results: (1) a global analysis of the implicit bias valid for steps, in contrast to the local analysis of Blanc et al. (2020) that is only valid for steps and (2) allowing arbitrary noise covariance. As an application, we show with arbitrary large initialization, label noise SGD can always escape the kernel regime and only requires samples for learning an -sparse overparametrized linear model in (Woodworth et al., 2020), while GD initialized in the kernel regime requires samples. This upper bound is minimax optimal and improves the previous upper bound (HaoChen et al., 2020).
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
75 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Understanding the Generalization Benefit of Normalization Layers: Sharpness Reduction cites Understanding Gradient Descent on the Edge of Stability in Deep Learning
- Understanding the Generalization Benefit of Normalization Layers: Sharpness Reduction cites Gradient Descent Maximizes the Margin of Homogeneous Neural Networks
- Understanding the Generalization Benefit of Normalization Layers: Sharpness Reduction cites Towards Resolving the Implicit Bias of Gradient Descent for Matrix Factorization: Greedy Low-Rank Learning
- Understanding the Generalization Benefit of Normalization Layers: Sharpness Reduction cites Label Noise SGD Provably Prefers Flat Global Minimizers
- Understanding Gradient Descent on the Edge of Stability in Deep Learning cites Gradient Descent Maximizes the Margin of Homogeneous Neural Networks
- Understanding Gradient Descent on the Edge of Stability in Deep Learning cites Towards Resolving the Implicit Bias of Gradient Descent for Matrix Factorization: Greedy Low-Rank Learning
- Understanding Gradient Descent on the Edge of Stability in Deep Learning cites Label Noise SGD Provably Prefers Flat Global Minimizers
- On the Validity of Modeling SGD with Stochastic Differential Equations (SDEs) cites On the Noisy Gradient Descent that Generalizes as SGD
- A Modern Look at the Relationship between Sharpness and Generalization cites Understanding the Generalization Benefit of Normalization Layers: Sharpness Reduction
- A Modern Look at the Relationship between Sharpness and Generalization cites Label Noise SGD Provably Prefers Flat Global Minimizers
- Same Pre-training Loss, Better Downstream: Implicit Bias Matters for Language Models cites Understanding Gradient Descent on the Edge of Stability in Deep Learning
- Same Pre-training Loss, Better Downstream: Implicit Bias Matters for Language Models cites Gradient Descent Maximizes the Margin of Homogeneous Neural Networks
- Same Pre-training Loss, Better Downstream: Implicit Bias Matters for Language Models cites Towards Resolving the Implicit Bias of Gradient Descent for Matrix Factorization: Greedy Low-Rank Learning
- Same Pre-training Loss, Better Downstream: Implicit Bias Matters for Language Models cites Label Noise SGD Provably Prefers Flat Global Minimizers
- Why Do We Need Weight Decay in Modern Deep Learning? cites On the Validity of Modeling SGD with Stochastic Differential Equations (SDEs)
- Why Do We Need Weight Decay in Modern Deep Learning? cites Label Noise SGD Provably Prefers Flat Global Minimizers
- Towards Resolving the Implicit Bias of Gradient Descent for Matrix Factorization: Greedy Low-Rank Learning cites Gradient Descent Maximizes the Margin of Homogeneous Neural Networks
Cited by top-tier papers75
- Understanding Gradient Descent on the Edge of Stability in Deep LearningSanjeev Arora, Zhiyuan Li, Abhishek PanigrahiICML 2022 · 139 citations
- Understanding the Generalization Benefit of Normalization Layers: Sharpness ReductionKaifeng Lyu, Zhiyuan Li, Sanjeev AroraNeurIPS 2022 · 111 citations
- Why Do We Need Weight Decay in Modern Deep Learning?Francesco D'Angelo, Maksym Andriushchenko, Aditya Vardhan Varre, Nicolas FlammarionNeurIPS 2024 · 101 citations
- A Modern Look at the Relationship between Sharpness and GeneralizationMaksym Andriushchenko, Francesco Croce, Maximilian Müller, Matthias Hein et al.ICML 2023 · 92 citations
- Same Pre-training Loss, Better Downstream: Implicit Bias Matters for Language ModelsHong Liu, Sang Michael Xie, Zhiyuan Li, Tengyu MaICML 2023 · 82 citations
Builds on10
- Gradient Descent Maximizes the Margin of Homogeneous Neural NetworksKaifeng Lyu, Jian LiICLR 2020 · 402 citations
- Towards Resolving the Implicit Bias of Gradient Descent for Matrix Factorization: Greedy Low-Rank LearningZhiyuan Li, Yuping Luo, Kaifeng LyuICLR 2021 · 155 citations
- Label Noise SGD Provably Prefers Flat Global MinimizersAlex Damian, Tengyu Ma, Jason D. LeeNeurIPS 2021 · 155 citations
- On the Noisy Gradient Descent that Generalizes as SGDJingfeng Wu, Wenqing Hu, Haoyi Xiong, Jun Huan et al.ICML 2020 · 125 citations
- On the Validity of Modeling SGD with Stochastic Differential Equations (SDEs)Zhiyuan Li, Sadhika Malladi, Sanjeev AroraNeurIPS 2021 · 107 citations
Related papers
- The alignment property of SGD noise and how it helps select flat minima: A stability analysisLei Wu, Mingze Wang, Weijie SuNeurIPS 2022 · 80 citations
- On the Learning Dynamics of Two-layer Linear Networks with Label Noise SGDTongcheng Zhang, Zhanpeng Zhou, Mingze Wang, Andi Han et al.AAAI 2026
- Implicit Bias of (Stochastic) Gradient Descent for Rank-1 Linear Neural NetworkBochen Lyu, Zhanxing ZhuNeurIPS 2023 · 5 citations
- Strength of Minibatch Noise in SGDLiu Ziyin, Kangqiao Liu, Takashi Mori, Masahito UedaICLR 2022 · 44 citations
- A Generalized Neural Tangent Kernel Analysis for Two-layer Neural NetworksZixiang Chen, Yuan Cao, Quanquan Gu, Tong ZhangNeurIPS 2020 · 82 citations
