Momentum Smooths the Path to Gradient Equilibrium

João Vitor Romano, Margaux Zaffran, Ryan J. TibshiraniarXiv 2026

TL;DR

When adjusting black-box models on the fly—say, to debias reservoir forecasts or calibrate financial prediction intervals—standard online gradient descent forces an annoying choice: adapt quickly with erratic, whiplash-inducing updates, or smooth things out and fall behind the data. This paper shows that adding classical momentum breaks this tradeoff, smoothing out jagged parameter trajectories while preserving fast, provable statistical guarantees.

What Problem Does This Paper Address?

Imagine deploying a black-box machine learning model in the wild, where distributions drift and nature doesn't play nice. Recently, researchers formalized a handy property in online learning called gradient equilibrium (GEQ): if the average of your loss gradients over time converges to zero, you automatically unlock sequential statistical guarantees—like unbiased predictions (via squared loss) or calibrated prediction intervals (via quantile loss).

Standard online gradient descent (GD) achieves GEQ under remarkably weak assumptions. The catch? To drive GEQ error down quickly, you need a relatively large step size $\eta$. In practice, large steps make your sequence of parameter updates ($\theta_t$) look like a seismograph during an earthquake. If $\theta_t$ dictates stock trades or dam gate operations, erratic jumps mean massive transaction costs or mechanical wear. Shrinking the step size calms the jitter, sure, but ruins your convergence rate. Can we get fast equilibrium without the volatility?

Methods

The authors introduce a framework of generalized momentum methods (GMM), where each parameter update is a weighted sum of all past gradients. Within this umbrella, they focus on specific online versions of Polyak’s heavy ball (HB) method and Nesterov momentum.

Crucially, they depart slightly from textbook batch optimization. Instead of just adding a momentum term $\beta(\theta_t - \theta_{t-1})$ to the update, they adopt a moving-average parametrization that scales the current gradient by $(1 - \beta)$ and uses a constant momentum parameter $\beta \in [0, 1)$.

  • For GEQ: To prove convergence for Lipschitz losses that are "restorative" (meaning gradients point back toward the origin far from zero), they construct a clever auxiliary sequence that tracks the total weight each gradient receives over infinite time—which, thanks to the $(1 - \beta)$ scaling, equals $\eta_t$ regardless of $\beta$. For non-Lipschitz squared loss, they analyze heavy ball as a linear dynamical system.
  • For Smoothness: They quantify "jaggedness" using a smoothness penalty based on discrete second derivatives: $\|\theta_{t+1} - 2\theta_t + \theta_{t-1}\|_2$ (essentially measuring local acceleration or whiplash).

Datasets

No new benchmarks are introduced; instead, the authors evaluate their algorithms on two real-world time-series tasks drawn from existing literature and public repositories:

  • BlackBerry Stock Volatility (1999–2025): $T = 5,517$ daily opening prices used to calibrate GARCH(1,1) prediction intervals via quantile loss (following prior online conformal prediction setups).
  • Shasta Reservoir Inflow (2017–2025): $T = 32,407$ hourly observations from the California Data Exchange Center paired with NOAA river forecasts, used to debias water inflow predictions via squared loss.

Key Insights and Ideas

  • Momentum as a stabilizer, not an oscillator: If you know batch optimization, using momentum to smooth trajectories sounds backward—after all, momentum famously causes "Nesterov ripples" and overshooting. Here, the moving-average $(1 - \beta)$ parametrization acts as a low-pass filter on noisy online gradients while keeping the total historical weight of each gradient intact.
  • Breaking the Pareto frontier: In standard GD, smoothness and GEQ error are locked in a rigid tug-of-war controlled by a single knob ($\eta$). Introducing $\beta$ unlocks a strictly better Pareto frontier: for a given smoothness budget $s$, optimizing heavy ball improves the theoretical GEQ error bound from GD's $O(1/s)$ scaling to $O(1/\sqrt{s})$.
Figure 1: Iterate sequences (top) and gradient equilibrium error (bottom) for examples with quantile loss (left) and squared loss (right). Gradient descent (GD) with step size η = 0.005 (black) converges quickly to gradient equilibrium, but produces jagged iterate paths. Heavy ball (HB) with the same step size and momentum parameter β = 0.95 (orange) smooths out these jagged oscillations while leaving the gradient equilibrium error intact (the orange and black curves in the bottom-row plots largely overlap). Decreasing the step size in gradient descent to η = 0.001 (blue) clearly hinders convergence to gradient equilibrium.

Key Results

  • Theoretical parity on GEQ: Heavy ball and Nesterov momentum match standard GD's convergence rates to gradient equilibrium—achieving $O(1/T)$ for univariate restorative losses (like quantile and logistic loss), multivariate losses with positive curvature, and univariate squared loss, and $O(1/\sqrt{T})$ for general multivariate weak curvature.
  • Provable smoothing: The sharp upper bound on heavy ball's smoothness penalty scales with $\frac{2(1-\beta)}{1+\beta}$, shrinking cleanly toward zero as $\beta \to 1$.
  • Empirical dominance: On both the BlackBerry ($\alpha = 0.1$ target error) and Shasta datasets, Heavy Ball ($\eta = 0.005, \beta = 0.95$) visibly strips away high-frequency jitter while tracking the macroscopic dynamics and matching the fast GEQ convergence of aggressive GD ($\eta = 0.005$). Meanwhile, slowing down GD ($\eta = 0.001$) noticeably degrades GEQ error without matching Heavy Ball's tradeoff curve.

Limitations and Future Work

The general GEQ theory here relies on losses being Lipschitz (bounded gradients). While the authors carved out a specialized dynamical-systems proof for univariate squared loss with heavy ball, extending momentum guarantees to general locally Lipschitz losses remains open—in fact, their appendix experiments show unbounded gradients can accumulate and cause momentum iterates to diverge. For future work, the authors point toward studying how trajectory smoothness directly impacts downstream operational costs, incorporating momentum into "lazy" gradient updates (Follow the Regularized Leader), and extending GEQ analysis to adaptive workhorses like Adam.

Summary updated

BibTeX
@misc{romano2026momentum,
  author = {João Vitor Romano and Margaux Zaffran and Ryan J. Tibshirani},
  title = {{Momentum Smooths the Path to Gradient Equilibrium}},
  year = {2026},
  eprint = {2611.40286},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.40286},
}
Figure