How to Set the Batch Size for Large-Scale Pre-training?
Not on the map. Why?
Abstract (arXiv)
The concept of Critical Batch Size, as pioneered by OpenAI, has long served as a foundational principle for large-scale pre-training. However, with the paradigm shift towards the Warmup-Stable-Decay (WSD) learning rate scheduler, we observe that the original theoretical framework and its underlying mechanisms fail to align with new pre-training dynamics. To bridge this gap between theory and practice, this paper derives a revised E(S) relationship tailored for WSD scheduler, characterizing the trade-off between training data consumption E and steps S during pre-training. Our theoretical analysis reveals two fundamental properties of WSD-based pre-training: 1) B_min, the minimum batch size threshold required to achieve a target loss, and 2) B_opt, the optimal batch size that maximizes data efficiency by minimizing total tokens. Building upon these properties, we propose a dynamic Batch Size Scheduler. Extensive experiments demonstrate that our revised formula precisely captures the dynamics of large-scale pre-training, and the resulting scheduling strategy significantly enhances both training efficiency and final model quality.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 23 of its 30 references that are in the map. First posted on arXiv 8 Jan 2026.
Builds on
23 of 30 references.
References · 23
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2025Qwen3 Technical Reportcited by 8,195
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2024Qwen2 Technical Reportcited by 2,076
- 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,479
- 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,337
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,311
- 2019On the Variance of the Adaptive Learning Rate and Beyondcited by 763
- 2024MiniCPM: Unveiling the Potential of Small Language Models with Scalable Training Strategiescited by 694
- 2019Large Batch Optimization for Deep Learning: Training BERT in 76 minutescited by 671
11 more
- 2024DeepSeek LLM: Scaling Open-Source Language Models with Longtermismcited by 621
- 2023CMMLU: Measuring massive multitask language understanding in Chinesecited by 436
- 2024InternLM2 Technical Reportcited by 391
- 2018An Empirical Model of Large-Batch Trainingcited by 268
- 2014One weird trick for parallelizing convolutional neural networkscited by 264
- 2022On the SDEs and Scaling Rules for Adaptive Gradient Algorithmscited by 100
- 2020On the Generalization Benefit of Noise in Stochastic Gradient Descentcited by 81
- 2025Demons in the Detail: On Implementing Load Balancing Loss for Training Specialized Mixture-of-Expert Modelscited by 53
- 2024Surge Phenomenon in Optimal Learning Rate and Batch Size Scalingcited by 22
- 2025A Multi-Power Law for Loss Curve Prediction Across Learning Rate Schedulescited by 22
- 2024Scaling Law for Language Models Training Considering Batch Sizecited by 19
Built on by
Not cited yet.