The step size is \(\alpha=0.019\). It is below the classical stability limit. The objective decreases at every step. Yet the second coordinate crosses zero on every update while the first coordinate appears almost frozen.
ImportantPrediction
Before running the recurrence, decide:
Which coordinate limits the largest safe step?
Which coordinate determines the time needed to reach a small error?
Can a decreasing scalar objective reveal the sign alternation?
Name the quantity you would record to distinguish the three answers.
4.1 Rotate the trace, not the story
A first optimization course supplies the update \(\vect{w}_{t+1}=\vect{w}_t-\alpha\nabla\loss(\vect{w}_t)\). The diagnostic question begins after that line: what does the update do in each direction?
The opening study uses a centered quadratic, so \(\vect{e}_t\) is both the iterate and the error from the minimizer. It verifies and activates its exact vendored harness wheel before importing the quadratic instruments.
Load the chapter-pinned quadratic instruments.
Run four hundred exact quadratic steps.
Rotate the iterates into Hessian eigencoordinates.
Assert the closed form and classify the mode factors.
Figure 4.1: The same scalar step creates two clocks. The flat mode stays positive and decays by 0.981 per step; the sharp mode alternates sign and decays in magnitude by 0.9. The figure establishes the exact behavior of this fixed quadratic recurrence, not the behavior of a changing training landscape.
The sharp mode limits the step because its multiplier reaches magnitude one first. It does not set the stopping time here. Its magnitude falls below \(10^{-3}\) after 66 steps, whereas the flat mode waits 361 steps. The scalar objective is monotone because it squares the coordinates; it cannot show that the sharp coordinate changes sign.
4.2 The update matrix is the instrument
Let \(\matr{Q}\in\mathbb{R}^{d\times d}\) be symmetric positive definite and
The recurrence is diagonal, so the \(k\)th coordinate multiplies by \(1-\alpha\lambda_k\) at every step, which gives Equation 4.3. That coordinate converges for every initial value exactly when \(|1-\alpha\lambda_k|<1\), or \(0<\alpha\lambda_k<2\). Satisfying the inequality for the largest eigenvalue satisfies it for all modes. \(\square\)
The same recurrence is explicit Euler applied to the quadratic gradient flow
\[
\dot{\vect{e}}(t)=-\matr{Q}\vect{e}(t),
\]
with time step \(h=\alpha\). On an eigenmode of curvature \(\lambda_k\), the continuous flow multiplies by \(e^{-h\lambda_k}\) while explicit Euler uses its stability polynomial \(R(-h\lambda_k)=1-h\lambda_k\). Thus the optimization boundary \(0<h\lambda_k<2\) is also a discretization-stability boundary. This identity is exact for the fixed quadratic control. It does not say that a nonlinear stochastic training trajectory is merely its continuous gradient flow sampled on a grid.
Mode factor \(r_k=1-\alpha\lambda_k\)
What the coordinate does
\(0<r_k<1\)
decays without changing sign
\(-1<r_k<0\)
decays while alternating sign
\(r_k=0\)
vanishes in one step
\(|r_k|=1\)
remains on the stability boundary
\(|r_k|>1\)
grows in magnitude
WarningNamed wrong answer: ‘The largest eigenvalue controls convergence’
It controls the largest stable scalar step. Once that step is chosen, the smallest eigenvalue often controls the slowest decay. “Controls convergence” collapses two different diagnostic jobs into one phrase.
This is the first public object in the landscape/update-geometry thread: the landscape supplies eigendirections and curvature; the update assigns a scalar multiplier to each one.
4.3 The condition number is a waiting-time tax
A smaller step avoids divergence but does not make all clocks agree. Define
Because \(\lambda\mapsto|1-\alpha\lambda|\) is convex, its maximum on \([\lambda_{\min},\lambda_{\max}]\) occurs at an endpoint. At the minimax step, the endpoint errors have equal magnitude and opposite signs:
When \(\kappa\) is large, \(\rho^\star\) is close to one. A scalar step cannot simultaneously erase a flat mode and remain stable in a sharp mode.
The word best needs an object.
The step above is minimax over every eigenvalue in the interval and remains fixed for every iteration. If the question is instead “which step minimizes the objective along the current negative-gradient direction?”, the answer changes. With \(\vect{g}_t=\matr{Q}\vect{e}_t\),
Its denominator is curvature in the direction the update actually uses, not the largest curvature available anywhere. The value lies between \(1/\lambda_{\max}\) and \(1/\lambda_{\min}\) and can exceed \(2/\lambda_{\max}\) while still decreasing this quadratic on the current step. That does not repeal Equation 4.4: it answers a different question with a state-dependent step.
We now have three distinct optimization targets: a worst-direction fixed step, a current-direction one-step choice, and a sequence chosen for progress over a horizon. C16 will add the missing complication that the curvature and the active directions can move with the trajectory.
4.4 Change the geometry seen by the update
Consider a positive-definite matrix \(\matr{P}\) and the update
This is a matrix change of scale, or preconditioning. The relevant eigenvalues are those of the effective operator. For positive \(\matr{P}\) and \(\matr{Q}\), \(\matr{P}\matr{Q}\) is similar to the symmetric positive matrix \(\matr{P}^{1/2}\matr{Q}\matr{P}^{1/2}\), so its eigenvalues are positive. The repair succeeds when those eigenvalues are more tightly clustered.
The next control does not use the oracle inverse. It scales the sharp coordinate by \(1/25\), changing effective eigenvalues \((1,100)\) into \((1,4)\).
Run thirty unscaled steps under the opening contract.
Declare a diagonal preconditioner and its effective spectrum.
Use the optimal scalar step for the compressed spectrum.
Compare error norms and assert the predicted separation.
Figure 4.2: A declared diagonal preconditioner compresses the effective spectrum from condition number 100 to 4. After 30 iterations the raw error norm is about 0.564, while the preconditioned error is about 3.13e-7. This is an exact quadratic model comparison; it does not establish the quality or cost of estimating a preconditioner in a changing problem.
An iteration reduction is not yet a wall-clock speedup. Applying or estimating \(\matr{P}\) moves bytes and performs work. The book will not convert a condition number into accelerator time without a hardware contract.
4.5 A stochastic update has no point endpoint
Now isolate one scalar mode of curvature \(\lambda>0\). Suppose the observed gradient contains additive noise:
Figure 4.3: Across 20,000 independent trials, the estimated squared error approaches the exact finite-time prediction and the stationary value 0.05263. The figure supports the additive, independent, finite-variance model in Equation 4.8; it does not establish a universal stochastic-gradient floor.
This floor is algorithmic. C03’s stalled update was representational. A coordinate can also appear stationary because its deterministic multiplier is near one. These diagnoses require different controls:
Symptom
Instrument
Supported diagnosis
coordinate alternates sign
signed eigencoordinate
negative stable mode factor
coordinate decays very slowly
\(|1-\alpha\lambda_k|\)
conditioning tax
mean squared error plateaus across independent trials
estimator plus exact recurrence
stochastic floor under the declared model
requested change is below a local midpoint
local ULP audit
finite-grid stagnation
measured time remains large after iteration count falls
bytes/work profile
implementation cost
The scalar model keeps \(\tau^2\) and the curvature fixed, so it cannot diagnose when a stochastic run changes regime. C13 is obligated to replace \(\xi_t\) by a declared conditional gradient estimator, compare gradient signal with estimator variation, and test what happens when the second moment is not finite.
The fixed boundary in Equation 4.4 is now a registered control. C16 is obligated to compare it with local top curvature, curvature in the current gradient direction, and a setting in which the curvature itself moves during training.
TipCheck yourself
For eigenvalues \((2,20)\) and step \(\alpha=0.075\), what are both mode factors? How do you classify their sign behavior, which is the slow mode, and does reducing the step to \(0.025\) remove oscillation, improve the slowest contraction, both, or neither?
4.6 Okay, so —
Inherited: C03 taught us to separate a missing update from a representational failure; basic gradient mechanics are assumed.
Changed: A gradient trajectory is now an operator recurrence with a separate clock in every eigendirection.
Instrumented: The harness records spectra, mode factors, exact quadratic traces, preconditioned traces, and stochastic second moments.
Established: The stability interval, optimal constant-step contraction, and additive-noise floor follow exactly under their stated models.
Unresolved: What probabilistic control survives when there are many possible directions and the stochastic perturbation is not fixed, additive, or light-tailed?
4.7 Sources and further reading
Nesterov develops gradient methods for smooth, strongly convex objectives and the role of conditioning (Nesterov 2004). Robbins and Monro supply the foundational stochastic-approximation setting (Robbins and Monro 1951). This chapter uses those sources as context, but derives its three exact recurrences on the page. Schmidt’s ICML 2026 tutorial motivates the global, local, directional, and finite-horizon questions used to delimit “best” (Schmidt 2026); it is an intellectual map, not the technical authority for the equations.
Reading order. Start with Nesterov (2004) for the fixed smooth, strongly-convex control, then read Robbins and Monro (1951) for the stochastic branch and Schmidt (2026) for the research-question map.
4.8 Exercises
(Pencil.) Mode phase diagram. For a scalar curvature \(\lambda\), draw the five regimes of \(1-\alpha\lambda\) as a function of \(\alpha\). Mark monotone decay, one-step annihilation, oscillatory decay, boundary behavior, and divergence.
(Pencil.) Bits and conditioning. Starting from Equation 4.5, derive an exact ceiling formula for the number of iterations required to reduce every eigencoordinate by a factor \(2^{-b}\). Then give its large-\(\kappa\) approximation and state where the approximation enters.
(Code.) A misleading loss curve. Construct two quadratic trajectories whose scalar objective curves are nearly indistinguishable for 50 steps but whose signed eigencoordinates have different mode classifications. Report the spectra and the control that separates them.
(Code.) Imperfect preconditioning. Sweep the second diagonal entry of \(\matr{P}=\operatorname{diag}(1,p)\) for the opening Hessian. For each value, choose the optimal constant step for the effective spectrum and report iteration count, matrix-application cost model, and final error.
(Audit.) The precision diagnosis. A report says, “The flat coordinate stopped changing, so the optimizer reached its noise floor.” List the eigencoordinate, repeated-trial, and local-ULP controls required before that conclusion is admissible. Predict what each rival explanation would do under those controls.
(Audit.) Paper audit: stochastic approximation. Complete the Claim, Resolution of the theory, Dynamic regime, Evidence culture and interface, and Assumption stress test fields for Robbins and Monro’s primary paper. Identify which step-size, noise, and convergence claims differ from the constant-step finite recurrence in this chapter. Label each extracted result as theorem, asymptotic statement, or heuristic interpretation.
(Audit.) Act checkpoint — open an Incident Card. Complete the Act 0 assignment for a numerical or performance failure. Fill Symptom, Prediction, Contract, Precision control, and Corrective control before reading the result. Route: Act checkpoint. Estimated time: 60 minutes. Deliverable: a partial card and one paired rerun. Hint: a speedup without a traffic boundary and a reduction over the wrong axis are different contract failures.
Nesterov, Yurii. 2004. Introductory Lectures on Convex Optimization: A Basic Course. Vol. 87. Applied Optimization. Kluwer Academic Publishers. https://doi.org/10.1007/978-1-4419-8853-9.
Robbins, Herbert, and Sutton Monro. 1951. “A Stochastic Approximation Method.”The Annals of Mathematical Statistics 22 (3): 400–407. https://doi.org/10.1214/aoms/1177729586.