Reuse, Don't Retrain: A Recipe for Continued Pretraining of Language Models
Jupinder Parmar, Sanjev Satheesh, Mostofa Patwary, Mohammad Shoeybi, Bryan Catanzaro
TL;DR
The paper tackles the high cost of pretraining language models by proposing a practical continued pretraining recipe to reuse existing checkpoints. It shows that a two-stage data-distribution strategy (GB then QA) combined with a carefully tuned cosine learning-rate schedule and an optimal distribution switch point yields meaningful gains over naïve continued training, with robustness across horizons from 100B to 1T tokens. Document mining further amplifies benefits by focusing on QA-relevant data. Collectively, the work provides a transferable, scalable workflow for improving general capabilities without starting from scratch, potentially lowering the barrier for deploying stronger LMs.
Abstract
As language models have scaled both their number of parameters and pretraining dataset sizes, the computational cost for pretraining has become intractable except for the most well-resourced teams. This increasing cost makes it ever more important to be able to reuse a model after it has completed pretraining; allowing for a model's abilities to further improve without needing to train from scratch. In this work, we detail a set of guidelines that cover how to design efficacious data distributions and learning rate schedules for continued pretraining of language models. When applying these findings within a continued pretraining run on top of a well-trained 15B parameter model, we show an improvement of 9\% in average model accuracy compared to the baseline of continued training on the pretraining set. The resulting recipe provides a practical starting point with which to begin developing language models through reuse rather than retraining.
