Lune

ICLR2024Top-tier venue

Benign Oscillation of Stochastic Gradient Descent with Large Learning Rate

Miao Lu, Beining Wu, Xiaodong Yang, Difan Zou

Abstract

In this work, we theoretically investigate the generalization properties of neural networks (NN) trained by stochastic gradient descent (SGD) algorithm with large learning rates. Under such a training regime, our finding is that, the oscillation of the NN weights caused by the large learning rate SGD training turns out to be beneficial to the generalization of the NN, which potentially improves over the same NN trained by SGD with small learning rates that converges more smoothly. In view of this finding, we call such a phenomenon "benign oscillation". Our theory towards demystifying such a phenomenon builds upon the feature learning perspective of deep learning. Specifically, we consider a feature-noise data generation model that consists of (i) weak features which have a small ℓ2-norm and appear in each data point; (ii) strong features which have a larger ℓ2-norm but only appear in a certain fraction of all data points; and (iii) noise. We prove that NNs trained by oscillating SGD with a large learning rate can effectively learn the weak features in the presence of those strong features. In contrast, NNs trained by SGD with a small learning rate can only learn the strong features but makes little progress in learning the weak features. Consequently, when it comes to the new testing data which consist of only weak features, the NN trained by oscillating SGD with a large learning rate could still make correct predictions consistently, while the NN trained by small learning rate SGD fails. Our theory sheds light on how large learning rate training benefits the generalization of NNs. Experimental results demonstrate our finding on "benign oscillation".

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.

8 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Can Diffusion Models Learn Hidden Inter-Feature Rules Behind Images? cites Towards Understanding Ensemble, Knowledge Distillation and Self-Distillation in Deep Learning
  • Toward Understanding the Feature Learning Process of Self-supervised Contrastive Learning cites Towards Understanding Ensemble, Knowledge Distillation and Self-Distillation in Deep Learning
  • Toward Understanding Adversarial Distillation: Why Robust Teachers Fail cites Towards Understanding Ensemble, Knowledge Distillation and Self-Distillation in Deep Learning
  • Toward Understanding Adversarial Distillation: Why Robust Teachers Fail cites Toward Understanding the Feature Learning Process of Self-supervised Contrastive Learning
  • Provably Transformers Harness Multi-Concept Word Semantics for Efficient In-Context Learning cites Towards Understanding Ensemble, Knowledge Distillation and Self-Distillation in Deep Learning
  • Provably Transformers Harness Multi-Concept Word Semantics for Efficient In-Context Learning cites Toward Understanding the Feature Learning Process of Self-supervised Contrastive Learning
  • Towards Understanding the Mixture-of-Experts Layer in Deep Learning cites Towards Understanding Ensemble, Knowledge Distillation and Self-Distillation in Deep Learning
  • Towards Understanding the Mixture-of-Experts Layer in Deep Learning cites Toward Understanding the Feature Learning Process of Self-supervised Contrastive Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers8

  1. Large Stepsize Gradient Descent for Non-Homogeneous Two-Layer Networks: Margin Improvement and Fast OptimizationYuhang Cai, Jingfeng Wu, Song Mei, Michael Lindsey et al.NeurIPS 2024 · 20 citations
  2. Provably Transformers Harness Multi-Concept Word Semantics for Efficient In-Context LearningDake Bu, Wei Huang, Andi Han, Atsushi Nitanda et al.NeurIPS 2024 · 11 citations
  3. The Implicit Bias of Heterogeneity towards Invariance: A Study of Multi-Environment Matrix SensingYang Xu, Yihong Gu, Cong FangNeurIPS 2024 · 1 citation
  4. Can Diffusion Models Learn Hidden Inter-Feature Rules Behind Images?Yujin Han, Andi Han, Wei Huang, Chaochao Lu et al.ICML 2025
  5. Toward Understanding Adversarial Distillation: Why Robust Teachers FailHongsin Lee, Hye Won ChungICML 2026

Builds on17

  1. The Early Phase of Neural Network TrainingJonathan Frankle, David J. Schwab, Ari S. MorcosICLR 2020 · 199 citations
  2. Evaluation of Neural Architectures trained with square Loss vs Cross-Entropy in Classification TasksLike Hui, Mikhail BelkinICLR 2021 · 199 citations
  3. Towards Understanding the Mixture-of-Experts Layer in Deep LearningZixiang Chen, Yihe Deng, Yue Wu, Quanquan Gu et al.NeurIPS 2022 · 199 citations
  4. Toward Understanding the Feature Learning Process of Self-supervised Contrastive LearningZixin Wen, Yuanzhi LiICML 2021 · 162 citations
  5. Towards Understanding Ensemble, Knowledge Distillation and Self-Distillation in Deep LearningZeyuan Allen-Zhu, Yuanzhi LiICLR 2023 · 151 citations

Related papers

  1. Strength of Minibatch Noise in SGDLiu Ziyin, Kangqiao Liu, Takashi Mori, Masahito UedaICLR 2022 · 44 citations
  2. The Break-Even Point on Optimization Trajectories of Deep Neural NetworksStanislaw Jastrzebski, Maciej Szymczak, Stanislav Fort, Devansh Arpit et al.ICLR 2020 · 198 citations
  3. How much does Initialization Affect Generalization?Sameera Ramasinghe, Lachlan Ewen MacDonald, Moshiur R. Farazi, Hemanth Saratchandran et al.ICML 2023 · 9 citations
  4. Stochastic Collapse: How Gradient Noise Attracts SGD Dynamics Towards Simpler SubnetworksFeng Chen, Daniel Kunin, Atsushi Yamamura, Surya GanguliNeurIPS 2023 · 52 citations
  5. A Theory of Non-Linear Feature Learning with One Gradient Step in Two-Layer Neural NetworksBehrad Moniri, Donghwan Lee, Hamed Hassani, Edgar DobribanICML 2024 · 38 citations
Dusk over the sea between two cliffs drawn in fine vertical lines