Megadose AI progress, ranked daily.

Scaling Repeated-Data Pretraining: Batch Size, Regularization, and GPU-Time Tradeoffs

· HF Daily Papers ·
Smaller batches with fewer GPUs can beat larger batches with more GPUs on validation loss—even under the same training deadline.

The paper studies pretraining that repeatedly reuses a finite supply of unique data. Optimizing batch size alongside epoch count reveals a U-shaped loss curve, favoring smaller batches than typical pretraining; the author suggests gradient noise provides implicit regularization. Repacking documents each epoch, tying weights and applying positive embedding weight decay also offer ways to tune repeated-data training. Smaller batches can take prohibitively long, however, so tighter deadlines favor larger batches, while additional GPUs can buy shorter training times.

HF Daily Papers' note

score 5

Categories: Research