On the Generalization of Stochastic Gradient Descent with Momentum
Not on the map. Why?
Abstract (arXiv)
While momentum-based methods, in conjunction with stochastic gradient descent (SGD), are widely used when training machine learning models, there is little theoretical understanding on the generalization error of such methods. In this work, we first show that there exists a convex loss function for which algorithmic stability fails to establish generalization guarantees when SGD with standard heavy-ball momentum (SGDM) is run for multiple epochs. Then, for smooth Lipschitz loss functions, we analyze a modified momentum-based update rule, i.e., SGD with early momentum (SGDEM), and show that it admits an upper-bound on the generalization error. Thus, our results show that machine learning models can be trained for multiple epochs of SGDEM with a guarantee for generalization. Finally, for the special case of strongly convex loss functions, we find a range of momentum such that multiple epochs of standard SGDM, as a special form of SGDEM, also generalizes. Extending our results on generalization, we also develop an upper-bound on the expected true risk, in terms of the number of training steps, the size of the training set, and the momentum parameter. Experimental evaluations verify the consistency between the numerical results and our theoretical bounds and the effectiveness of SGDEM for smooth Lipschitz loss functions.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 17 of its 38 references that are in the map. First posted on arXiv 26 Feb 2021.
Builds on
17 of 38 references.
References · 17
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2015Train faster, generalize better: Stability of stochastic gradient descentcited by 547
- 2015A Differential Equation for Modeling Nesterov's Accelerated Gradient Method: Theory and Insightscited by 203
- 2013Stochastic Gradient Descent, Weighted Sampling, and the Randomized Kaczmarz algorithmcited by 132
- 2017Improving Generalization Performance by Switching from Adam to SGDcited by 121
- 2014Analysis and Design of Optimization Algorithms via Integral Quadratic Constraintscited by 105
- 2014Global convergence of the Heavy-ball method for convex optimizationcited by 60
- 2018Stability and Convergence Trade-off of Iterative Optimization Algorithmscited by 53
- 2016Stochastic Heavy Ballcited by 40
- 2016Unified Convergence Analysis of Stochastic Momentum Methods for Convex and Non-convex Optimizationcited by 34
- 2014iPiano: Inertial Proximal Algorithm for Non-Convex Optimizationcited by 30
5 more
- 2016A Lyapunov Analysis of Momentum Methods in Optimizationcited by 28
- 2020On the Convergence of Nesterov's Accelerated Gradient Method in Stochastic Settingscited by 27
- 2019Accelerated Linear Convergence of Stochastic Momentum Methods in Wasserstein Distancescited by 15
- 2019Nesterov's method with decreasing learning rate leads to accelerated stochastic gradient descentcited by 13
- 2019The Role of Memory in Stochastic Optimizationcited by 10
Built on by
Not cited yet.