{
  "id": 1337,
  "kind": "paper",
  "title": "The Best Optimizer Depends on Batch Size",
  "summary": "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.",
  "body": "",
  "notes": "Relevance: directly relevant to the user's LLM pretraining - batch-size-dependent optimizer rankings are actionable for his runs: if he scales batch size, the winning optimizer can flip (Muon vs Shampoo reversed between 128K and 2M tokens) even after retuning, so optimizer choice must be made at the actual batch size. The sharp-subspace finding (0.001% of sharpest matrix directions carry up to 59.5% of the local batch-size penalty) is a concrete diagnostic for his training setup. Connects to ID 1627 (Relative Generalization Invariance): RGI says optimizer/architecture choices shift the overall loss level while data sets the relative difficulty structure - this site is the batch-size counterpart, showing batch size can re-rank optimizers outright. Optimizer cluster: 1627 (Adam/Adam-mini/Lion/Muon/Soap/Scion tested). Discovery: bare link shared 2026-10-09; https://batch-size-scaling.com is an interactive research explainer for the arXiv paper. Authors: Xingyu Dang (Princeton), Kaiyue Wen (Stanford, equal contribution), Sadhika Malladi (UC San Diego). Paper: arXiv 2610.08975 (cs.LG/stat.ML), submitted 6 Oct 2026, CC BY 4.0. No code repo found on the arXiv page at catalog time.",
  "url": "https://arxiv.org/abs/2610.08975",
  "links": [],
  "authors": [
    "Xingyu Dang",
    "Kaiyue Wen",
    "Sadhika Malladi"
  ],
  "tags": [
    "optimizer",
    "batch-size",
    "scaling-rules",
    "muon",
    "shampoo",
    "lm-pretraining",
    "curvature",
    "gradient-noise",
    "sharp-subspace"
  ],
  "topics": "optimizers; batch size; scaling rules; pretraining",
  "venue": "arXiv 2610.08975 (cs.LG/stat.ML), submitted 6 Oct 2026, CC BY 4.0; interactive explainer at batch-size-scaling.com",
  "publisher": "",
  "source": "web",
  "language": "en",
  "access": "free",
  "license": "",
  "published_year": 2026,
  "added_at": "2026-10-09T00:00:00.000Z",
  "verified_at": "2026-10-09T00:00:00.000Z",
  "attrs": {},
  "enrichment": {},
  "enriched_at": null,
  "license_class": "unknown",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "batch-size-scaling.com",
    "legacy_paper_id": "1644"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-10T00:47:28.200Z",
  "updated_at": "2026-10-10T00:47:28.200Z",
  "page": "https://papers.projxon.ai/entries/1337",
  "markdown": "https://papers.projxon.ai/entries/1337.md",
  "api": "https://papers.projxon.ai/api/entries/1337",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 1219,
      "kind": "paper",
      "title": "Why Adaptive Optimizers Underestimate Rare Tokens",
      "summary": "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.",
      "url": "https://arxiv.org/abs/2609.37535",
      "authors": [
        "Sangsidhya Kar"
      ],
      "tags": [
        "adam",
        "adaptive-optimizers",
        "rare-tokens",
        "softmax",
        "fixed-point",
        "shampoo",
        "muon",
        "rmsprop",
        "lion",
        "pretraining"
      ],
      "venue": "arXiv:2609.37535 (cs.LG), submitted 29 Sep 2026",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-04T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1219",
      "markdown": "https://papers.projxon.ai/entries/1219.md",
      "api": "https://papers.projxon.ai/api/entries/1219"
    },
    {
      "id": 614,
      "kind": "paper",
      "title": "Aurora: A Leverage-Aware Optimizer for Rectangular Matrices",
      "summary": "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.",
      "url": "https://blog.tilderesearch.com/blog/aurora",
      "authors": [
        "Alec Dewulf",
        "Dhruv Pai",
        "Li Yang",
        "Ashley Zhang",
        "Ben Keigwin"
      ],
      "tags": [
        "aurora",
        "muon",
        "normuon",
        "optimizer",
        "neuron-death",
        "nanogpt",
        "tilde",
        "leverage",
        "blog",
        "x"
      ],
      "venue": "Tilde Research",
      "source": "web",
      "license": "",
      "published_year": null,
      "added_at": "2026-08-14T18:56:35.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/614",
      "markdown": "https://papers.projxon.ai/entries/614.md",
      "api": "https://papers.projxon.ai/api/entries/614"
    },
    {
      "id": 1041,
      "kind": "paper",
      "title": "When Do Larger Batches Help Scale LLM Reinforcement Learning?",
      "summary": "Tencent Hunyuan RL Team paper (arXiv 2608.29296v1, cs.LG; companion research post hy.tencent.com/research/100116, EN/ZH, page date 2026-09-21) on when larger batches cut wall-clock time-to-target for online LLM RL. Decomposes T=N*/q: larger batch helps only when throughput gain exceeds samples-to-target penalty (r_q>r_N). Two-stage recipe: (1) establish approximate sample-indexed batch-size invariance via Adam √LR retuning η(B)=η0√(B/B0); (2) optimize generation/train throughput within that regime (generation–training asymmetry: decode often bandwidth-bound, sublinear collection time vs ~linear train). GRPO on Qwen3-30B-A3B-Instruct-2507, filtered DAPO-MATH-17K (4,853 rows), G=8, mean@32 AIME 2024/2025: invariance ~P=64–1024; degrade at 2048/4096. Best tuned P=1024: time-to-target 11.90→8.42 h (−29%, 0.71×) with +41% throughput and r_N=1, no extra GPUs; at P=2048/4096 a +60% sample cost outweighs +30%/+36% throughput (T 1.23×/1.18×). PPO on Hunyuan MoE policy+value (3B active each), G=1: aligns ~256–2048, degrades at 4096; gen throughput up to 2.29× (B 256→1024). Fixed-LR control slower despite higher throughput. No public code/HF/dataset links.",
      "url": "https://arxiv.org/abs/2608.29296",
      "authors": [
        "Ziniu Li",
        "Jinbo Wang",
        "Guanhua Huang",
        "Feiyuan Zhang",
        "Pengbo Li",
        "Alex Chen (Tencent Hunyuan Team / RL Team)"
      ],
      "tags": [
        "batch-size",
        "llm-rl",
        "grpo",
        "ppo",
        "hunyuan",
        "tencent",
        "throughput",
        "time-to-target",
        "learning-rate-scaling",
        "critical-batch",
        "qwen3",
        "dapo-math",
        "aime"
      ],
      "venue": "arXiv / Tencent Hunyuan Research",
      "source": "arxiv",
      "license": "CC BY 4.0 (arXiv)",
      "published_year": 2026,
      "added_at": "2026-09-25T01:37:18.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 1,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1041",
      "markdown": "https://papers.projxon.ai/entries/1041.md",
      "api": "https://papers.projxon.ai/api/entries/1041"
    },
    {
      "id": 623,
      "kind": "paper",
      "title": "Towards Compositional Steepest Descent",
      "summary": "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).",
      "url": "https://blog.tilderesearch.com/blog/compositional-muon",
      "authors": [
        "Ben Keigwin",
        "Li Yang",
        "Yunzhe Zhang",
        "Dhruv Pai",
        "Alec DeWulf"
      ],
      "tags": [
        "compositional-muon",
        "muon",
        "optimizer",
        "qk",
        "ov",
        "nanogpt",
        "tilde",
        "blog"
      ],
      "venue": "Tilde Research",
      "source": "web",
      "license": "Apache-2.0",
      "published_year": null,
      "added_at": "2026-08-14T19:06:00.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/623",
      "markdown": "https://papers.projxon.ai/entries/623.md",
      "api": "https://papers.projxon.ai/api/entries/623"
    },
    {
      "id": 491,
      "kind": "paper",
      "title": "Spectral Scaling Laws of Muon",
      "summary": "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.",
      "url": "https://arxiv.org/abs/2606.04058",
      "authors": [
        "Gagik Magakyan",
        "Pablo Parrilo",
        "Asuman Ozdaglar"
      ],
      "tags": [
        "muon",
        "newton-schulz",
        "spectral-scaling",
        "orthonormalization",
        "mit",
        "fineweb"
      ],
      "venue": "arXiv / MIT",
      "source": "",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-01T16:45:04.296Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 3,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/491",
      "markdown": "https://papers.projxon.ai/entries/491.md",
      "api": "https://papers.projxon.ai/api/entries/491"
    },
    {
      "id": 920,
      "kind": "paper",
      "title": "Aurora: A Leverage-Aware Spectral Optimizer",
      "summary": "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.",
      "url": "https://arxiv.org/abs/2606.27715",
      "authors": [
        "Alec Dewulf",
        "Dhruv Pai",
        "Li Yang",
        "Ashley Zhang",
        "Ben Keigwin"
      ],
      "tags": [
        "aurora",
        "muon",
        "spectral-optimizer",
        "tilde",
        "arxiv:2606.27715"
      ],
      "venue": "arXiv 2606.27715; Tilde Research",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-09-14T21:11:52.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 2,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/920",
      "markdown": "https://papers.projxon.ai/entries/920.md",
      "api": "https://papers.projxon.ai/api/entries/920"
    }
  ]
}
