Learning Dynamics in Continual Pre-Training for Large Language Models
Not on the map. Why?
Abstract (arXiv)
Continual Pre-Training (CPT) has become a popular and effective method to apply strong foundation models to specific downstream tasks. In this work, we explore the learning dynamics throughout the CPT process for large language models. We specifically focus on how general and downstream domain performance evolves at each training step, with domain performance measured via validation losses. We have observed that the CPT loss curve fundamentally characterizes the transition from one curve to another hidden curve, and could be described by decoupling the effects of distribution shift and learning rate annealing. We derive a CPT scaling law that combines the two factors, enabling the prediction of loss at any (continual) training steps and across learning rate schedules (LRS) in CPT. Our formulation presents a comprehensive understanding of several critical factors in CPT, including loss potential, peak learning rate, training steps, replay ratio, etc. Moreover, our approach can be adapted to customize training hyper-parameters to different CPT goals such as balancing general and domain-specific performance. Extensive experiments demonstrate that our scaling law holds across various CPT datasets and training hyper-parameters.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 30 of its 42 references that are in the map. First posted on arXiv 12 May 2025.
Builds on
30 of 42 references.
References · 30
- 2023GPT-4 Technical Reportcited by 18,396
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
- 2022Training Compute-Optimal Large Language Modelscited by 3,019
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
- 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,160
- 2021Learning to Prompt for Continual Learningcited by 944
- 2024MiniCPM: Unveiling the Potential of Small Language Models with Scalable Training Strategiescited by 723
- 2021Scaling Laws for Transfercited by 272
- 2024Continual Learning of Large Language Models: A Comprehensive Surveycited by 234
- 2024Data Mixing Laws: Optimizing Data Mixtures by Predicting Language Modeling Performancecited by 184
18 more
- 2024RedPajama: an Open Dataset for Training Large Language Modelscited by 182
- 2024RegMix: Data Mixture as Regression for Language Model Pre-trainingcited by 177
- 2023Continual Pre-Training of Large Language Models: How to (re)warm your model?cited by 137
- 2024Simple and Scalable Strategies to Continually Pre-train Large Language Modelscited by 127
- 2022Pile of Law: Learning Responsible Data Filtering from the Law and a 256GB Open-Source Legal Datasetcited by 113
- 2024Reuse, Don't Retrain: A Recipe for Continued Pretraining of Language Modelscited by 72
- 2023Lifelong Language Pretraining with Distribution-Specialized Expertscited by 66
- 2024Investigating Continual Pretraining in Large Language Models: Insights and Implicationscited by 57
- 2022Continual evaluation for lifelong learning: Identifying the stability gapcited by 56
- 2024D-CPT Law: Domain-specific Continual Pre-Training Scaling Law for Large Language Modelscited by 41
- 2024Scaling Law with Learning Rate Annealingcited by 29
- 2024CMR Scaling Law: Predicting Critical Mixture Ratios for Continual Pre-training of Language Modelscited by 23
- 2025A Multi-Power Law for Loss Curve Prediction Across Learning Rate Schedulescited by 22
- 2024Data Mixture Inference: What do BPE Tokenizers Reveal about their Training Data?cited by 13
- 2024Unearthing Large Scale Domain-Specific Knowledge from Public Corporacited by 12
- 2024An Empirical Study of Scaling Laws for Transfercited by 9
- 2024Optimization Hyper-parameter Laws for Large Language Modelscited by 7
- 2024A Learning Rate Path Switching Training Paradigm for Version Updates of Large Language Modelscited by 2
Built on by
Citing papers per year: 2025: 2; 2026: 3.
5 papers.
- 2025Reinforcement Fine-Tuning Naturally Mitigates Forgetting in Continual Post-Trainingcited by 47
- 2026Pre-training LLM without Learning Rate Decay Enhances Supervised Fine-Tuningcited by 13
- 2026LegalOne: A Family of Foundation Models for Reliable Legal Reasoningcited by 5
- 2025Reusing Overtrained Language Models Saturates Scalingcited by 2
- 2026Understanding the Weight Averaging Mechanism in LLM Training for Post-Training Quantizationcited by 0
- 2026Understanding the Weight Averaging Mechanism in LLM Training for Post-Training Quantization4 Oct 2026
- 2026Pre-training LLM without Learning Rate Decay Enhances Supervised Fine-Tuning17 Mar 2026
- 2026LegalOne: A Family of Foundation Models for Reliable Legal Reasoning31 Jan 2026
- 2025Reusing Overtrained Language Models Saturates Scaling8 Oct 2025
- 2025Reinforcement Fine-Tuning Naturally Mitigates Forgetting in Continual Post-Training7 Jul 2025