Fast Catch-Up, Late Switching: Optimal Batch Size Scheduling via Functional Scaling Laws

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Wang, Jinbo, Li, Binghui, Zhou, Zhanpeng, Wang, Mingze, Sun, Yuxuan, Zhang, Jiaqi, Cai, Xunliang, Wu, Lei
Format: Preprint
Veröffentlicht: 2026
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866914343331823616
author Wang, Jinbo
Li, Binghui
Zhou, Zhanpeng
Wang, Mingze
Sun, Yuxuan
Zhang, Jiaqi
Cai, Xunliang
Wu, Lei
author_facet Wang, Jinbo
Li, Binghui
Zhou, Zhanpeng
Wang, Mingze
Sun, Yuxuan
Zhang, Jiaqi
Cai, Xunliang
Wu, Lei
contents Batch size scheduling (BSS) plays a critical role in large-scale deep learning training, influencing both optimization dynamics and computational efficiency. Yet, its theoretical foundations remain poorly understood. In this work, we show that the functional scaling law (FSL) framework introduced in Li et al. (2025a) provides a principled lens for analyzing BSS. Specifically, we characterize the optimal BSS under a fixed data budget and show that its structure depends sharply on task difficulty. For easy tasks, optimal schedules keep increasing batch size throughout. In contrast, for hard tasks, the optimal schedule maintains small batch sizes for most of training and switches to large batches only in a late stage. To explain the emergence of late switching, we uncover a dynamical mechanism -- the fast catch-up effect -- which also manifests in large language model (LLM) pretraining. After switching from small to large batches, the loss rapidly aligns with the constant large-batch trajectory. Using FSL, we show that this effect stems from rapid forgetting of accumulated gradient noise, with the catch-up speed determined by task difficulty. Crucially, this effect implies that large batches can be safely deferred to late training without sacrificing performance, while substantially reducing data consumption. Finally, extensive LLM pretraining experiments -- covering both Dense and MoE architectures with up to 1.1B parameters and 1T tokens -- validate our theoretical predictions. Across all settings, late-switch schedules consistently outperform constant-batch and early-switch baselines.
format Preprint
id arxiv_https___arxiv_org_abs_2602_14208
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Fast Catch-Up, Late Switching: Optimal Batch Size Scheduling via Functional Scaling Laws
Wang, Jinbo
Li, Binghui
Zhou, Zhanpeng
Wang, Mingze
Sun, Yuxuan
Zhang, Jiaqi
Cai, Xunliang
Wu, Lei
Machine Learning
Optimization and Control
Batch size scheduling (BSS) plays a critical role in large-scale deep learning training, influencing both optimization dynamics and computational efficiency. Yet, its theoretical foundations remain poorly understood. In this work, we show that the functional scaling law (FSL) framework introduced in Li et al. (2025a) provides a principled lens for analyzing BSS. Specifically, we characterize the optimal BSS under a fixed data budget and show that its structure depends sharply on task difficulty. For easy tasks, optimal schedules keep increasing batch size throughout. In contrast, for hard tasks, the optimal schedule maintains small batch sizes for most of training and switches to large batches only in a late stage. To explain the emergence of late switching, we uncover a dynamical mechanism -- the fast catch-up effect -- which also manifests in large language model (LLM) pretraining. After switching from small to large batches, the loss rapidly aligns with the constant large-batch trajectory. Using FSL, we show that this effect stems from rapid forgetting of accumulated gradient noise, with the catch-up speed determined by task difficulty. Crucially, this effect implies that large batches can be safely deferred to late training without sacrificing performance, while substantially reducing data consumption. Finally, extensive LLM pretraining experiments -- covering both Dense and MoE architectures with up to 1.1B parameters and 1T tokens -- validate our theoretical predictions. Across all settings, late-switch schedules consistently outperform constant-batch and early-switch baselines.
title Fast Catch-Up, Late Switching: Optimal Batch Size Scheduling via Functional Scaling Laws
topic Machine Learning
Optimization and Control
url https://arxiv.org/abs/2602.14208