Compute Efficiency and Serial Runtime Tradeoffs for Stochastic Momentum Methods
Depen Morwani, Alexandru Meterez, Pranav Nair, Sham Kakade
cs.LG, cs.AI, math.OC, stat.ML
Submitted: 2026-06-17
License: http://creativecommons.org/licenses/by/4.0/
The gist: Stochastic momentum methods such as heavy ball (HB), Nesterov momentum, and variants of Accelerated SGD (ASGD) [Kidambi et al., 2018] are widely used in modern training, but their stochastic benefits
Terminology
Abstract
Stochastic momentum methods such as heavy ball (HB), Nesterov momentum, and variants of Accelerated SGD (ASGD) [Kidambi et al., 2018] are widely used in modern training, but their stochastic benefits depend on two distinct quantities: serial runtime, the number of iterations needed to reach a target accuracy, and compute efficiency (CE), the inverse total gradient-query or FLOP cost. Larger batches reduce serial runtime without hurting CE only when the contraction gap grows linearly with batch size. We study stochastic HB and ASGD for consistent linear regression with Gaussian covariates and prove finite-dimensional, discrete-time lower bounds on their batch-size tradeoffs. Our first result shows that HB does not improve the CE frontier over SGD for arbitrary spectra; rather, it preserves SGD-level CE over a larger batch-size window, allowing larger batches to reduce serial runtime until HB reaches its deterministic accelerated scale. This window can be a factor sqrt kappa larger than the SGD critical batch size. For ASGD, the picture is more spectrum-dependent: for rapidly decaying power-law spectra, ASGD improves small-batch CE over HB/SGD, but as batch size grows it trades this CE advantage for improved serial runtime. Synthetic linear-regression experiments verify these qualitative regimes, including near-overlap of ASGD and HB for slowly decaying spectra and the predicted CE--serial tradeoff for rapidly decaying spectra.
Sources
- Momentum Further Constrains Sharpness at the Edge of Stochastic Stability
- Theory of Optimal Learning Rate Schedules and Scaling Laws for a Random Feature Model
- Gradient Descent on Neural Networks Typically Occurs at the Edge of Stability
- Adaptive Gradient Methods at the Edge of Stability
- Dimension-adapted Momentum Outscales SGD
- When and Why Momentum Accelerates SGD:An Empirical Study
- The Llama 3 Herd of Models
- DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning
- Adam: A Method for Stochastic Optimization
- Noise Is Not the Main Factor Behind the Gap Between SGD and Adam on Transformers, but Sign Descent Might Be
- Accelerating SGD with momentum for over-parameterized learning
- Decoupled Weight Decay Regularization
- Aggregated Momentum: Stability Through Passive Damping
- Quasi-hyperbolic momentum and Adam for deep learning
- Small Batch Size Training for Language Models: When Vanilla SGD Works, and Why Gradient Accumulation Is Wasteful
- Critical Batch Size Revisited: A Simple Empirical Approach to Large-Batch Language Model Training
- A Simplified Analysis of SGD for Linear Regression with Weight Averaging
- Seesaw: Accelerating Training by Balancing Learning Rate and Batch Size Scheduling
- Connections between Schedule-Free Optimizers, AdEMAMix, and Accelerated SGD Variants
- The AdEMAMix Optimizer: Better, Faster, Older
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: Local-Consistency Optimisation for Bayesian Neural Networks
- Understanding Diffusion Models via Ratio-Based Function Approximation with SignReLU Networks