Mert Gürbüzbalaban

A research note, October 2026; about 11 minutes to read

Can momentum survive a delay?


In an asynchronous system the gradient you receive was computed a few steps ago. No retuning of heavy ball or Nesterov's method survives that: with any fixed delay, both fall back toward the gradient-descent rate. A momentum method that extrapolates its gradient query by more than the delay keeps the acceleration, and the reason can be read off a characteristic polynomial.

The papers this note accompanies

DREAM: delay-resistant acceleration with momentum (arXiv, 2026)

Accelerated methods are the workhorses of large-scale optimization, and their theory rests on a small assumption that distributed systems break all the time: that the gradient used at step kk is the gradient at the current point. When several workers compute gradients in parallel and a shared iterate moves on while they work, the gradient that arrives at step kk describes the iterate as it was some steps earlier. It is stale. The question of this note, and of the paper it accompanies, is whether momentum methods can stay accelerated on stale gradients, and if so, how.

The answer has two halves. Heavy ball and Nesterov's method cannot, however their parameters are retuned. A third method can, by matching one of its parameters to the delay. The playground lets you run all three.

The setting: a fixed delay, no idling

Fix an integer delay τ≥1\tau \ge 1. We minimize an LL-smooth, μ\mu-strongly convex function ff with condition number κ=L/μ\kappa = L/\mu, and at iteration kk the oracle returns ∇f(yk−τ)\nabla f(y_{k-\tau}): the gradient at the point queried τ\tau iterations ago. The method is non-idling: it takes a step with every gradient that arrives, rather than waiting until a gradient at its current point is available.

This is an idealization of asynchronous optimization, chosen to isolate one effect. Real delays vary across workers and iterations, and real gradients are noisy; here the delay is constant and the gradient is exact, so that whatever changes is due to staleness alone.

One can always match the delay by waiting. Run Nesterov's method, make one update every τ+1\tau + 1 iterations when a fresh gradient has arrived, and idle in between. This reaches accuracy ε\varepsilon in O((τ+1)κlog⁡(1/ε))O\big((\tau+1)\sqrt{\kappa}\log(1/\varepsilon)\big) iterations, and a lower bound of Arjevani, Shamir and Srebro says that no first-order method using τ\tau-delayed gradients, in high enough dimension, can do better than

Ω ⁣((τ+1)κ log⁡(1/ε))\Omega\!\big((\tau+1)\sqrt{\kappa}\,\log(1/\varepsilon)\big)

iterations, even on quadratics. So the factor τ+1\tau + 1 is the price of the delay, and it cannot be avoided. The waiting method pays it by discarding τ\tau of every τ+1\tau+1 gradients. The question is whether a method that uses every stale gradient can reach the same scaling: an iteration complexity proportional to τκ\tau\sqrt{\kappa}, rather than to τκ\tau\kappa, which is what delayed gradient descent achieves.

One family, three dials

All the methods in this note are members of the generalized momentum method with a delay:

yk=xk+ν (xk−xk−1),xk+1=xk−α ∇f(yk−τ)+β (xk−xk−1).y_k = x_k + \nu\,(x_k - x_{k-1}), \qquad x_{k+1} = x_k - \alpha\,\nabla f(y_{k-\tau}) + \beta\,(x_k - x_{k-1}).

Here α>0\alpha > 0 is the stepsize, β≥0\beta \ge 0 the momentum, and ν≥0\nu \ge 0 the extrapolation: how far ahead of the current iterate the gradient is queried. Heavy ball is ν=0\nu = 0 (query at the iterate itself), and Nesterov's method is ν=β\nu = \beta (query at the momentum-extrapolated point). Every parameter is constant; the delay is the only thing that changes from the classical recursion. The methods start from a constant history x−τ−1=⋯=x0x_{-\tau-1} = \dots = x_0.

What "accelerated" means here

On a quadratic f(x)=12x⊤Qxf(x) = \tfrac12 x^\top Q x the recursion decouples along the eigenvectors of QQ, and along an eigenvector with eigenvalue λ\lambda the error satisfies a linear recurrence of order τ+2\tau + 2. Its characteristic polynomial is

Pτ,δ(z)=zτ(z−1)(z−β)+δ ((1+ν) z−ν),δ=αλ.P_{\tau,\delta}(z) = z^{\tau}(z-1)(z-\beta) + \delta\,\big((1+\nu)\,z - \nu\big), \qquad \delta = \alpha\lambda .

The method converges on every quadratic with spectrum in [μ,L][\mu, L] if and only if

ρ(α,β,ν)=sup⁡λ∈[μ,L]max⁡{∣z∣:Pτ,αλ(z)=0}<1,\rho(\alpha,\beta,\nu) = \sup_{\lambda \in [\mu, L]} \max\{|z| : P_{\tau,\alpha\lambda}(z) = 0\} < 1,

and then ∥xk−x⋆∥≤ck ρk\|x_k - x^\star\| \le c_k\,\rho^k with ckc_k growing at most polynomially. So ρ\rho is the rate, and 1−ρ1 - \rho, the spectral gap, is the quantity to maximize over the parameters. Without delay, gradient descent has 1−ρ≍1/κ1 - \rho \asymp 1/\kappa, while heavy ball and Nesterov's method have 1−ρ≍1/κ1 - \rho \asymp 1/\sqrt{\kappa}. That square root is what accelerated means: on a plot of log⁡(1−ρ)\log(1-\rho) against log⁡κ\log\kappa, an accelerated method is a line of slope −12-\tfrac12, and a non-accelerated one a line of slope −1-1.

For each delay, let ρHB⋆(τ,κ)\rho^\star_{\mathrm{HB}}(\tau,\kappa) and ρNAG⋆(τ,κ)\rho^\star_{\mathrm{NAG}}(\tau,\kappa) be the smallest rates heavy ball and Nesterov's method can reach over all stable choices of their two parameters. This is the fairest possible comparison: each classical method is allowed to know the delay and to retune itself for it.

Delay kills classical momentum

The paper's first main result is that retuning does not help:

1−ρHB⋆(τ,κ)=Oτ(κ−1)    (τ≥1),1−ρNAG⋆(τ,κ)={Θ(κ−2/3)τ=1,Oτ(κ−1)τ≥2,1 - \rho^\star_{\mathrm{HB}}(\tau,\kappa) = O_\tau(\kappa^{-1}) \;\;(\tau \ge 1), \qquad 1 - \rho^\star_{\mathrm{NAG}}(\tau,\kappa) = \begin{cases} \Theta(\kappa^{-2/3}) & \tau = 1,\\[2pt] O_\tau(\kappa^{-1}) & \tau \ge 2, \end{cases}

as κ→∞\kappa \to \infty, with constants that may depend on τ\tau but not on κ\kappa. Heavy ball loses the square root at the first step of delay. Nesterov's method is more robust: with a one-step delay its best gap scales like κ−2/3\kappa^{-2/3}, which is strictly between the accelerated and the non-accelerated exponents, and the paper shows this exponent is sharp. From two steps of delay on, it too is non-accelerated. Both statements are about the full range of stable constant parameters: there is no clever stepsize or momentum to find.

The numbers agree. Tuning each method numerically at each κ\kappa and fitting the slope of log⁡(1−ρ⋆)\log(1-\rho^\star) against log⁡κ\log\kappa gives, from the paper's experiments,

Method τ = 1 τ = 5 τ = 10 τ = 100
Gradient descent −1.00 −1.00 −1.00 −1.00
Heavy ball −1.00 −1.00 −1.00 −1.00
Nesterov −0.66 −1.00 −1.00 −1.00
DREAM −0.48 −0.49 −0.49 −0.49

The last row is the method introduced next.

Two log-log panels of the spectral gap against the condition number, for delays one and five. Gradient descent, heavy ball and Nesterov, each numerically tuned, follow lines of slope near minus one, except Nesterov at delay one with slope near minus two thirds; DREAM follows a line of slope near minus one half in both panels.
The largest spectral gap each method can reach, against κ, for delays τ = 1 and τ = 5 (numerically tuned gradient descent, heavy ball and Nesterov; DREAM with its formula). The slopes are fitted over κ ≥ 100.

Why: the query must lead the iterate by more than the delay

Here is a way to read what goes wrong, and what fixes it. Near convergence, along the slow direction of an accelerated method, the iterates move with a nearly constant velocity vv per step, so xk≈xk−τ+τvx_k \approx x_{k-\tau} + \tau v. The gradient available at step kk was taken at

yk−τ=xk−τ+ν (xk−τ−xk−τ−1)≈xk+(ν−τ) v.y_{k-\tau} = x_{k-\tau} + \nu\,(x_{k-\tau} - x_{k-\tau-1}) \approx x_k + (\nu - \tau)\,v .

With ν=τ\nu = \tau the stale query point coincides, to first order, with the current iterate; with ν>τ\nu > \tau it lies slightly ahead of it, which is exactly where Nesterov's method queries without delay. With ν≤τ\nu \le \tau the method is steering by a gradient taken behind where it stands. Heavy ball has ν=0\nu = 0 and Nesterov's method has ν=β<1\nu = \beta < 1, so neither can get ahead of a delay of one step or more.

The paper makes this precise. For the parameterization α=δL/L\alpha = \delta_L/L, β=1−2δL/κ\beta = 1 - 2\sqrt{\delta_L}/\sqrt{\kappa}, the rate satisfies ρ≤1−γ/κ\rho \le 1 - \gamma/\sqrt{\kappa} for every γ<δL\gamma < \sqrt{\delta_L} and all large κ\kappa, provided the limiting polynomial

P∞(z;δ,ν)=zτ(z−1)2+δ ((1+ν)z−ν)P_\infty(z;\delta,\nu) = z^{\tau}(z-1)^2 + \delta\,\big((1+\nu)z - \nu\big)

has all its roots inside the unit circle for every 0<δ≤δL0 < \delta \le \delta_L; and this is impossible unless ν>τ\nu > \tau. The extrapolation has to exceed the delay. Since ν\nu is tied to β\beta in Nesterov's method and to zero in heavy ball, the only way out is to let ν\nu be a third, independent dial.

DREAM

The paper's method, delay-resistant acceleration with momentum, is the generalized momentum method with

M=2τ+1,α=1M2L,β=1−2Mκ,ν=M−12=2τ+12.M = 2\tau + 1, \qquad \alpha = \frac{1}{M^2 L}, \qquad \beta = 1 - \frac{2}{M\sqrt{\kappa}}, \qquad \nu = M - \tfrac12 = 2\tau + \tfrac12 .

The extrapolation is a little more than twice the delay. The stepsize and the momentum are exactly Nesterov's for a problem whose smoothness constant has been inflated from LL to M2LM^2 L, so that its condition number reads M2κM^2\kappa; the extrapolation is the new ingredient. On quadratics the rate is

ρ  ≤  1−12Mκ=1−12(2τ+1)κ\rho \;\le\; 1 - \frac{1}{2M\sqrt{\kappa}} = 1 - \frac{1}{2(2\tau+1)\sqrt{\kappa}}

for all sufficiently large κ\kappa. The square root is back, and the delay enters only through the constant 2τ+12\tau+1, as the lower bound says it must. For τ=1\tau = 1 there is a sharper, fully explicit tuning whose worst-case rate is exactly 1−1/(2κ)1 - 1/(2\sqrt{\kappa}) for every κ≥1\kappa \ge 1, and the paper shows that the coefficient 12\tfrac12 cannot be improved by any constant-parameter method of this family.

Left: the iterates of heavy ball, Nesterov and DREAM on the elliptical level sets of a quadratic with condition number 100 under a delay of two, from a common start; the two classical methods zigzag down the valley while DREAM goes nearly straight. Right: the normalized objective error against iterations on a log scale, with DREAM's line far steeper.
The race at τ = 2 and κ = 100, the playground's opening configuration. Heavy ball and Nesterov use the parameters that minimize their worst-case rate for this delay; DREAM uses its formula. Every method takes one step per stale gradient.

Is the constant 1/(2M)1/(2M) the best possible? Not quite. The paper solves the design problem exactly: among all ν>τ\nu > \tau, the largest rate coefficient this analysis can certify is cτcritc^{\mathrm{crit}}_\tau, attained at an extrapolation ντcrit≈1.72 τ\nu^{\mathrm{crit}}_\tau \approx 1.72\,\tau for large delays, and cτcrit≈0.74/τc^{\mathrm{crit}}_\tau \approx 0.74/\tau. The simple choice above keeps more than a third of that. It was kept because its parameters also work beyond quadratics, which is the second half of the paper.

Beyond quadratics

Stability of the characteristic polynomial says nothing, by itself, about a non-quadratic ff: the gradient is then a nonlinear map, and a method can be stable on every quadratic in a class and still fail on some strongly convex function in it, as heavy ball famously does. To carry the rate over to all LL-smooth, μ\mu-strongly convex functions, the paper writes the delayed method as a feedback loop between a linear system with delay and the gradient map, and certifies the rate with an integral quadratic constraint of Zames–Falb type, weighted by the rate and taken over a finite horizon. These constraints capture relations between gradients at different points along the trajectory, which pointwise smoothness and convexity inequalities miss.

The outcome is a theorem with the same shape as the quadratic one. For every fixed delay and every c∈(0,2/3)c \in (0, 2/3), there is a threshold κ0(τ,c)\kappa_0(\tau, c) such that for κ≥κ0\kappa \ge \kappa_0, DREAM satisfies

∥xk−x⋆∥≤C (1−cMκ)k\|x_k - x^\star\| \le C\,\Big(1 - \frac{c}{M\sqrt{\kappa}}\Big)^{k}

on every function in the class, from every starting history. With the constant-history start the threshold and the prefactor are polynomial in MM: κ0=O(M8)\kappa_0 = O(M^8) and C=O(M5κ2) ∥x0−x⋆∥C = O(M^5\kappa^2)\,\|x_0 - x^\star\|. Reaching accuracy ε\varepsilon therefore takes

O ⁣(Mκ [log⁡(μR2/ε)+log⁡M+log⁡κ])O\!\Big(M\sqrt{\kappa}\,\big[\log(\mu R^2/\varepsilon) + \log M + \log\kappa\big]\Big)

iterations, which is the lower bound up to the logarithms. What makes the certificate usable is that it is analytic: as κ→∞\kappa \to \infty the frequency-domain condition reduces to the positivity of an explicit trigonometric polynomial, and the finite-κ\kappa case is handled by estimates near and away from frequency zero. There is no semidefinite program to solve for each delay and no numerical search over frequencies; the parameters are written down, and the proof holds for every τ\tau at once.

For smooth convex functions that are not strongly convex, DREAM serves as the inner solver of an accelerated proximal-point scheme in the style of Catalyst. When the target accuracy is small enough, the total number of stale-gradient updates is O~((τ+1)LR2/ε)\widetilde O\big((\tau+1)\sqrt{LR^2/\varepsilon}\big), again the delayed lower bound up to logarithms.

What the experiments add

Two findings go beyond the theorems. On ℓ2\ell_2-regularized logistic regression, a smooth strongly convex problem that is not quadratic, the number of iterations needed to reach a fixed accuracy grows like κ\sqrt{\kappa} for DREAM and drifts toward κ\kappa for heavy ball and Nesterov's method as the delay grows, reproducing the quadratic picture. And the delay does not have to be known exactly: designing the parameters for a conservative upper bound τ^=10\hat\tau = 10 while the true delay is anywhere from 00 to 1010 keeps the κ\sqrt{\kappa} scaling and changes only the constant in front. In practice, overestimating the delay is safe; underestimating it is what the first half of the note warns against.

Momentum alone cannot look far enough ahead to make up for a stale gradient. Extrapolate the gradient query by more than the delay and the acceleration survives, at a cost of a factor 2τ + 1 in the rate, which no method can avoid.

What the theory leaves open is also clear: delays that vary over time or across workers, stochastic gradients, and non-convex objectives. The lesson so far is that staleness need not cost the square root, provided the dynamics of the method are matched to the structure of the delay.

Comments and corrections are welcome by email. More notes on the notes index, or subscribe via RSS.