Deriving the threshold and the optimal rate
symbolic▲▲△Symbolic throughout.
STATEMENT
Derive, from the update rule alone, the exact condition under which gradient descent converges on a quadratic, the learning rate that converges fastest, and the rate it achieves. The numbers of I.7.B01 should fall out as one instance.
GIVEN
with symmetric positive definite, eigenvalues .
FIND
The error recurrence; the condition on for convergence; the minimising the worst-case per-step contraction; and that contraction in terms of .
STRATEGY
Change coordinates so the problem falls apart. is symmetric, so it has an orthonormal eigenbasis; written in that basis the update decouples into independent scalar recurrences, and a scalar geometric sequence is something whose convergence can simply be read off.
SOLUTION
Step 1 — the error recurrence. The gradient is . Writing and substituting into (I.7.1):
so after steps . The whole trajectory is one matrix raised to a power.
Step 2 — decouple. with orthogonal. Since and , powers pass straight through:
In the rotated coordinates the recurrence is separate scalar ones:
The directions do not interact. This is why one badly served direction cannot be rescued by another going well.
Step 3 — convergence. exactly when , that is . Every direction must converge, so the smallest of those bounds binds:
The condition is necessary as well as sufficient — above it the component along grows geometrically, and no other direction can offset that.
Step 4 — the fastest rate. Asymptotically the slowest-decaying component dominates, so the quantity to minimise is
Each is a V-shaped function of with its minimum at . The maximum over is attained at one of the two extreme eigenvalues: for small by , which decreases, and for large by , which increases. The minimum of the maximum is where they cross:
Step 5 — the rate. Substituting back:
which is (I.7.4). Dividing through by is what turns two eigenvalues into one ratio: only the shape of the problem matters, not its scale.
Step 6 — check against I.7.B01. With : and , matching the measured values exactly.
Answer
Check — sanity
gives . A perfectly conditioned quadratic is solved in a single step, and the formula says so: lands exactly on the optimum. Any correct derivation must reproduce this.
gives . Progress per step vanishes as the problem stiffens, which is the behaviour to expect and the reason the ratio rather than either eigenvalue is the quantity of interest.
lies strictly inside the stability interval. since . The optimum is never on the boundary, which is worth knowing: a rate tuned to the edge of stability is not the fast one.
Where this breaks
Every step used symmetry and positive definiteness. A real loss Hessian is symmetric but is not positive definite away from a minimum: at a saddle it has negative eigenvalues, and for the multiplier exceeds one for every positive . Gradient descent moves away from a saddle along those directions, which is the behaviour wanted, but it means the analysis above describes only the neighbourhood of a minimum and says nothing about the journey there.
The asymptotic framing hides something practical too. governs the long-run rate, and training runs are not long-run: they are stopped after a budget. The transient matters, which is why was beaten at 100 steps by a smaller rate in I.7.B01 despite being optimal in the limit.
Momentum breaks the derivation rather than extending it. Its update depends on two previous iterates, so the recurrence is second-order and the analysis needs the roots of a quadratic characteristic polynomial rather than a single multiplier. That is what produces in place of — I.7.T2, and the subject of I.7.B03.
Variation
Repeat Step 4 for the transient rather than the asymptote: which minimises for a fixed budget and a given ? Show that it depends on , and say what that implies about tuning a learning rate on a short run.