Prefix-Minimax Anytime Step Schedule
Implementation & benchmark of arXiv:2607.02053 — Lower Bounds for Anytime Acceleration of Gradient Descent
Source paper: Lower Bounds for Anytime Acceleration of Gradient Descent arXiv:2607.02053 ⓘ · analyzed Aug 30, 2026
AI-generated research hypothesis, automatically tested. Not peer-reviewed.
Idea description
Construct a positive learning-rate schedule offline by minimizing the worst residual of every prefix on a normalized curvature interval, rather than optimizing only the final training horizon. The schedule is evaluated through the exact quadratic residual polynomial p_n(lambda) = product_{k=1}^n (1 - eta_k lambda), so every prefix is constrained to make progress across multiple curvatures.
Formulas
Mathematical statement
For the one-dimensional 1-smooth convex quadratic f(x) = lambda x^2 / 2, with curvature lambda in [0, 1], gradient descent gives x_{n+1} = product_{k=1}^n (1 - eta_k lambda) x_1. With x_1 = 1, the paper defines Q_n(eta) = max_{lambda in [0,1]} lambda product_{k=1}^n (1 - eta_k lambda)^2. The paper states that both worst-case function-value and squared-gradient criteria satisfy R_n(eta) >= Q_n(eta) and G_n(eta) >= Q_n(eta). Here eta_k > 0 is the step size at iteration k, n is a prefix length, and lambda is normalized curvature. The adaptation minimizes J(eta) = max over prefixes and curvature values of w_n lambda product_{k=1}^n (1 - eta_k lambda)^2. The transferable asset is horizon-independent control: the residual of each prefix is explicitly evaluated without knowing future gradients or the eventual training horizon.
Implementation notes
1. Integration point: replace the scalar learning-rate schedule in SGD, AdamW, or a momentum-free preconditioned optimizer. Normalize each parameter group by an estimated curvature scale L_t and use alpha_t = eta_t / L_t, where eta_t is supplied by the learned positive schedule. For AdamW, apply this schedule to the bias-corrected update before weight decay. 2. Schedule construction: choose a maximum prefix N, a logarithmic curvature grid lambda_j in [lambda_min, 1], and prefix weights w_n such as 1/n. Parameterize eta_k = softplus(u_k), compute s_{n,j} = sum over k <= n of log(abs(1 - eta_k lambda_j) + 1e-8), and minimize the smooth maximum of log(lambda_j) + 2 s_{n,j} + log(w_n) with Adam. Add a mild penalty on the total step sum and constrain eta_k to a practical range such as [1e-4, 4]. 3. At training time, expose the schedule sequentially and do not restart it when evaluating intermediate checkpoints. Estimate L_t using one or two power iterations on Hessian-vector products every 100 to 500 steps, or use a fixed warmup estimate initially. 4. The product objective and prefix minimax design come from the quadratic analysis; the curvature interval, normalization, and weights are empirical choices. 5. First experiment: train ViT-Tiny on CIFAR-100 and a 6-layer Transformer on WikiText-2, comparing cosine decay, a tuned constant learning rate, and the prefix-minimax schedule at equal optimizer updates. Record loss at every prefix, final validation quality, and divergence rate over five seeds. Success means lower early-prefix loss and equal or better final quality without knowing the total training horizon.
Verification
Stage 1 · Toy mechanism gate: Passed ✓
Stage 2 · Mechanism transferred to benchmark: Confirmed ✓
Stage 2 · Practical benchmark result: No measurable effect
Methodology: 8 paired seeds, permutation test (p<0.05) against a learning-rate-tuned baseline. How verification works
Stage 1 — Mechanism check agent confidence 8/10
Implemented the exact prefix residual polynomial and a bounded smooth-minimax positive schedule optimizer. The mechanism was numerically confirmed: the amplification boundary was predicted and observed at eta*lambda=2, the sign transition at 1, 1,008 geometric-ratio checks matched to 2.2e-16, and one-step annihilation across 25 curvatures had residual below 1.1e-32. The learned schedule reduced the worst unweighted prefix residual to 0.1154 versus 0.1481 for constant eta=1.0 and 0.1852 for constant eta=0.8, but it did not improve late-prefix residual versus those baselines; therefore this is a toy quadratic signal, not evidence of a general training win.
- Agent confidence
- 8/10
- Baseline
- Constant eta=1.0: worst prefix 0.148143, prefix-5 0.035049, prefix-10 0.0179469, prefix-20 0.00908367; cosine: worst prefix 0.148143, prefix-5 0.0364724, prefix-10 0.0215741, prefix-20 0.0177046.
- Idea
- Prefix-minimax N=20 schedule [1.339685, 0.603061, then approximately 1e-5 steps]: worst prefix 0.115386, prefix-5 0.082883, prefix-10 0.0828822, prefix-20 0.0828789. Algebra error was 1.11e-16; stability-bound error 0; ratio-sweep error 2.22e-16; annihilation max residual 1.05e-32.
Limitations: No CIFAR, language-model, neural-network, multi-seed, wall-clock, or Hessian-normalization experiment was run. The optimizer used a finite curvature grid and smooth surrogate; the resulting schedule collapses most later steps to the lower bound, and the weighted objective is dominated by the first prefix because w_1=1.
How to run: python3 run_experiment.py
Stage 2 — Benchmark vs. tuned baseline (arXiv:2607.02053)
No significant difference vs. the tuned baseline (+0.4%, p=0.1089, wins 2 / 8 paired seeds).
- Benchmark
- Tabular regression (Friedman)
- Model
- mlp_tiny
- Paired seeds
- 8
- Baseline mean
- 6.988
- Idea mean
- 7.0173
- Effect (Δ)
- 0.0294 (+0.4%; negative = idea better)
- Wins
- 2 / 8 paired seeds
- p-value
- 0.1089 (permutation test, 20 000 shuffles)
- Smallest detectable effect
- ±0.8%
- Mechanism
- Confirmed ✓
- Practical effect
- No effect
- Baseline tuning
- swept over 3 configs
How to run: python3 run_bench.py
Verdict computed by deterministic test code from paired-seed statistics — not by the language model.
Stage 2 — Benchmark latest Failed ✗
Agent confidence: 9/10
Implemented prefix-minimax scheduling as a sequential Adam learning-rate intervention on the tabular/Friedman#1 task with the shared mlp_tiny architecture. The mechanism signature was confirmed with relative update-norm error 0.1906, but the idea had higher test MSE than the tuned constant-Adam baseline: 7.017341 versus 6.987988, paired delta +0.029353, permutation p=0.1089. The mechanism transferred to optimizer behavior but not to a benchmark performance improvement.
- Baseline
- Adam constant learning rate, sweep {0.001, 0.003, 0.01}; best lr=0.01; 8-seed test MSE mean 6.987988, std 0.386456.
- Idea
- Prefix-minimax Adam schedule, same learning-rate sweep and best lr=0.01; 8-seed test MSE mean 7.017341, std 0.339519; paired delta +0.029353, permutation p=0.1089, 2/8 seed wins.
Benchmark result
No significant difference vs. the tuned baseline (+0.4%, p=0.1089, wins 2 / 8 paired seeds).
- Benchmark
- Tabular regression (Friedman)
- Model
- mlp_tiny
- Paired seeds
- 8
- Baseline mean
- 6.988
- Idea mean
- 7.0173
- Effect (Δ)
- 0.0294 (+0.4%; negative = idea better)
- Wins
- 2 / 8 paired seeds
- p-value
- 0.1089 (permutation test, 20 000 shuffles)
- Smallest detectable effect
- ±0.8%
- Mechanism
- Confirmed ✓
- Practical effect
- No effect
- Baseline tuning
- swept over 3 configs
How to run: python3 run_bench.py
Artifacts
- bench_report.json 2.5 KB View Raw
- prefix_minimax.py 1.8 KB View Raw
- report.md 1.8 KB View
- report_bench_2026-08-30T161440.md 4.1 KB View
- results.json 2.8 KB View Raw
- run_bench.py 4.5 KB View Raw
- run_experiment.py 4.0 KB View Raw