Scaling Repeated-Data Pretraining: Batch Size, Regularization, and GPU-Time Tradeoffs
Summary
Studies pretraining when compute is abundant but unique data are finite, requiring repeated passes over the same data. Revisits the infinite-compute, finite-data frontier (Kim et al. 2026) and shows it depends critically on choices previously fixed or studied in isolation. Jointly optimizing batch size, learning rate, weight decay, and epoch count reveals a U-shaped relationship between validation loss and batch size: the optimum (B=64 sequences / 0.262M tokens for the 1.5B on a 1B-token DCLM-Baseline pool) is 2.9–4.7× smaller than what single-pass batch laws predict, and substantially smaller than the 512–2,048-sequence batches in public recipes — small-batch gradient noise acts as implicit regularization against repeated-data overfitting (CE 3.124→2.977 for the 1.5B; 3.136→3.093 for 474M; 3.416→3.332 for 153M). Batch tuning extends beneficial repetition from 8→20 epochs (1.5B) and 40→112 (153M). A repetition-aware recipe — repacking documents into fresh sequences every epoch, tying input/output embeddings, and applying positive weight decay to the shared embeddings — further improves the frontier (B=64: 2.971→2.946) and delays the best checkpoint (1.5B 20→32 epochs; 474M 32→80; 153M 112→240); batch warmdown, structured gradient noise, and LocalSGD/DiLoCo were tried and showed no clear consistent gains. Because the infinite-compute optimum can demand prohibitive sequential time (an illustrative 70B-on-10T extrapolation gives 22.6 years), the paper splits compute into GPUs and time: under short deadlines larger batches win, but even under a fixed deadline a smaller batch on 16 GPUs can beat a larger batch on 64 GPUs, and latency-oriented parallelism (microbatch 8→1) trades 8× GPUs for 2.7× shorter training at unchanged loss. The repetition-aware recipe uniformly improves the joint GPU-time frontier. Limitations: 153M–1.5B models, 0.333B–3B-token pools; dense models only; target-scale numbers are illustrative extrapolations.
- Venue
- arXiv:2610.15965 (cs.LG)
- Source
- arxiv
- Access
- free
- Language
- en
- Added
- Oct 14, 2026
- Verified
- Oct 14, 2026
- Found via
- #direct
Research notes
- Discovery: Hudson shared the bare arXiv link directly, 2026-10-14. License CC BY 4.0 confirmed on the arXiv page; code promised upon acceptance, not yet released. Relevance: (1) His LLM pretraining stack — multi-epoch pretraining on finite unique data is his daily reality; the smaller-batch prescription, repack-every-epoch, and tied-embeddings-with-embedding-decay recipe are directly testable on his 3:1 SWA hybrid (though his stacks are dense, the paper is dense-only, so transfer is same-class); (2) PriorBPB (queued #21) is the eval-side counterpart — length-confound in eval meets repetition-overfitting in training; (3) data-quality thread — more repetitions on a filtered pool beat larger unfiltered pools (Fang et al. 2025 cited), relevant to his pretraining data decisions; (4) GPU-time split — his own runs are both GPU- and time-bound, so the "16 GPUs beat 64 GPUs under a deadline" result challenges his data-parallelism defaults. Caveats: all author's own experiments on ≤1.5B models; no independent reproduction; illustrative extrapolations only at 70B. Cluster: data scaling / repeated-data pretraining (Kim et al. 2026, Xu et al. 2026), batch-size optimization, pretraining recipes.
- License: CC BY 4.0 (arXiv). Code promised "upon acceptance" — unreleased at catalog time.
Similar entries
- Paper The Best Optimizer Depends on Batch Size
- Paper When Do Larger Batches Help Scale LLM Reinforcement Learning?
- Paper Synthetic Pre-pretraining Survives Scale, but Not as a Grammatical Prior
- Paper How Much Is an AI Token Worth? Scaling Laws for Wild AI-Generated Web Text
- Paper Planned Test-Time Scaling with Coordinated Reasoning Paths
- Tool K2 Horizon data release — DATA_NAVIGATOR index and the post-training data-generation pipelines