On the Training Instability of Shuffling SGD with Batch Normalization
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 40 of its 63 references that are in the map. First posted on arXiv 24 Feb 2023.
Builds on
40 of 63 references.
References · 40
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
- 2021Convex optimizationcited by 2,479
- 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,404
- 2016Instance Normalization: The Missing Ingredient for Fast Stylizationcited by 1,187
- 2017The Implicit Bias of Gradient Descent on Separable Datacited by 649
- 2018How Does Batch Normalization Help Optimization?cited by 355
- 2019Gradient Descent Maximizes the Margin of Homogeneous Neural Networkscited by 308
- 2020Kernel and Rich Regimes in Overparametrized Modelscited by 302
- 2017Train longer, generalize better: closing the generalization gap in large batch training of neural networkscited by 278
- 2018Characterizing Implicit Bias in Terms of Optimization Geometrycited by 259
28 more
- 2018Measuring the Effects of Data Parallelism on Neural Network Trainingcited by 190
- 2018Gradient descent aligns the layers of deep linear networkscited by 182
- 2020Directional convergence and alignment in deep learningcited by 172
- 2018Understanding Batch Normalizationcited by 157
- 2019An Exponential Learning Rate Schedule for Deep Learningcited by 121
- 2018Convergence of Gradient Descent on Separable Datacited by 108
- 2022Understanding the Generalization Benefit of Normalization Layers: Sharpness Reductioncited by 86
- 2020A Unifying View on Implicit Bias in Training Linear Neural Networkscited by 74
- 2018Random Shuffling Beats SGD after Finite Epochscited by 66
- 2018Theoretical Analysis of Auto Rate-Tuning by Batch Normalizationcited by 65
- 2018Stochastic Gradient Descent on Separable Data: Exact Convergence with a Fixed Learning Ratecited by 63
- 2019How Good is SGD with Random Shuffling?cited by 63
- 2019SGD without Replacement: Sharper Rates for General Smooth Convex Functionscited by 59
- 2020Reconciling Modern Deep Learning with Traditional Optimization Analyses: The Intrinsic Learning Ratecited by 59
- 2020A Unified Convergence Analysis for Shuffling-Type Gradient Methodscited by 57
- 2020SGD with shuffling: optimal rates without component convexity and large epoch requirementscited by 57
- 2020Closing the convergence gap of SGD without replacementcited by 56
- 2021Rethinking "Batch" in BatchNormcited by 44
- 2021Minibatch vs Local SGD with Shuffling: Tight Convergence Bounds and Beyondcited by 35
- 2019Four Things Everyone Should Know to Improve Batch Normalizationcited by 28
- 2021Batch Normalization Orthogonalizes Representations in Deep Random Networkscited by 28
- 2021On the Periodic Behavior of Neural Network Training with Batch Normalization and Weight Decaycited by 20
- 2021Inductive Bias of Multi-Channel Linear Convolutional Networks with Bounded Weight Normcited by 18
- 2019Global Convergence of Gradient Descent for Deep Linear Residual Networkscited by 16
- 2017Characterization of Gradient Dominance and Regularity Conditions for Neural Networkscited by 8
- 2021Can Single-Shuffle SGD be Better than Reshuffling SGD and GD?cited by 8
- 2022SGDA with shuffling: faster convergence for nonconvex-PL minimax optimizationcited by 8
- 2018Randomness and Permutations in Coordinate Descent Methodscited by 2
Built on by
Citing papers per year: 2023: 1; 2024: 1; 2025: 1.
3 papers.