the.ai

Landscape / Regimes

verified

Edge of Stability

Classical optimisation says a step size above two over the curvature makes gradient descent diverge. Neural network training routinely sits just past that line and does not diverge — the loss stops falling monotonically and oscillates while still making progress, and the curvature adjusts until it sits right at the boundary.

Viz primitive · loss-curvesteps = 2000 · lr = 0.003 · batch = 64 · params = 1
loss
step 02000

Loss over 2000 training steps, starting near 7.8. It falls to about 1.86, with 95% of the total improvement arriving in the first half.

Training loss at a fixed learning rate. Drag the rate up past what the curvature tolerates to watch the run stop being monotone — training right at that boundary, rather than safely below it, is what the name describes.

0.003

Reviewed by opendroid · 2026-08-18

  • arXiv:2103.00065 — Gradient Descent on Neural Networks Typically Occurs at the Edge of Stability