TL;DR
Everyone uses momentum when training neural networks, yet empirically its magic seems to vanish at small batch sizes and reappear at massive ones. By teasing apart total FLOPs from wall-clock steps, this paper proves why: classical momentum doesn't make each gradient query more efficient—it just lets you scale to much larger batches before hitting diminishing returns. Meanwhile, newer "accelerated" momentum schemes genuinely save compute on small batches, but inevitably spend that advantage to buy faster wall-clock times as batch sizes grow.
What Problem Does This Paper Address?
In noiseless, textbook optimization, classical momentum methods—like Polyak’s Heavy Ball (HB)—famously speed up gradient descent. Yet in the noisy, mini-batch world of deep learning, empirical studies keep finding something puzzling: at small batch sizes, momentum offers virtually zero benefit over plain Stochastic Gradient Descent (SGD).
To untangle this, we have to separate two things we care about when training big models:
- Serial runtime: How many sequential steps (wall-clock iterations) it takes to reach a target loss.
- Compute efficiency (CE): The inverse of total FLOPs (or gradient queries) spent.
Normally, doubling your batch size $B$ halves your serial steps while keeping total FLOPs constant—up to a "critical batch size" where noise issufficiently averaged out and larger batches start wasting compute. Newer multi-buffer momentum algorithms—grouped under Accelerated SGD (ASGD), which structurally includes modern optimizers like Schedule-Free and AdEMAMix—provably improve CE at $B=1$. Put simply: if we scale up to the massive batch sizes required for modern pretraining, what actually happens to the tradeoffs between wall-clock speed and total compute for HB and ASGD?
Methods
The authors tackle this theoretically using a clean, tractable testbed: online, noiseless linear regression with Gaussian inputs. Here, the "shape" of the optimization landscape is governed by the eigenvalue spectrum of the data covariance matrix $H$ (whose condition number $\kappa$ measures the ratio of flattest to steepest directions).
Instead of relying on infinite-dimensional asymptotics or continuous-time approximations, the authors prove finite-dimensional, discrete-time lower bounds that hold uniformly across all stable hyperparameter choices. They track the error covariance matrix across iterations via a linear operator $\mathcal{T}$ and bound its spectral gap $\alpha(B)$—which dictates how fast the error shrinks per step. From this single quantity, serial runtime scales as $1/\alpha(B)$ and compute efficiency scales as $\alpha(B)/B$. They analyze HB across arbitrary data spectra, and compare it against ASGD (which adds a direct gradient path weighted by $\zeta$ alongside the momentum buffer) on power-law spectra ($\lambda_i \asymp i^{-a}$).
Datasets
The paper uses synthetic consistent linear regression datasets generated online from Gaussian covariates $x_i \sim \mathcal{N}(0, H)$ with noiseless targets. For empirical verification, the authors set the feature dimension to $D = 50,000$ and train for $N = 500,000$ samples across batch sizes $B \in [1, 1024]$, testing both slowly decaying ($a = 0.9$) and rapidly decaying ($a = 2.0$) power-law eigenvalue spectra. No external benchmarks are used or introduced.
Key Insights and Ideas
Theoretical scaling regimes for compute cost and serial steps across batch sizes.
- Heavy Ball doesn't save FLOPs; it widens the parallelization highway. Across any data spectrum, HB cannot beat the compute efficiency ceiling of plain SGD. Its superpower is extending the critical batch size by a factor of $\sqrt{\kappa}$. Beyond where SGD stalls out, HB keeps converting larger batches linearly into fewer serial steps without wasting FLOPs.
- ASGD trades its small-batch genius for wall-clock speed. When eigenvalues decay quickly ($a > 1$), ASGD beats HB and SGD on compute efficiency at $B=1$. However, as you increase $B$, ASGD experiences sublinear returns—effectively "spending" its FLOP advantage to buy fewer serial steps.
- ASGD hits the speed limit much earlier. Under power-law spectra, ASGD reaches the ultimate deterministic floor of $d^{a/2}$ serial steps at a critical batch size of just $d^{1/2}$, whereas HB needs a much larger batch size of $d^{a/2}$ to hit that same wall-clock speed.
- The data spectrum dictates whether fancy momentum matters. When the spectrum decays slowly, ASGD’s small-batch advantage evaporates, making it behave almost identically to classical Heavy Ball.
Key Results
Empirical steps to target loss across batch sizes on synthetic power-law data.
Theoretical bounds and synthetic experiments (sweeping learning rates $\eta$, momentum $\beta$, and ASGD weight $\zeta$ over 50 seeds) align cleanly:
- Arbitrary Spectra (HB vs. SGD): Both share the exact same maximum CE scale of $\lambda_{\min}/\text{Tr}(H)$. However, SGD’s linear-scaling window ends at $B \asymp \text{Tr}(H)/\lambda_{\max}$ (saturating at $\kappa$ serial steps), while HB's window extends to $B_{\text{HB}}^{\text{crit}} \asymp (\text{Tr}(H)/\lambda_{\max})\sqrt{\kappa}$, cutting the serial step floor down to $\sqrt{\kappa}$.
- Power-Law Spectra ($a > 1$): At $B=1$, HB requires $d^a$ compute, while ASGD requires strictly less: $d^{a^2/(2a-1)}$. Between $1 \lesssim B \lesssim d^{1/2}$, ASGD’s serial steps drop sublinearly as $B^{-a/(2a-1)}$ while its compute cost creeps up as $B^{(a-1)/(2a-1)}$.
- Empirical Verification: In synthetic runs (see Figure above), for slow decay ($a=0.9$), HB and ASGD curves nearly overlap, tracking the ideal $1/B$ iso-compute line far past where SGD flattens out around $B=2^5$. For fast decay ($a=2.0$), ASGD needs roughly $4\times$ fewer steps than HB/SGD at $B=1$ ($\sim 3 \times 10^3$ vs. $>10^4$ steps to reach $0.0071$ loss), before bending away from the $1/B$ line and converging with HB’s serial runtime floor around $B = 2^7$.
Limitations and Future Work
- Lower bounds only: The authors prove what these algorithms cannot beat; proving matching upper bounds with these techniques is left as an open problem.
- Spectral vs. Risk bounds: The proofs bound the spectral gap of the covariance operator rather than formally writing out end-to-end excess risk bounds (though the former governs the latter in consistent linear systems).
- Simplified setting: The theory assumes noiseless linear regression with Gaussian inputs and constant hyperparameters, leaving non-quadratic deep learning landscapes, label noise, and learning-rate schedules for future exploration.
Summary updated