Strict local optimality of the Grimmer–Shu–Wang stepsize schedules for gradient descent with $N=3,4,5$ steps: a computer-assisted proof
Editorial Plate
16:9 archival plate
Swiss mathematical edition
Abstract
Minutes (32 coordinate-sign cones)
Exact arithmetic
Consider $N$-step gradient descent $x_{k+1}=x_k-h_k\nabla f(x_k)$ on smooth convex functions with $1$-Lipschitz gradient, and let $\Phi_N(h)$ be the worst-case value of $(f(x_N)-f(x_\star))/\|x_0-x_\star\|^2$. Grimmer, Shu, and Wang (arXiv:2410.16249) constructed the OBS-F schedules and conjectured they minimize $\Phi_N$. First, we re-certify their known rates for $N=1,2,3,5$ and both $N=4$ schedules $h_A,h_B$ ($C_3=(3-2\sqrt{2})/4$, $C_4\approx 0.0311697790$, $C_5\approx 0.0240706922$) in exact number-field arithmetic and prove the upper bounds in Lean 4. Second (new computer-assisted theorem), we prove that the OBS-F schedules for $N=3$, $N=4$ (both $h_A$ and $h_B$), and $N=5$ are strict local minimizers of $\Phi_N$: every $h\ne h^*$ with $\|h-h^*\|_\infty\le\rho$ satisfies $\Phi_N(h) > \Phi_N(h^*)$ for $\rho=1/256$ ($N=3$) and $\rho=1/512$ ($N=4,5$). The proof verifies $32$ exact cone certificates (one per coordinate-sign cone around each schedule) using two separately written exact-arithmetic checkers (Python stdlib and C++20), relying on the Taylor–Hendrickx–Glineur interpolation theorem (cited, not formalized in Lean). Global optimality remains open for all $N \ge 3$.
Main Results
Construction
32 Exact Coordinate-Sign Cone Certificates via Smooth Interpolation. Partitioning the neighborhood $\|h - h^*\|_\infty \le \rho$ into orthant sign cones around $h^*$ and exhibiting an exact smooth-convex interpolated worst-case function on each cone proves strict positivity of $\Phi_N(h) - \Phi_N(h^*)$:
Scope caveat: global optimality is open for all N; the cone-to-bound deduction and Taylor–Hendrickx–Glineur interpolation theorem are proved/cited on paper rather than formalized in Lean.
Exact Proof
- 01Lean 4 Upper-Bound Proof of GSW RatesBuild the pinned Lean 4.34.1 + Mathlib project proving the upper bounds for $N=1,2,3,4,5$ with axiom audit.
- 0232 Exact Cone Certificates Across N = 3, 4 (h_A, h_B), 5Check all four exact number-field JSON certificate files covering every coordinate-sign cone around each schedule.
- 03Independent Python Stdlib & C++20 VerificationReplay both separately written exact-arithmetic checkers via the bundled one-command verification script.
Verify Locally
Papers: CC BY 4.0
Code & certs: MIT
Download and unzip gd-obsf-local-optimality-v1.zip, then run:
sh run_all.sh
PASS: 32 exact cone certificates verified for N=3, N=4 (h_A, h_B), and N=5 (Python + C++20) + Lean 4 upper bounds built.
- Python 3 stdlib exact number-field cone-certificate verifier
- C++20 zero-shared-code exact arithmetic verifier
- Lean 4.34.1 + pinned Mathlib upper-bound proofs + axiom audit logs
Use of AI: Search, cone certificates, verifiers, and Lean code were developed with AI assistance; correctness rests solely on the exact cone checks, Lean upper-bound proofs, and the written reduction in the paper.
References
- B. Grimmer, K. Shu, A. L. Wang, Composing optimized stepsize schedules for gradient descent, arXiv:2410.16249 (2024).
- A. B. Taylor, J. M. Hendrickx, F. Glineur, Smooth strongly convex interpolation and exact worst-case performance of first-order methods, Math. Program. 161 (2017), 307–345.