On the Training Instability of Shuffling SGD with Batch Normalization
David Xing Wu, Chulhee Yun, Suvrit Sra
摘要
We uncover how SGD interacts with batch normalization and can exhibit undesirable training dynamics such as divergence. More precisely, we study how Single Shuffle (SS) and Random Reshuffle (RR) -- two widely used variants of SGD -- interact surprisingly differently in the presence of batch normalization: RR leads to much more stable evolution of training loss than SS. As a concrete example, for regression using a linear network with batch normalization, we prove that SS and RR converge to distinct global optima that are"distorted"away from gradient descent. Thereafter, for classification we characterize conditions under which training divergence for SS and RR can, and cannot occur. We present explicit constructions to show how SS leads to distorted optima in regression and divergence for classification, whereas RR avoids both distortion and divergence. We validate our results by confirming them empirically in realistic settings, and conclude that the separation between SS and RR used with batch normalization is relevant in practice.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Understanding the Generalization Benefit of Normalization Layers: Sharpness Reduction 引用了 An Exponential Learning Rate Schedule for Deep Learning
- Understanding the Generalization Benefit of Normalization Layers: Sharpness Reduction 引用了 Directional convergence and alignment in deep learning
- Understanding the Generalization Benefit of Normalization Layers: Sharpness Reduction 引用了 Gradient Descent Maximizes the Margin of Homogeneous Neural Networks
- Understanding the Generalization Benefit of Normalization Layers: Sharpness Reduction 引用了 Sharpness-aware Minimization for Efficiently Improving Generalization
- Directional convergence and alignment in deep learning 引用了 Gradient Descent Maximizes the Margin of Homogeneous Neural Networks
引用它的顶会 Paper2
它引用的 Paper14
- Sharpness-aware Minimization for Efficiently Improving GeneralizationPierre Foret, Ariel Kleiner, Hossein Mobahi, Behnam NeyshaburICLR 2021 · 1,861 次引用
- Gradient Descent Maximizes the Margin of Homogeneous Neural NetworksKaifeng Lyu, Jian LiICLR 2020 · 402 次引用
- An Exponential Learning Rate Schedule for Deep LearningZhiyuan Li, Sanjeev AroraICLR 2020 · 267 次引用
- Directional convergence and alignment in deep learningZiwei Ji, Matus TelgarskyNeurIPS 2020 · 226 次引用
- Understanding the Generalization Benefit of Normalization Layers: Sharpness ReductionKaifeng Lyu, Zhiyuan Li, Sanjeev AroraNeurIPS 2022 · 111 次引用
相关 Paper
- On the Periodic Behavior of Neural Network Training with Batch Normalization and Weight DecayEkaterina Lobacheva, Maxim Kodryan, Nadezhda Chirkova, Andrey Malinin 等NeurIPS 2021 · 30 次引用
- Understanding the Impact of Model Incoherence on Convergence of Incremental SGD with Random ReshuffleShaocong Ma, Yi ZhouICML 2020 · 5 次引用
- The Break-Even Point on Optimization Trajectories of Deep Neural NetworksStanislaw Jastrzebski, Maciej Szymczak, Stanislav Fort, Devansh Arpit 等ICLR 2020 · 198 次引用
- A Theoretical Analysis of the Learning Dynamics under Class ImbalanceEmanuele Francazi, Marco Baity-Jesi, Aurélien LucchiICML 2023 · 33 次引用
- Momentum Further Constrains Sharpness at the Edge of Stochastic StabilityArseniy Andreyev, Advikar Ananthkumar, Marc Walden, Tomaso A Poggio 等ICML 2026 · 5 次引用
