Explore the research collection
5 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
Priced Guidance: Can Language Models Generate Future Research Ideas?
Stanford (Kaiyue Wen, Tengyu Ma, Percy Liang) evaluates whether language models can generate novel research ideas through the lens of compression. Rather than estimating the tiny probability that a model generates the essence of a future research idea via expensive repeated sampling, the Priced Guidance framework measures a compression cost: how many extra bits of information are needed to guide the model to recover the target idea. The generator (an LM) poses a sequence of multiple-choice questions and specifies a probability distribution over the answers; a guide (an LM with access to the target idea) selects answers, and the generator pays -log2 p bits when a selected answer had prior probability p. The generator aims to reproduce an idea matching the target's essence at minimal cumulative cost, which equals, up to an additive constant, the bits of information the guide sent. Theorem: if the model can recover the target idea with at most K bits of guidance in expectation, it can generate the idea with no guidance with probability at least 2^-K. Evaluated five generator LLMs (Opus 5, Fable 5.1, GPT-6 Astra, GPT-5.6 Sol, GLM 5.3) on the core ideas of 87 recent high-quality deep learning papers, with an LLM judge checking whether the generated idea matches the target on the central research object and defining mechanism. Fable 5.1 achieves the lowest median compression cost (69.9 bits), far below gzip's 5,712-bit median for losslessly compressing the idea summaries; a uniform ensemble of Fable 5.1, Opus 5 and Astra reaches 55.8 bits and improves the generation-probability lower bound by 18,000x. CC BY 4.0; no code released as of 2026-10-06.
- Paper
A Unified View of Attention and Residual Sinks: Outlier-Driven Rescaling is Essential for Transformer Training
Unifies the two emergent outlier phenomena in LLMs — attention sinks (a few tokens receiving large attention logits) and residual sinks (fixed dimensions with persistently large activations) — under 'outlier-driven rescaling': the outliers work jointly with normalization (softmax attention, RMSNorm) to rescale non-outlier components, and this mechanism is validated across architectures and training token counts. Main conclusions: (1) outliers function jointly with normalization — removing normalization eliminates the outliers but degrades training stability and performance; clipping outliers while keeping normalization also degrades, so outlier-driven rescaling contributes to training stability; (2) outliers act as rescale factors, not contributors — their post-norm contributions are far smaller than non-outliers'; (3) outliers can be absorbed into learnable parameters or replaced by explicit gated rescaling (GatedNorm), improving training performance by an average of 2 points and drastically improving quantization robustness (only 1.2 points degradation under W4A4). Since outliers' post-norm contribution is tiny, relying on them is what makes LLM quantization a nightmare (huge dynamic ranges).
- Paper
Trust the Critic More
Standard LLM RL algorithms credit every token of a long rollout with the same advantage from the terminal reward; actor-critic methods could give finer-grained credit, but learned critics are considered too inaccurate to trust, so existing critics are used only for baseline estimation and every trajectory must be rolled to completion. AC2 (Actor-Critic with Action Chunking) removes the need to roll every trajectory to completion: it assigns credit to action chunks — short continuations of prefixes of past trajectories — where a learned critic scores the state reached at the end of each chunk, allowing policy updates without observing a terminal reward. Reliability comes from three design choices: (1) local readiness — critic-based updates on a problem only when the critic is sufficiently accurate on that particular problem; (2) when available, the critic gets a reference solution from a previous successful rollout; (3) credit over action chunks of 10k tokens rather than individual tokens. Training Qwen3-4B on FineProofs-RL and evaluating on IMO-ProofBench, AC2 exceeds GRPO's peak validation score of 18.5% using 2.5x fewer decoding FLOPs (25% fewer steps plus fewer tokens per step since trajectories aren't continued to completion). The critic is the only source of advantages, and it works even on hard tasks like Lean theorem proving. AC2 is a drop-in GRPO replacement: same objective and implementation details (e.g., clip higher), no PPO tricks.
- Paper
Gated Attention for Large Language Models: Non-linearity, Sparsity, and Attention-Sink-Free
Compares ~30 gating variants on 15B MoE (15A2B, 2.54B active) and 1.7B dense models trained on up to 3.5T tokens. A head-specific sigmoid gate after SDPA (G1) is best: MoE 400B-token Avg PPL 5.761 vs 6.026 baseline and MMLU 60.82 vs 58.79, beating parameter-matched KV-head/expert expansions. Gains come from non-linearity between low-rank Wv and Wo plus query-dependent sparse gates (mean score 0.116). First-token attention falls 46.7%→4.8%; YaRN-extended RULER at 128k is 58.82 vs 31.65. Gate also damps loss spikes and allows higher LR (8e-3) where the baseline diverges. Claims first attention-sink-free models.