Cutting Pretraining Costs by 62% — Hyperstition (ANVIL III optimizer)
Summary
ANVIL III is a Muon-family optimizer presented as the biggest optimizer breakthrough since Muon (2024). It beats a fully tuned Muon by 20-28 millinats of final validation loss at matched token budget, holding across 124M, 350M, 774M and 1.2B parameters and across overtraining depths; the gap typically grows from 30% to 80% of training (up to ~50 mnat in some configs), with Muon partially catching up during annealing. At a fixed 8x-Chinchilla budget, fitted scaling curves imply optimizer-only compute savings of 32%/39%/39%/50% at the four sizes; combined with an architecture variant (≈25% near-Chinchilla compute saving) the headline is ~62% less pretraining compute at frontier scale, plus ~30% lower inference cost from faster decode. Mechanistically, an 'Adam SNR' probe (descent inequality = Gini of |u_i^T G v_i| over singular directions, scored on held-out batches) shows ANVIL III's update directions have persistently higher signal-to-noise across the whole singular spectrum; 90% of its singular directions go downhill on held-out data vs 67% for Muon (random = 50%), and it is far less sensitive to truncating the weakest singular vectors (removing weakest 20%: Muon +6.9 mnat, ANVIL III +1.8 mnat). The team also released Feather 1.7B (1.68B params, 200B training tokens), which beats Qwen3-1.7B-Base (~36T tokens) on math with ~180x fewer training tokens (MATH500 63.0 vs 53.0; GSM8K 83.4 vs 76.6; GSM8K Platinum 85.7 vs 74.4; GSM-Symbolic main 81.1 vs 62.7), with three rounds of benchmark decontamination documented. A deprecated ANVIL II set the public NanoGPT speedrun record (73.889s -> 39.914s, 1.851x speedup, 46.0% training-time reduction — a larger percentage leap than the previous 45 records combined) and is public as part of the submission; no license stated for the code.
- Source
- x
- Added
- Oct 7, 2026
- Verified
- Oct 7, 2026
Research notes
- Discovery: @DevenPzak (Deven Pietrzak, MIT math / hyperstition) X thread 2026-10-06 ~3:35 PM ET (~8.2K views, 118 likes, 71 bookmarks). Thread notes hyperparameter consistency: ~7 tuning runs for ANVIL III vs ~51 for Muon at 1.2B (appendix run-audit table on the page confirms the Muon-heavy tuning burden). Technical differences from Muon called out on the page: ANVIL III uses fused QKV (vs Muon's split QKV, which is 3-4 mnat better for Muon, so the comparison is conservative) and 'twin rail momentum'; full recipe not disclosed in the post. Companion hyperstition posts worth reading: 'The Signal and the Noise' (https://hyperstition.cc/the-signal-and-the-noise) — basis-free optimizer theory showing Adam has a privileged basis, and that averaging SNR over all rank-one directions collapses to scaled momentum under certain conditions; constructs a direction whose projection onto every stored gradient is identical, achieving SNR=1 with zero stabilizer, plus a variant that matches AdamW — likely the theory behind ANVIL; and 'Stuck in a Loop' (https://hyperstition.cc/stuck-in-a-loop) — attention weights act as a strong backprop filter creating a positive feedback loop that locks in early differences; attention Jacobian empirically low-rank (>=99% of tokens have squared-spectrum effective rank <10 in Qwen2.5-1.5B); a natural-gradient 'democratized' backward pass broadens attention but worsens validation loss, suggesting winner-take-all concentration dynamics also support learning. Directly relevant to the user's pretraining work: ANVIL III is a drop-in Muon replacement with 20-28 mnat gains and fitted 32-50% compute savings at 8x Chinchilla across 124M-1.2B; the tuning appendix suggests it needs far fewer tuning runs than Muon. Caveats: fitted savings at 8x Chinchilla require extrapolation beyond the measured 40B-token budgets at larger sizes; no code for ANVIL III itself was found (only the deprecated ANVIL II via the speedrun submission, license not stated).
Similar entries
- Paper The Best Optimizer Depends on Batch Size
- Paper Why Adaptive Optimizers Underestimate Rare Tokens
- Paper Synthetic Pre-pretraining Survives Scale, but Not as a Grammatical Prior
- Paper Reinforcement Learning for Code Optimization
- Post Reactive Optimizers — OPAL (OPtimizer with an Agent in the Loop)
- Paper Understanding Reasoning from Pretraining to Post-Training