Stochastic Gradient Descent with Momentum is Algorithmically Stable
cs.LG, cs.AI
Submitted: 2026-05-27
Updated: 2026-09-29
License: http://creativecommons.org/licenses/by/4.0/
The gist: Stochastic gradient descent with momentum (SGDM) is one of the most widely used optimization algorithms in machine learning.
Terminology
Abstract
Stochastic gradient descent with momentum (SGDM) is one of the most widely used optimization algorithms in machine learning. While optimization properties of SGDM have been extensively studied in the literature, it remains insufficiently understood whether and when SGDM can generalize well to unseen data. In particular, it has been conjectured that while momentum accelerates training, it may degrade generalization. In this paper, we close this gap by developing a comprehensive generalization analysis of SGDM through the lens of algorithmic stability. More specifically, we introduce a generalized SGDM framework that encompasses both Polyak's and Nesterov's momentum schemes, and establish tight on-average model stability bounds for smooth and convex problems. Notably, the obtained bounds exploit small optimization error bounds along the trajectory, apply to any momentum parameter in the interval [0, 1), and do not require the commonly assumed Lipschitzness of loss functions. We further derive optimization error bounds for the generalized SGDM, and combine them with our generalization analyses to obtain optimal excess population risk bounds for SGDM with both Polyak's and Nesterov's momentum.
Sources
- Stability and Convergence Trade-off of Iterative Optimization Algorithms
- Algorithmic Stability of Stochastic Gradient Descent with Momentum under Heavy-Tailed Noise
- Very Deep Convolutional Networks for Large-Scale Image Recognition
- A Unified Analysis of Stochastic Momentum Methods for Deep Learning
- Unified Convergence Analysis of Stochastic Momentum Methods for Convex and Non-convex Optimization
Related papers
- Polynomial-Augmented Neural Networks (PANNs) with Weak Orthogonality Constraints for Enhanced Function and PDE Approximation
- AIRL-S: Unifying Reinforcement Learning and Search-Based Test-Time Scaling via Adversarial Inverse Reinforcement Learning
- Transformers as Bayesian In-Context Experimenters: Smoothness-Adaptive Efficient ATE Estimation
- Convergence issues in Relational Concept Analysis based on AOC-posets
- Beliefs Beyond Posteriors: The Predictive Cost of ELBO Binding
- Understanding Diffusion Models via Ratio-Based Function Approximation with SignReLU Networks