Scaling Repeated-Data Pretraining: Batch Size, Regularization, and GPU-Time Tradeoffs
Sewon Min
Abstract
We study pretraining when compute is abundant but unique training data are finite, requiring repeated training on the same data. We first revisit infinite-compute pretraining (Kim et al. 2026) and show that its frontier depends critically on choices previously fixed or studied only in isolation. In particular, optimizing batch size together with epoch counts reveals a U-shaped relationship between validation loss and batch size, favoring smaller batches than typical pretraining, likely because small-batch gradient noise provides implicit regularization. We further find that training recipes, previously optimized under a single-pass assumption, can be tuned, e.g., repacking documents into new sequences every epoch, weight tying, and positive embedding weight decay. We then relax the infinite-compute assumption. In particular, smaller-than-typical batch sizes can require prohibitively long sequential training, motivating to treat GPUs and time as separate resources. Tighter deadlines favor larger batches, and latency-oriented parallelism can trade additional GPUs for shorter training. Nevertheless, even under a fixed time budget, a smaller batch with fewer GPUs can achieve lower validation loss than a larger batch with more GPUs, challenging the common practice of increasing data parallelism to maximize GPU utilization under a deadline. Together, our results identify underexplored factors in repeated-data training and provide concrete guidance on how training recipes and resource allocation should change from single-pass pretraining.
Create a lesson
Related papers
DEFlow: Deep Equilibrium Flow Maximum-Entropy Reinforcement Learning
Ruslan Ageev, Huaze Tang, Runqing Miao et al.
Towards Modality-Agnostic Seizure Classification: A Unified Deep Learning Framework for Heterogeneous EEG and Intracranial EEG Signals
Ramya Sundaram, Muhammad Aslam Jarwar, M Uma et al.
HyBRA-EEG: Hyperbolic Global-Local Brain-Region Aggregation for Self-Supervised EEG Representation Learning
Xin Liu, Feng Lu, Wei Li
OctMole: Multiscale 3D Molecular Generation with Hierarchical Spatial Flows
Yu-Tong Jin, Yi-Yang Tian, Qiwei Ye et al.
Characterizing and Mitigating Distributional Bias in Physics-Informed Generative Models
Tanja Bien, Samir Darouich, Lluís Pastor-Pérez et al.
The Language of Looking: Motion Tokens Reveal Domain-Dependent Local Structure in Gaze Sequences
Virmarie Maquiling, Enkelejda Kasneci