Self-Stabilization: The Implicit Bias of Gradient Descent at the Edge of Stability
Alex Damian, Eshaan Nichani, Jason D. Lee
摘要
Traditional analyses of gradient descent show that when the largest eigenvalue of the Hessian, also known as the sharpness , is bounded by , training is "stable" and the training loss decreases monotonically. Recent works, however, have observed that this assumption does not hold when training modern neural networks with full batch or large batch gradient descent. Most recently, Cohen et al. (2021) observed two important phenomena. The first, dubbed progressive sharpening, is that the sharpness steadily increases throughout training until it reaches the instability cutoff . The second, dubbed edge of stability, is that the sharpness hovers at for the remainder of training while the loss continues decreasing, albeit non-monotonically. We demonstrate that, far from being chaotic, the dynamics of gradient descent at the edge of stability can be captured by a cubic Taylor expansion: as the iterates diverge in direction of the top eigenvector of the Hessian due to instability, the cubic term in the local Taylor expansion of the loss function causes the curvature to decrease until stability is restored. This property, which we call self-stabilization, is a general property of gradient descent and explains its behavior at the edge of stability. A key consequence of self-stabilization is that gradient descent at the edge of stability implicitly follows projected gradient descent (PGD) under the constraint . Our analysis provides precise predictions for the loss, sharpness, and deviation from the PGD trajectory throughout training, which we verify both empirically in a number of standard settings and theoretically under mild conditions. Our analysis uncovers the mechanism for gradient descent's implicit bias towards stability.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 85 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Understanding Gradient Descent on the Edge of Stability in Deep Learning 引用了 Fantastic Generalization Measures and Where to Find Them
- Understanding Gradient Descent on the Edge of Stability in Deep Learning 引用了 Sharpness-aware Minimization for Efficiently Improving Generalization
- Understanding Gradient Descent on the Edge of Stability in Deep Learning 引用了 Label Noise SGD Provably Prefers Flat Global Minimizers
- High-dimensional limit theorems for SGD: Effective dynamics and critical scaling 引用了 Understanding Gradient Descent on the Edge of Stability in Deep Learning
- A Modern Look at the Relationship between Sharpness and Generalization 引用了 Fantastic Generalization Measures and Where to Find Them
- A Modern Look at the Relationship between Sharpness and Generalization 引用了 Sharpness-aware Minimization for Efficiently Improving Generalization
- A Modern Look at the Relationship between Sharpness and Generalization 引用了 Label Noise SGD Provably Prefers Flat Global Minimizers
- The Break-Even Point on Optimization Trajectories of Deep Neural Networks 引用了 Fantastic Generalization Measures and Where to Find Them
- Small-scale proxies for large-scale Transformer training instabilities 引用了 Dynamics of Finite Width Kernel and Prediction Fluctuations in Mean Field Neural Networks
- Sharpness-aware Minimization for Efficiently Improving Generalization 引用了 Fantastic Generalization Measures and Where to Find Them
- Label Noise SGD Provably Prefers Flat Global Minimizers 引用了 Sharpness-aware Minimization for Efficiently Improving Generalization
引用它的顶会 Paper85
- Small-scale proxies for large-scale Transformer training instabilitiesMitchell Wortsman, Peter J. Liu, Lechao Xiao, Katie E. Everett 等ICLR 2024 · 162 次引用
- High-dimensional limit theorems for SGD: Effective dynamics and critical scalingGérard Ben Arous, Reza Gheissari, Aukosh JagannathNeurIPS 2022 · 94 次引用
- A Modern Look at the Relationship between Sharpness and GeneralizationMaksym Andriushchenko, Francesco Croce, Maximilian Müller, Matthias Hein 等ICML 2023 · 92 次引用
- Why Warmup the Learning Rate? Underlying Mechanisms and ImprovementsDayal Singh Kalra, Maissam BarkeshliNeurIPS 2024 · 87 次引用
- Dynamics of Finite Width Kernel and Prediction Fluctuations in Mean Field Neural NetworksBlake Bordelon, Cengiz PehlevanNeurIPS 2023 · 56 次引用
它引用的 Paper12
- Sharpness-aware Minimization for Efficiently Improving GeneralizationPierre Foret, Ariel Kleiner, Hossein Mobahi, Behnam NeyshaburICLR 2021 · 1,861 次引用
- Fantastic Generalization Measures and Where to Find ThemYiding Jiang, Behnam Neyshabur, Hossein Mobahi, Dilip Krishnan 等ICLR 2020 · 705 次引用
- The Break-Even Point on Optimization Trajectories of Deep Neural NetworksStanislaw Jastrzebski, Maciej Szymczak, Stanislav Fort, Devansh Arpit 等ICLR 2020 · 198 次引用
- Label Noise SGD Provably Prefers Flat Global MinimizersAlex Damian, Tengyu Ma, Jason D. LeeNeurIPS 2021 · 155 次引用
- Understanding Gradient Descent on the Edge of Stability in Deep LearningSanjeev Arora, Zhiyuan Li, Abhishek PanigrahiICML 2022 · 139 次引用
相关 Paper
- Trajectory Alignment: Understanding the Edge of Stability Phenomenon via Bifurcation TheoryMinhak Song, Chulhee YunNeurIPS 2023 · 26 次引用
- Analyzing Sharpness along GD Trajectory: Progressive Sharpening and Edge of StabilityZixuan Wang, Zhouzi Li, Jian LiNeurIPS 2022 · 71 次引用
- Universal Sharpness Dynamics in Neural Network Training: Fixed Point Analysis, Edge of Stability, and Route to ChaosDayal Singh Kalra, Tianyu He, Maissam BarkeshliICLR 2025
- Gradient Descent on Neural Networks Typically Occurs at the Edge of StabilityJeremy Cohen, Simran Kaur, Yuanzhi Li, J. Zico Kolter 等ICLR 2021 · 22 次引用
- Understanding Edge-of-Stability Training Dynamics with a Minimalist ExampleXingyu Zhu, Zixuan Wang, Xiang Wang, Mo Zhou 等ICLR 2023 · 1 次引用
