Explore the research collection
12 entries · Follow this search
- Paper
The Best Optimizer Depends on Batch Size
Adaptive optimizers are benchmarked at one batch size, while hyperparameter scaling rules promise that the best optimizer at one batch size stays the best at another. This paper challenges both practices. (1) No principled scaling rule for Muon works consistently across settings: the authors derive and test three competing rules against Muon - linear LR from SDE-matching, square-root LR from minimizing a convergence bound, and fixed LR with scaled weight decay from Power Lines - tuning at a reference batch size for LM and image classification, then growing batch size at fixed token budget across hundreds of rule variants; the best rule depends on task and target batch size. (2) The best optimizer for LM pretraining changes with batch size even after extensive retuning: Adam, Lion, Muon, SOAP, and Shampoo were each retuned at every batch size from 128K to 2M tokens at fixed total budget under both weight decay and HyperBall (fixed hidden-matrix norms). Under HyperBall, Muon beats Shampoo at 128K tokens/update while Shampoo beats Muon at 2M. Theory on a noisy quadratic explains why: Newton's method divides gradients by curvature, cutting bias (remaining initialization error) at the cost of higher variance from noisy gradients; larger batches shrink variance, so rankings can reverse even with optimally tuned learning rates. A SignSGD toy model shows LR scaling shifts from square-root toward linear as the curvature-to-noise ratio (CNR = h^2/c) increases - the right rule depends on landscape and noise, not just the optimizer. A sharp-subspace intervention pins down where the batch-size penalty lives: checkpoint-branching from 128K to 2M with small-batch updates kept only in the sharpest 768 directions (~0.001% of matrix-parameter space) removes up to 59.5% of the local batch-size penalty (a random same-size subspace removes at most 3%); the benefit largely fades late in training.
- Paper
Why Adaptive Optimizers Underestimate Rare Tokens
In the softmax output layer, a rare token gets a small positive logit gradient on most steps and a much larger negative gradient on the few steps when it is the target. SGD simply adds these contributions; coordinate-wise adaptive methods (Adam, RMSProp, sign descent) divide each update by a running magnitude estimate that is largest immediately after the token appears. Two effects: (i) whole output layer — characterizes which optimizers preserve the mean output embedding: every method linear in past gradients does, as do Kronecker-factored/orthogonalized methods (Shampoo, Muon); Adam, Adafactor, Lion, sign descent do not (exact step-by-step expressions given); (ii) individual rare tokens — the normalization shifts the training fixed point below the token's true data frequency. Closed forms: sign descent lowers the logit of every token occurring in fewer than half of minibatches at a constant expected rate; for RMSProp with periodic arrivals, if a token is absent for at least two consecutive minibatches its equilibrium probability is strictly below data frequency for every learning rate, ratio tending to k/(2(e^(k/2)-1)). SGD and AMSGrad retain the unbiased fixed point. Tested in a unigram model and a small LM trained from a known generating distribution: with random arrivals the bias exceeds the periodic formula, and biased-fixed-point optimizers fit the generating distribution worse. Directly relevant to the user's LLM pretraining work — rare-token underestimation from Adam is an optimizer choice, not a data problem.
- Paper
Demystifying Manifold Constraints in LLM Pre-training
Introduces MACRO, a single-loop Riemannian spectral-SGD (Muon-style msign on the tangent-space gradient plus retraction) with O(T^{-1/4}) stochastic nonconvex rate. Spectral sphere bounds worst-case activation scale; Frobenius sphere bounds average-case (radius r√D_out). Without learnable RMSNorm, Muon NaNs at large LR while MACRO-spec stays stable (330M Qwen3-like val 2.739 vs normalized MACRO-spec 2.714). Constraints lock relative LR η_rel=cη and rotational equilibrium from step 1, replacing decoupled weight decay. On standard (RMSNorm) Qwen3-like 120M–1B above Chinchilla, MACRO-spec matches or slightly beats Muon/MuonH/SSO with exact Riemannian updates. No official code on abs.
- Paper
OPUS: Towards Efficient and Principled Data Selection in Large Language Model Pre-training in Every Iteration
OPUS (Optimizer-induced Projected Utility Selection) linearizes AdamW/Muon one-step updates, sketches ghost outer-product gradients with CountSketch, and Boltzmann-samples a batch aligned with a Bench-Proxy retrieved from the corpus. Scoring overhead 4.7% vs naive 3.5×. GPT-2 XL Muon FineWeb 30B: avg 41.75 vs random 40.29, beating 60B random (41.29) and static filters. FineWeb-Edu: OPUS on score-3 beats baselines trained on score 4+5 (XL 44.99). Qwen3-8B-Base CPT on SciencePedia: 0.5B tokens beats 3B full CPT. Code https://github.com/gszfwsb/OPUS.
- Paper
AMUSE: Anytime Muon with Stable Gradient Evaluation
River-valley analysis: Muon orthogonalization enlarges bulk (river) steps but also amplifies dominant-direction noise and valley-wall oscillations. AMUSE interpolates gradient evaluation from the fast Muon sequence toward the averaged sequence via a time-varying coefficient, enabling anytime training without LR schedules. Improves the performance-iteration Pareto frontier over (Schedule-Free) AdamW and Muon on vision tasks and Llama-style FineWeb pretraining (124M/720M/1.3B). Code https://github.com/kjeiun/amuse.
- Paper
More Expressive Feedforward Layers: Part I. Token-Adaptive Mixing of Activations
MoA mixes a small activation dictionary (GELU/SiLU/ReLU²/etc.) with lightweight per-token gates on shared FFN projections; LA is the input-independent linear-combination ablation. Finite-width theory: fixed-activation FFN ⊊ LA ⊊ MoA. Pretrains dense Llama 0.12B–0.5B (AdamW, cosine, 20/100 TPP) and LlamaMoE 0.25B–2B (Muon, WSD, ~100 tokens/active param). Type-II one-MoA/qd-MoA beat well-tuned SwiGLU/Muon baselines by >0.01 terminal loss with ~1.03–1.13× wall-clock and negligible params; LlamaMoE-2B zero-shot avg 42.20→42.86/42.96. Also helps MAE ViT-B. No official code on abs.
- Paper
One LR Doesn't Fit All: Heavy-Tail Guided Layerwise Learning Rates for LLMs
Uniform LR ignores Transformer heterogeneity. LLR fits a power-law to each layer's weight-correlation ESD (PL_Alpha_Hill) and maps weaker heavy tails (embeddings/FFN) to larger LRs and stronger tails (attention) to smaller ones, with embedding pinned at the upper bound, a soft LR switch, and updates only in the first 20% of tokens. Transfers the uniform baseline's near-optimal global LR. LLaMa-1B FineWeb: zero-shot avg 47.09→49.02; 3B 48.58→50.61; up to 1.5x token speedup. Beats LARS/LAMB/Sharpness/TempBalance/AlphaDecay; also helps Muon and GPT-nano. Code https://github.com/hed-ucas/Layer-wise-Learning-Rate.
- Paper
Spectral Scaling Laws of Muon
Tracks Frobenius-normalized momentum singular-value quantiles across GPT-2-style models 77M–2.8B trained with Muon on FineWeb. After a short burn-in, quantiles stabilize by layer type and follow power laws in model size M with exponents from about M^{-0.25} (mid-depth) to M^{-0.96} (final MLP). Rank-p ablations show orthonormalizing the top ~50% of directions nearly matches full Muon, while top 10% is ~50% less token-efficient. Extrapolating to 300B, standard 5-step NanoGPT NS still covers mid-late Q, but final O falls into the failure regime and wants a 10-step DeepSeek-V4-style map. No official code repo on the abs page.
- Paper
Aurora: A Leverage-Aware Spectral Optimizer
arXiv 2606.27715: Aurora addresses non-uniform Muon row norms on tall MLP projections that can cause neuron death; keeps polar-factor geometry while enforcing row uniformity. Claims gains vs Muon/NorMuon and SOTA among spectral optimizers on modded-nanoGPT optimizer track; gains scale with MLP expansion. Code github.com/tilde-research/aurora-release. Blog already cataloged as papers_local 633 with blog URL—this row is the arXiv primary + Discord mid bridge.
- Paper
Towards Compositional Steepest Descent
Compositional Muon (CM) treats W_Q W_K^T and W_O W_V as the objects of spectral steepest descent, deriving partner-whitened half-split (QK) and hybrid (OV) updates plus an isotropic approximation and a Frobenius gauge correction for momentum. Consistent pretraining gains vs Muon at 340M and 1B; nanoGPT Track 3 PR #311 clears the loss target ~15 steps earlier (2875 vs 2890). Downstream 340M evals mixed. Same lab as Aurora (papers_local 633).
- Paper
Aurora: A Leverage-Aware Optimizer for Rectangular Matrices
Tilde Research optimizer (blog 2026-05-05). Muon polar factor inherits row-norm anisotropy on tall matrices; by step 500 more than 1 in 4 SwiGLU MLP neurons can be permanently dead. Aurora is steepest descent under left semi-orthogonality plus uniform row norms: damped alternating row-scale plus Newton-Schulz. Untuned overhead about 6 percent vs Muon. modded-nanoGPT Track 3: Aurora plus Contra-Muon plus u/w-floor reaches val 3.28 in 3175 steps (prior SOTA 3225). 1.1B on about 100B Nemotron-CC tokens: HellaSwag 67.6 percent (+2.5), MMLU +10.8 vs Muon. Code tilde-research/aurora-release; speedrun PR KellerJordan/modded-nanogpt#284.
- Paper
The Loss Does Not See the Basis, but Adam Does
Shows gradient descent on W=UV^T is biased toward low-rank interpolants while Adam is not, tracing the gap to loss gauge symmetry (U,V)->(UQ,VQ). Equivariant methods (GD, momentum, shared-scalar Adam, Muon, Shampoo) can inherit gradient-flow low-rank bias; coordinate-wise Adam/RMSProp/Lion/Adafactor cannot. Sorts nine update rules on underdetermined matrix sensing; a p-dial from coordinate-wise to shared-scalar Adam restores the bias monotonically. In transformers, Adam splits two gauge-equivalent inits at step 1 (per-head W_Q^T W_K 56% apart). On two hyperspectral datasets at matched train loss, GD cuts held-out error 43-44% vs Adam at lowest sampling density.