Flatter, faster: scaling momentum for optimal speedup of SGD
Not on the map. Why?
Abstract (arXiv)
Commonly used optimization algorithms often show a trade-off between good generalization and fast training times. For instance, stochastic gradient descent (SGD) tends to have good generalization; however, adaptive gradient methods have superior training times. Momentum can help accelerate training with SGD, but so far there has been no principled way to select the momentum hyperparameter. Here we study training dynamics arising from the interplay between SGD with label noise and momentum in the training of overparametrized neural networks. We find that scaling the momentum hyperparameter 1-β with the learning rate to the power of 2/3 maximally accelerates training, without sacrificing generalization. To analytically derive this result we develop an architecture-independent framework, where the main assumption is the existence of a degenerate manifold of global minimizers, as is natural in overparametrized models. Training dynamics display the emergence of two characteristic timescales that are well-separated for generic values of the hyperparameters. The maximum acceleration of training is reached when these two timescales meet, which in turn determines the scaling limit we propose. We confirm our scaling rule for synthetic regression problems (matrix sensing and teacher-student paradigm) and classification for realistic datasets (ResNet-18 on CIFAR10, 6-layer MLP on FashionMNIST), suggesting the robustness of our scaling rule to variations in architectures and datasets.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 38 of its 57 references that are in the map. First posted on arXiv 28 Oct 2022.
Builds on
38 of 57 references.
References · 38
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2017Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithmscited by 4,349
- 2016Understanding deep learning requires rethinking generalizationcited by 1,674
- 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,352
- 2013Exact solutions to the nonlinear dynamics of learning in deep linear neural networkscited by 763
- 2019Deep Double Descent: Where Bigger Models and More Data Hurtcited by 672
- 2017The Implicit Bias of Gradient Descent on Separable Datacited by 655
- 2018Loss Surfaces, Mode Connectivity, and Fast Ensembling of DNNscited by 588
- 2018Essentially No Barriers in Neural Network Energy Landscapecited by 330
- 2017Empirical Analysis of the Hessian of Over-Parametrized Neural Networkscited by 290
- 2022Tensor Programs V: Tuning Large Neural Networks via Zero-Shot Hyperparameter Transfercited by 288
26 more
- 2014The Loss Surfaces of Multilayer Networkscited by 280
- 2017The Marginal Value of Adaptive Gradient Methods in Machine Learningcited by 250
- 2020Loss landscapes and optimization in over-parameterized non-linear systems and neural networkscited by 233
- 2020The large learning rate phase of deep learning: the catapult mechanismcited by 216
- 2021The Principles of Deep Learning Theorycited by 173
- 2016Eigenvalues of the Hessian in Deep Learning: Singularity and Beyondcited by 159
- 2020Better Theory for SGD in the Nonconvex Worldcited by 158
- 2016Katyusha: The First Direct Acceleration of Stochastic Gradient Methodscited by 135
- 2017Improving Generalization Performance by Switching from Adam to SGDcited by 125
- 2019Implicit regularization for deep neural networks driven by an Ornstein-Uhlenbeck like processcited by 123
- 2021Label Noise SGD Provably Prefers Flat Global Minimizerscited by 121
- 2021Implicit Bias of SGD for Diagonal Linear Networks: a Provable Benefit of Stochasticitycited by 110
- 2021What Happens after SGD Reaches Zero Loss? --A Mathematical Frameworkcited by 107
- 2019On Empirical Comparisons of Optimizers for Deep Learningcited by 103
- 2016Topology and Geometry of Half-Rectified Network Optimizationcited by 102
- 2020Shape Matters: Understanding the Implicit Bias of the Noise Covariancecited by 88
- 2019Explaining Landscape Connectivity of Low-cost Solutions for Multilayer Netscited by 63
- 2019On Connected Sublevel Sets in Deep Learningcited by 51
- 2018On the insufficiency of existing momentum schemes for Stochastic Optimizationcited by 49
- 2019Bad Global Minima Exist and SGD Can Reach Themcited by 49
- 2020Adaptive Inertia: Disentangling the Effects of Adaptive Learning Rate and Momentumcited by 40
- 2022Label noise (stochastic) gradient descent implicitly solves the Lasso for quadratic parametrisationcited by 29
- 2021The Limiting Dynamics of SGD: Modified Loss, Phase Space Oscillations, and Anomalous Diffusioncited by 19
- 2022Trajectory of Mini-Batch Momentum: Batch Size Saturation and Convergence in High Dimensionscited by 19
- 2019How noise affects the Hessian spectrum in overparameterized neural networkscited by 17
- 2017Accelerating Stochastic Gradient Descent For Least Squares Regressioncited by 13
Built on by
Citing papers per year: 2023: 3; 2024: 2.
5 papers.
- 2023The Marginal Value of Momentum for Small Learning Rate SGDcited by 18
- 2024Singular-limit analysis of gradient descent with noise injectioncited by 7
- 2023Stochastic Gradient Descent-Induced Drift of Representation in a Two-Layer Neural Networkcited by 6
- 2023A Quadratic Synchronization Rule for Distributed Deep Learningcited by 5
- 2024Is Hyper-Parameter Optimization Different for Software Analytics?cited by 1
- 2024Singular-limit analysis of gradient descent with noise injection18 Apr 2024
- 2024Is Hyper-Parameter Optimization Different for Software Analytics?17 Jan 2024
- 2023A Quadratic Synchronization Rule for Distributed Deep Learning22 Oct 2023
- 2023The Marginal Value of Momentum for Small Learning Rate SGD27 Jul 2023
- 2023Stochastic Gradient Descent-Induced Drift of Representation in a Two-Layer Neural Network6 Feb 2023
Similar, not cited
Close in wording, no citation either way
- 2025Low-rank Momentum Factorization for Memory Efficient Training
- 2026Optimizer-dependent training dynamics converge to the same one-third optimal data scaling
- 2025Greedy Alignment Principle for Optimizer Selection
- 2025Why Does Stochastic Gradient Descent Slow Down in Low-Precision Training?
- 2022Beyond the Edge of Stability via Two-step Gradient Updates
- 2023On the different regimes of Stochastic Gradient Descent
- 2024No More Adam: Learning Rate Scaling at Initialization is All You Need
- 2023On the Impact of Overparameterization on the Training of a Shallow Neural Network in High Dimensions