Mert Gürbüzbalaban

Interactive note · October 2026

Speed, robustness and risk


How much does a momentum method amplify the noise in its gradients? Three precise answers — average case, worst case, and risk-sensitive — all read off one curve, with a playground that computes them live. Skip to the playground ↓

Momentum methods converge faster than gradient descent. When the gradients are noisy, they also amplify the noise more. How much more depends on two choices: how the noise is modelled, and what is measured. This note gives three precise answers for the simplest problem where everything has a closed form, a quadratic:

  • an average-case answer, the H2H_2 norm;
  • a worst-case answer, the H∞H_\infty norm;
  • a risk-sensitive answer that sits between the two.

The playground further down lets you move a tuning around and watch all three change.

There are two punchlines. The first is an identity: the risk-sensitive measure is finite exactly up to a threshold θ⋆=d/H∞2\theta^\star = d/H_\infty^2, which is set by the worst-case gain. The second is a tuning: RS-HB, a heavy-ball method I introduced in Gürbüzbalaban, Math. Oper. Res. 2025. It converges faster than Nesterov's method and is exactly as robust to worst-case noise as any method in the family can be.

1. The problem and the methods

We minimize the quadratic

f(x)=12 x⊤Qx,x∈Rd,f(x) = \tfrac12\, x^\top Q x, \qquad x \in \mathbb{R}^d,

where QQ is symmetric with eigenvalues μ=λ1≤⋯≤λd=L\mu = \lambda_1 \le \dots \le \lambda_d = L, μ>0\mu > 0, and κ=L/μ\kappa = L/\mu is the condition number. The minimizer is x⋆=0x^\star = 0, and the suboptimality is f(x)−f⋆=12x⊤Qxf(x) - f^\star = \tfrac12 x^\top Q x.

The generalized momentum method (GMM) has three parameters: a stepsize α>0\alpha > 0 and two momentum parameters β,ν≥0\beta, \nu \ge 0. It uses the gradient only through a noisy estimate ∇f(yk)+wk\nabla f(y_k) + w_k:

xk+1=xk+β (xk−xk−1)−α(∇f(yk)+wk),yk=xk+ν (xk−xk−1).\begin{gathered} x_{k+1} = x_k + \beta\,(x_k - x_{k-1}) - \alpha\big(\nabla f(y_k) + w_k\big), \\ y_k = x_k + \nu\,(x_k - x_{k-1}). \end{gathered}

The vector wkw_k is the gradient error at step kk. The family contains the classical methods as special cases:

  • β=ν=0\beta = \nu = 0 is gradient descent (GD);
  • ν=0\nu = 0 is Polyak's heavy ball (HB);
  • ν=β\nu = \beta is Nesterov's accelerated gradient (NAG);
  • a particular choice with ν≠β\nu \ne \beta is the triple momentum method (TMM).

The playground uses d=2d = 2, Q=diag(μ,L)Q = \mathrm{diag}(\mu, L) and μ=1\mu = 1. Little is lost by this simplification. The worst-case gain and the threshold θ⋆\theta^\star depend only on the two extreme eigenvalues, whatever dd is. For the average-case and risk measures, each interior eigenvalue only adds one more term of the same form.

2. Speed

Without noise (wk=0w_k = 0), the iterates converge to x⋆x^\star linearly. In the eigenbasis of QQ, each coordinate follows its own scalar recursion. For the coordinate along eigenvalue λ\lambda, that recursion has the characteristic polynomial

z2−bλz+cλ,bλ=1+β−αλ(1+ν),cλ=β−αλν.\begin{gathered} z^2 - b_\lambda z + c_\lambda, \\ b_\lambda = 1 + \beta - \alpha\lambda(1+\nu), \qquad c_\lambda = \beta - \alpha\lambda\nu. \end{gathered}

The rate ρ\rho is the largest modulus of a root of these polynomials, taken over the eigenvalues of QQ. The error then behaves like ρk\rho^k, up to a polynomial factor when two roots coincide. The tuning is stable when ρ<1\rho < 1.

Rates close to 11 are hard to compare by eye, so I measure speed instead by

s=11−ρ,s = \frac{1}{1 - \rho},

which is roughly the number of iterations needed to cut the error by a factor of ee (since ρs≈e−1\rho^s \approx e^{-1}). The fastest tunings of each classical method are as follows:

Tuning Iterations per ee-fold, ss At κ=100\kappa = 100
GD with α=2/(L+μ)\alpha = 2/(L+\mu) (κ+1)/2(\kappa+1)/2 50.5
NAG with α=1/L\alpha = 1/L κ\sqrt\kappa 10
Polyak's HB (κ+1)/2(\sqrt\kappa + 1)/2 5.5

3. How noise enters: one curve per direction

Now switch the noise back on. Along an eigenvector uiu_i of QQ with eigenvalue λ=λi\lambda = \lambda_i, the coordinate xk(i)=ui⊤xkx^{(i)}_k = u_i^\top x_k obeys

xk+1(i)−bλ xk(i)+cλ xk−1(i)=−α wk(i),wk(i)=ui⊤wk.\begin{gathered} x^{(i)}_{k+1} - b_\lambda\, x^{(i)}_k + c_\lambda\, x^{(i)}_{k-1} = -\alpha\, w^{(i)}_k, \\ w^{(i)}_k = u_i^\top w_k . \end{gathered}

This is a linear, time-invariant filter, so it is natural to look at it frequency by frequency. I take the output to be zk(i)=λ/2  xk(i)z^{(i)}_k = \sqrt{\lambda/2}\; x^{(i)}_k, because this choice gives

∑i(zk(i))2=f(xk)−f⋆.\textstyle\sum_i \big(z^{(i)}_k\big)^2 = f(x_k) - f^\star .

The transfer function from the noise w(i)w^{(i)} to the output z(i)z^{(i)} is then

Gλ(eiω)=αλ/2  eiωe2iω−bλeiω+cλ,ω∈[−π,π].G_\lambda(e^{i\omega}) = \frac{\alpha\sqrt{\lambda/2}\; e^{i\omega}}{e^{2i\omega} - b_\lambda e^{i\omega} + c_\lambda}, \qquad \omega \in [-\pi, \pi].

Its modulus has a concrete meaning. Feed in the error wk(i)=cos⁡(ωk)w^{(i)}_k = \cos(\omega k). Once the transients have died out, zk(i)z^{(i)}_k is a cosine of the same frequency ω\omega with amplitude ∣Gλ(eiω)∣|G_\lambda(e^{i\omega})|. So ∣Gλ(eiω)∣2|G_\lambda(e^{i\omega})|^2 is the factor by which the algorithm multiplies the power of the noise at frequency ω\omega along that direction. Panel A of the playground plots this gain curve for λ=μ\lambda = \mu and λ=L\lambda = L over ω∈[0,π]\omega \in [0, \pi]; the curve is symmetric in ω\omega, so the other half adds nothing.

Two frequencies have a plain meaning:

  • ω=0\omega = 0 is a constant error, that is, a bias;
  • ω=π\omega = \pi is an error that flips sign at every step.

At ω=0\omega = 0 the gain does not depend on the tuning at all. Since 1−bλ+cλ=αλ1 - b_\lambda + c_\lambda = \alpha\lambda,

∣Gλ(1)∣2=12λfor every stable (α,β,ν).|G_\lambda(1)|^2 = \frac{1}{2\lambda} \quad \text{for every stable } (\alpha, \beta, \nu).

There is a reason that needs no algebra. A constant error ww moves the fixed point of every such method to the point where λx+w=0\lambda x + w = 0, which is the minimizer of the perturbed problem. The suboptimality there is w2/(2λ)w^2/(2\lambda), and no choice of parameters can change it. Keep the number 1/(2μ)1/(2\mu) in mind: it will come back as a floor.

4. Three ways to measure noise amplification

Each of the three measures below is a norm of the same gain curves. They differ in what they assume about wkw_k.

Average case: the H2H_2 norm

Suppose the errors are i.i.d. Gaussian, wk∼N(0,σ2dId)w_k \sim \mathcal N\big(0, \tfrac{\sigma^2}{d} I_d\big), so that E∥wk∥2=σ2\mathbb E\|w_k\|^2 = \sigma^2. Then the iterates do not converge. Instead they settle into a stationary distribution around x⋆x^\star. White noise has the same power at every frequency, so the output power is the average of the gain curve:

lim⁡k→∞E[f(xk)−f⋆]=σ2d ∥G∥H22,∥G∥H22=∑i=1d12π∫−ππ∣Gλi(eiω)∣2 dω.\begin{gathered} \lim_{k\to\infty} \mathbb E\big[f(x_k) - f^\star\big] = \frac{\sigma^2}{d}\, \|G\|_{H_2}^2, \\ \|G\|_{H_2}^2 = \sum_{i=1}^d \frac{1}{2\pi}\int_{-\pi}^{\pi} \big|G_{\lambda_i}(e^{i\omega})\big|^2\, d\omega . \end{gathered}

The playground reports J=∥G∥H22J = \|G\|_{H_2}^2, the area under the gain curves. Up to normalization, this is the noise amplification studied in Aybat, Fallah, Gürbüzbalaban and Ozdaglar, SIAM J. Optim. 2020.

Worst case: the H∞H_\infty norm

Now let the errors be deterministic and chosen by an adversary who knows the tuning. The only constraint is finite energy, ∥w∥2=∑k≥0∥wk∥2<∞\|w\|^2 = \sum_{k \ge 0} \|w_k\|^2 < \infty. Start the method at the optimum, x0=x−1=x⋆x_0 = x_{-1} = x^\star, so that all of the suboptimality is caused by the noise. The robustness of the tuning is the worst ratio of total damage to the energy spent:

H∞2=sup⁡0≠w∈ℓ2  ∑k≥0(f(xk)−f⋆)∑k≥0∥wk∥2.H_\infty^2 = \sup_{0 \ne w \in \ell_2}\; \frac{\sum_{k \ge 0} \big(f(x_k) - f^\star\big)}{\sum_{k \ge 0} \|w_k\|^2} .

H∞H_\infty is the induced ℓ2\ell_2 gain of the system from the noise ww to the output zz. By Parseval's identity it equals the peak of the gain curves:

H∞=max⁡i  max⁡ω∈[−π,π]∣Gλi(eiω)∣.H_\infty = \max_{i}\; \max_{\omega\in[-\pi,\pi]} \big|G_{\lambda_i}(e^{i\omega})\big| .

Gürbüzbalaban, Math. Oper. Res. 2025 gives this maximum in closed form for every GMM tuning, and shows that only the two extreme eigenvalues μ\mu and LL can attain it. There is an equivalent reading that does not mention frequencies. H∞2H_\infty^2 is the smallest constant c2c^2 such that

∑k=0K(f(xk)−f⋆)  ≤  F0+c2∑k=0K∥wk∥2\textstyle\sum_{k=0}^{K} \big(f(x_k) - f^\star\big) \;\le\; F_0 + c^2 \sum_{k=0}^{K} \|w_k\|^2

holds for every horizon KK and every sequence of errors, where F0F_0 depends only on the initialization. Dividing by KK turns this into a 1/K1/K bound for the averaged iterate, with the contributions of the initialization and of the noise kept separate.

What does the worst noise look like? The supremum is not attained, but it is approached by a decaying cosine,

wk(h)=(1−h)kcos⁡(ω⋆k)  u⋆,h↓0,w^{(h)}_k = (1-h)^k \cos(\omega_\star k)\; u_\star, \qquad h \downarrow 0,

where u⋆u_\star is the eigenvector and ω⋆\omega_\star the frequency at which the peak occurs. In other words, the adversary puts all of its energy where the filter resonates. For the named tunings on this page, the peak sits at one of the two ends of the frequency range:

  • For the robust tunings, the peak is at ω⋆=0\omega_\star = 0 along the flattest direction (λ=μ\lambda = \mu). The worst error is a slowly fading bias.
  • For Polyak's heavy ball and the fastest GD, the peak is at ω⋆=π\omega_\star = \pi along the steepest direction (λ=L\lambda = L). The worst error flips sign at every step. For these tunings, the roots for that mode lie on the negative real axis, so the mode itself alternates in sign and resonates with such an error.

Interior peaks also occur. For example, heavy ball with α=1/L\alpha = 1/L and β=0.95\beta = 0.95 peaks at ω⋆≈1.06\omega_\star \approx 1.06; try it.

The floor. Since ∣Gμ(1)∣2=1/(2μ)|G_\mu(1)|^2 = 1/(2\mu) for every tuning, the peak can never be lower than that:

H∞2  ≥  12μfor every stable GMM tuning.H_\infty^2 \;\ge\; \frac{1}{2\mu} \qquad \text{for every stable GMM tuning.}

Several tunings attain this floor: GD with α=1/L\alpha = 1/L, Nesterov's method, RS-GD and RS-HB. Polyak's heavy ball and the fastest GD have H∞2=κ/(2μ)H_\infty^2 = \kappa/(2\mu), which is κ\kappa times the floor. In panel B, the "Worst case" axis shows H∞2H_\infty^2 divided by the floor, so the floor is 11.

In between: the risk-sensitive index

Go back to random noise, but now care about rare bad runs, not only about the mean. Let

SK=∑k=0K(f(xk)−f⋆)S_K = \sum_{k=0}^{K} \big(f(x_k) - f^\star\big)

be the suboptimality accumulated up to step KK. For a risk-aversion parameter θ>0\theta > 0, the risk-sensitive index is

R(θ)=lim sup⁡K→∞2σ2(K+1)θlog⁡E[exp⁡(θ2σ2 SK)].R(\theta) = \limsup_{K\to\infty} \frac{2\sigma^2}{(K+1)\theta} \log \mathbb E\Big[\exp\Big(\frac{\theta}{2\sigma^2}\, S_K\Big)\Big].

Two remarks explain this definition.

  • It is an entropic risk. The quantity 1tlog⁡E etX\tfrac1t \log \mathbb E\, e^{tX} is the entropic risk of a random cost XX at aversion tt. Because of the exponential, large values of XX weigh more than their probability alone would suggest. As tt increases, the entropic risk moves from the mean of XX (as t→0t \to 0) toward its essential supremum (as t→∞t \to \infty). Here it is applied to the accumulated cost and normalized per step.
  • The normalization by 2σ22\sigma^2 makes θ\theta independent of the noise level. SKS_K scales like σ2\sigma^2, so the place where R(θ)R(\theta) becomes infinite does not depend on σ2\sigma^2.

Expanding log⁡E etX=t EX+t22Var X+O(t3)\log \mathbb E\, e^{tX} = t\,\mathbb E X + \tfrac{t^2}{2}\mathrm{Var}\,X + O(t^3) shows what θ\theta adds to the mean:

R(θ)=R(0)+θ4σ2 v+O(θ2),R(0)=σ2d ∥G∥H22,v=lim⁡K→∞Var(SK)K+1.\begin{gathered} R(\theta) = R(0) + \frac{\theta}{4\sigma^2}\, v + O(\theta^2), \\ R(0) = \frac{\sigma^2}{d}\,\|G\|_{H_2}^2, \qquad v = \lim_{K\to\infty}\frac{\mathrm{Var}(S_K)}{K+1}. \end{gathered}

So R(0)R(0) is the average-case answer from the H2H_2 subsection, and the first correction is the long-run variance of the accumulated cost. I call R(θ)−R(0)R(\theta) - R(0) the risk premium.

For quadratics with Gaussian noise, Gürbüzbalaban, Syed and Aybat, J. Nonlinear Var. Anal. 2026 compute R(θ)R(\theta) exactly. The original characterization is a 2d×2d2d \times 2d Riccati equation. The paper decouples it into dd equations of size 2×22 \times 2, each solvable by hand, and gives an equivalent integral form over frequencies:

R(θ)=−σ2θ∑i=1d12π∫−ππlog⁡(1−θd∣Gλi(eiω)∣2) dωfor θ<θ⋆,R(θ)=+∞  otherwise,\begin{gathered} R(\theta) = -\frac{\sigma^2}{\theta}\sum_{i=1}^{d}\tfrac{1}{2\pi}\int_{-\pi}^{\pi} \log\Big(1 - \tfrac{\theta}{d}\big|G_{\lambda_i}(e^{i\omega})\big|^2\Big)\, d\omega \\ \text{for } \theta < \theta^\star, \qquad R(\theta) = +\infty \ \text{ otherwise,} \end{gathered}

where

θ⋆=dH∞2.\theta^\star = \frac{d}{H_\infty^2}.

The wall. The integral form shows why R(θ)R(\theta) breaks down at θ⋆\theta^\star. The logarithm requires ∣G∣2<d/θ|G|^2 < d/\theta at every frequency; in words, the gain curves must stay below the horizontal line at height d/θd/\theta. Raising θ\theta lowers that line. The moment the line touches the peak H∞2H_\infty^2, the integral diverges and the risk becomes infinite. So the worst-case gain sets the budget of risk aversion a tuning can afford. Panel A draws the line d/θd/\theta, and panel C draws R(θ)R(\theta) up to the wall.

What the wall means for tails. The same paper proves a large-deviation principle for the time-averaged suboptimality:

P(SKK+1≈s)≍e−K I(s),I(s)=sup⁡θ<θ⋆  θ2σ2 (s−R(θ)).\begin{gathered} \mathbb P\Big(\tfrac{S_K}{K+1} \approx s\Big) \asymp e^{-K\, I(s)}, \\ I(s) = \sup_{\theta < \theta^\star}\; \frac{\theta}{2\sigma^2}\,\big(s - R(\theta)\big). \end{gathered}

Because RR is finite exactly up to θ⋆\theta^\star, the ratio I(s)/sI(s)/s tends to θ⋆/(2σ2)\theta^\star/(2\sigma^2) as s→∞s \to \infty. Large values of the averaged suboptimality are therefore exponentially unlikely, and θ⋆\theta^\star is their decay rate. In this sense, a smaller H∞H_\infty means lighter tails. On the test problem (κ=100\kappa = 100, d=2d = 2, μ=1\mu = 1), the floor is H∞2=1/2H_\infty^2 = 1/2. Every tuning at the floor has θ⋆=4\theta^\star = 4, while Polyak's heavy ball and the fastest GD have θ⋆=0.04\theta^\star = 0.04.

5. RS-HB: fast and optimally robust

The table in section 2 suggests a trade-off: Polyak's heavy ball is the fastest, but it is also the most fragile. RS-HB, from Gürbüzbalaban, Math. Oper. Res. 2025 (Proposition 4.3), shows that much of this speed can be kept at the robustness floor. It is a heavy-ball method (ν=0\nu = 0) with

α=a2L,β=(1−aκ)2,a=a(κ)=κ (2κ−1−1)κ−1,κ≥32.\begin{gathered} \alpha = \frac{a^2}{L}, \qquad \beta = \Big(1 - \frac{a}{\sqrt\kappa}\Big)^2, \\ a = a(\kappa) = \frac{\sqrt\kappa\,\big(\sqrt{2\kappa-1} - 1\big)}{\kappa - 1}, \qquad \kappa \ge 32 . \end{gathered}

The name stands for robustly stable heavy ball, after the paper's title. The paper proves two things about this tuning:

  • H∞2=1/(2μ)H_\infty^2 = 1/(2\mu), the floor;
  • its rate is ρ=1−2/κ+O(1/κ)\rho = 1 - \sqrt{2}/\sqrt{\kappa} + O(1/\kappa).

Nesterov's rate is 1−1/κ1 - 1/\sqrt\kappa, so for large κ\kappa, RS-HB needs about 1/21/\sqrt2 as many iterations at the same worst-case robustness. At κ=100\kappa = 100, a=1.324a = 1.324 and RS-HB needs 7.55 iterations per ee-fold, against Nesterov's 10. For comparison, the family α=a2/L\alpha = a^2/L, β=(1−a/κ)2\beta = (1 - a/\sqrt\kappa)^2 gives ρ=1−1/κ\rho = 1 - 1/\sqrt\kappa at a=1a = 1, and Polyak's tuning is close to a=2a = 2.

RS-HB does not win on every measure. Two caveats are worth stating:

  • It is not the fastest tuning at the floor. A numerical search over all three parameters finds tunings at the floor with about 6.1 iterations per ee-fold. Those tunings have no closed form; RS-HB is the explicit one. Panel B shows the whole frontier.
  • Its average-case cost is higher than Nesterov's. At κ=100\kappa = 100 the two have the same H∞H_\infty, but RS-HB's JJ is larger, 0.053 against 0.018. Its risk at θ=2\theta = 2 is also larger, 0.030 against 0.011. The two measures rank these tunings differently, which is the reason for having more than one.

For κ<32\kappa < 32, outside the range of the proposition, the playground uses a=1a = 1.

6. The playground

At the top of the playground you choose the condition number and a named tuning. Below that, sliders set αL\alpha L, β\beta and ν\nu, with a choice of family: ν=0\nu = 0 (heavy ball), ν=β\nu = \beta (Nesterov-type), or free ν\nu. Further sliders set the noise level σ2\sigma^2 and the risk aversion θ\theta. The red stop on the θ\theta slider marks the current tuning's wall θ⋆\theta^\star. The readouts underneath are the quantities defined above.

  • Panel A plots the gain curves ∣Gμ∣2|G_\mu|^2 and ∣GL∣2|G_L|^2 on a log scale.
    • Their mean over frequency is JJ, and their peak is H∞2H_\infty^2.
    • The dashed curves are the tilted gains −dθlog⁡(1−θd∣G∣2)-\tfrac{d}{\theta}\log\big(1 - \tfrac{\theta}{d}|G|^2\big). Their mean over frequency, summed over the two modes and multiplied by σ2/d\sigma^2/d, is R(θ)R(\theta).
    • The tilted curves blow up where the solid curves meet the line d/θd/\theta.
    • The inset shows the roots of the two characteristic polynomials inside the unit circle. A root close to the circle produces a sharp peak.
  • Panel B is the speed–risk map. The horizontal axis is speed, ss. The vertical axis is one of three measures: H∞2H_\infty^2 divided by the floor ("Worst case"), JJ ("Average"), or R(2)R(2) ("Risk, θ = 2"). Each curve is a frontier: the smallest value of the measure that one family (GD, heavy ball, Nesterov-type, or all of GMM) can reach at a given speed. The frontiers were computed with the paper's solver. You can drag the ring along a frontier, and the sliders follow.
  • Panel C is the risk budget: R(θ)R(\theta) from small θ\theta up to the wall, with the risk-neutral level R(0)R(0) marked.

Momentum under noise · the quadratic f = (μx₁² + Lx₂²)/2, μ = 1, d = 2

κ = L/μ
Tuning
rate ρ
0.8676
iterations / e-fold
7.55
H∞
0.707
J = H₂²
0.0533
R(0)
0.0266
R(θ)
0.0299
wall θ* = d/H∞²
4.00
A The curve: how much each frequency of the noise is amplified
1e-41e-30.010.1100.25π0.5π0.75ππfrequency ω|G(e^iω)|²d/θ: the tilted curve blows up hereH∞² (peak)poles · unit circle

λ = μ λ = L solid: the gain |G|². Its mean over ω, summed over the two modes, is J = H₂²; the higher of the two peaks is H∞². Dashed: the risk-tilted curve −(d/θ)·log(1 − (θ/d)|G|²); its mean, summed over the modes and multiplied by σ²/d, is R(θ). It sits above |G|² and blows up where |G|² reaches d/θ, so the risk is infinite once the peak H∞² touches that line: that is the wall θ* = d/H∞².

B The map: the fastest tunings at each level of risk
110100125102050100iterations per e-fold, 1/(1 − ρ) (slower →)H∞² / floorloading the frontiers for κ = 100…GD, 1/LGD (fastest)RS-GDNesterovHB (fastest)RS-HBTriple momentum

all GMMheavy ball (ν = 0)Nesterov-type (ν = β)gradient descentEach curve is the smallest risk a family can reach at a given speed (computed with the paper’s solver; the worst-case axis is H∞² divided by its floor 1/(2μ)). The ringed dot is your tuning. Drag along a curve to take that frontier tuning.

C The budget: what risk aversion costs this tuning
0.050.001 θ*0.01 θ*0.1 θ*θ*risk aversion θ (log scale, up to the wall)R(θ)R(0) = σ²J/d, the risk-neutral level

At θ = 2.00 the risk premium is R(θ) − R(0) = 0.00324 (12% over the risk-neutral level). It grows slowly at first and without bound as θ approaches the wall.

7. What to try

  1. RS-HB against Nesterov. The page opens on RS-HB at κ=100\kappa = 100; now press Nesterov. In panel A, both λ=μ\lambda = \mu curves peak on the floor at ω=0\omega = 0, so both tunings have the wall θ⋆=4\theta^\star = 4. The difference is the λ=L\lambda = L curve. RS-HB's has a bump near ω=π/2\omega = \pi/2, about half as high as the floor, and Nesterov's does not; that bump accounts for most of RS-HB's larger JJ. In exchange, RS-HB needs 7.6 iterations per ee-fold, against Nesterov's 10.
  2. Polyak's heavy ball. Press HB (fastest). It needs 5.5 iterations per ee-fold, but the λ=L\lambda = L curve now peaks at ω=π\omega = \pi, at 100 times the floor. The wall drops to 0.040.04, and at the default θ=2\theta = 2 the risk is infinite.
  3. Walk along a frontier. In panel B, switch between Worst case, Average and Risk, θ = 2, and drag the ring along a frontier. The all GMM frontier stays at the floor down to about 6 iterations per ee-fold, then rises steeply: the last bit of speed costs a factor of κ\kappa in worst-case damage.
  4. Find the wall. Raise θ\theta until its slider reaches the red stop. In panel A, the line d/θd/\theta comes down to meet the peak, and the dashed curves blow up there.
  5. An interior resonance. Choose ν = 0, set αL=1\alpha L = 1 and β=0.95\beta = 0.95. The peak moves to an interior frequency, and the roots in the inset approach the unit circle.

What this page does not show

Everything above is exact, but only for quadratics with Gaussian noise. The papers go further:

  • For smooth, strongly convex functions, the closed forms become bounds certified by small matrix inequalities.
  • The JNVA paper treats biased noise and gives finite-time, high-probability guarantees.
  • Can and Gürbüzbalaban design risk-averse tunings based on entropic risk and the entropic value at risk.

Speed is bought with peak gain, and the peak gain is the risk budget: a tuning can afford risk aversion θ exactly when H∞² < d/θ. RS-HB shows that a good part of the speed of momentum can be had at the robustness floor.

The closed forms in the playground are ported from the code behind the papers’ figures and agree with it to nine digits; the frontiers were computed with the paper’s solver for κ = 10, 30, 100, 300 and 1000. Comments and corrections are welcome by email.