# Towards joint scaling laws with optimal batch size schedules

- **ID:** 1398
- **Kind:** paper
- **URL:** https://arxiv.org/abs/2607.27731
- **Authors:** Jiaxiang Li, Zhiqi Bu, Shiyun Xu (affiliations in paper: Meta, Independent researcher. Li: Assistant Professor @VT, ex-RS @Meta, PhD applied math)
- **Venue:** arXiv 2607.27731 (cs.LG/cs.AI/math.OC, submitted 30 Jul 2026; v1)
- **Published:** 2026
- **Source:** arxiv
- **Language:** en
- **Access:** free
- **Added:** 2026-10-19
- **Verified:** 2026-10-19
- **Page:** https://papers.projxon.ai/entries/1398

## Summary

Derives optimal batch-size schedules from LR schedules in closed form under a convex loss model. Given an LR schedule, horizon, and token budget, the noise-term-minimizing schedule is B_t^optim = (K/2)·η_t/√(∫₀ᵀη_k dk · ∫_tᵀη_k dk), with K = B_static·T — depends only on LR schedule shape and budget, independent of peak LR, weight decay, model size, architecture, or optimizer. Cosine LR → BS grows then declines; WSD → grows then plateaus; linear → exactly flat at B_static; constant LR → grows like 1/√(T−t). η_t/B_t is NOT a sufficient statistic (matched trajectories favor realizing the schedule through LR over BS, +0.017–0.743 val loss), so BS scheduling is an independent dimension. Scaling experiments (Llama3 dense, Qwen3 MoE, 0.1B–7B, up to 1e21 FLOPs, Fineweb-edu; peak LR ∝ 1/√T, same LR/WD for both): +15% compute efficiency on Llama3 at 50 TPP, +6% on Qwen3 MoE at 100 TPP; Llama3-1B best-perplexity gains 0.8%/2.5%/14.6% for cosine/WSD/constant; lm-eval-harness wins on all 8 tasks for both families. Joint scaling laws: peak LR and WD ∝ 1/√T, scale-free BS schedule, O(1/√T) convergence; universal dynamics (supercollapse) preserved. Holds on AdamW and Muon-NSGD; ablations incl. VLM post-training (dynamic wins 7/9 benchmarks) and math fine-tuning. Caveats: the cosine-derived schedule decays to zero at the end (proven endpoint behavior — nonzero-terminal-slope schedules give constant terminal BS instead); no practical floor prescribed, and end-of-training tiny batches are systems-impractical; convex foundation is empirical-fit, not a theorem; token-based compute optimality, not wall-clock. Zero overhead — it's a schedule-shape recipe, no extra tuning.

## Research notes

- Discovery: Hudson shared Jiaxiang Li's (@Jason_JX_Li) 3-post thread 2026-10-18 11:07 PM ET (~3.8K views; post https://x.com/Jason_JX_Li/status/2112017856296562716). Thread claims verified against the paper: closed-form derivation under a convex loss model = Theorem 3; "cosine LR gives growth then decline; WSD gives growth then a plateau" = Table 2; "6–15% higher compute efficiency" = 15% Llama3 / 6% Qwen3 MoE; "no dependence on peak LR or weight decay" = Theorem 3's independence claim; "convex loss model works surprisingly well" = empirically-validated convex dominance. Thread reply's question (cosine BS → 0 at the end) is addressed in the paper: endpoint behavior governed by the order at which LR approaches zero; cosine flattens to zero (p=2) so B_t^optim → 0 — a property of the derivation, not an oversight; open question: whether a practical floor changes the headline gains. Relevance: (1) his own LLM training — free 6–15% compute efficiency on HIS axis (batch-size schedule), zero overhead, no re-tuning; (2) throughline with queued #66 (Muon formula grid): "the fixed formula you use isn't optimal for your situation — measure/derive the right one"; (3) scaling-laws cluster: pairs with #18 (Scaling Laws for Looped MoE), #36 (Martin SGD/AdamW α=2), #33 (Miles); the η_t/B_t-not-sufficient result is a citeable finding for his training docs; (4) Muon-NSGD was one of the tested optimizers. Cluster: scaling laws, training efficiency, batch size / hyperparameter transfer.
- License: arXiv default nonexclusive-distrib

## Similar entries

- [The Best Optimizer Depends on Batch Size](https://papers.projxon.ai/entries/1337) (paper, #1337)
- [Emergent One-Third Scaling Law as Attention Tries to Concentrate](https://papers.projxon.ai/entries/852) (paper, #852)
- [When Do Larger Batches Help Scale LLM Reinforcement Learning?](https://papers.projxon.ai/entries/1041) (paper, #1041)
- [Scaling Laws for Looped Mixture of Experts](https://papers.projxon.ai/entries/847) (paper, #847)
- [Scaling Repeated-Data Pretraining: Batch Size, Regularization, and GPU-Time Tradeoffs](https://papers.projxon.ai/entries/1368) (paper, #1368)
- [How Much Is an AI Token Worth? Scaling Laws for Wild AI-Generated Web Text](https://papers.projxon.ai/entries/835) (paper, #835)
