D-CPT Law: Domain-specific Continual Pre-Training Scaling Law for Large Language Models
Not on the map. Why?
Abstract (arXiv)
Continual Pre-Training (CPT) on Large Language Models (LLMs) has been widely used to expand the model's fundamental understanding of specific downstream domains (e.g., math and code). For the CPT on domain-specific LLMs, one important question is how to choose the optimal mixture ratio between the general-corpus (e.g., Dolma, Slim-pajama) and the downstream domain-corpus. Existing methods usually adopt laborious human efforts by grid-searching on a set of mixture ratios, which require high GPU training consumption costs. Besides, we cannot guarantee the selected ratio is optimal for the specific domain. To address the limitations of existing methods, inspired by the Scaling Law for performance prediction, we propose to investigate the Scaling Law of the Domain-specific Continual Pre-Training (D-CPT Law) to decide the optimal mixture ratio with acceptable training costs for LLMs of different sizes. Specifically, by fitting the D-CPT Law, we can easily predict the general and downstream performance of arbitrary mixture ratios, model sizes, and dataset sizes using small-scale training costs on limited experiments. Moreover, we also extend our standard D-CPT Law on cross-domain settings and propose the Cross-Domain D-CPT Law to predict the D-CPT law of target domains, where very small training costs (about 1% of the normal training costs) are needed for the target domains. Comprehensive experimental results on six downstream domains demonstrate the effectiveness and generalizability of our proposed D-CPT Law and Cross-Domain D-CPT Law.
Key facts. Cited by 39 papers in the map (data through 7 Oct 2026). Builds on 42 of its 57 references that are in the map. First posted on arXiv 3 Jun 2024.
Builds on
42 of 57 references.
References · 42
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2023Qwen Technical Reportcited by 3,273
- 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,548
- 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,199
- 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
- 2022Scaling Laws for Reward Model Overoptimizationcited by 1,056
- 2017Deep Learning Scaling is Predictable, Empiricallycited by 556
- 2024StarCoder 2 and The Stack v2: The Next Generationcited by 484
- 2024Dolma: an Open Corpus of Three Trillion Tokens for Language Model Pretraining Researchcited by 475
30 more
- 2023Scaling Data-Constrained Language Modelscited by 391
- 2023Llemma: An Open Language Model For Mathematicscited by 385
- 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Uglycited by 380
- 2021Scaling Laws for Transfercited by 265
- 2022Unified Scaling Laws for Routed Language Modelscited by 249
- 2024MT-Bench-101: A Fine-Grained Benchmark for Evaluating Large Language Models in Multi-Turn Dialoguescited by 247
- 2019ERNIE 2.0: A Continual Pre-training Framework for Language Understandingcited by 230
- 2024When Scaling Meets LLM Finetuning: The Effect of Data, Model and Finetuning Methodcited by 201
- 2023Continual Pre-training of Language Modelscited by 194
- 2024Data Mixing Laws: Optimizing Data Mixtures by Predicting Language Modeling Performancecited by 179
- 2023GPTs are GPTs: An Early Look at the Labor Market Impact Potential of Large Language Modelscited by 174
- 2023Continual Pre-Training of Large Language Models: How to (re)warm your model?cited by 135
- 2021An Empirical Investigation of the Role of Pre-training in Lifelong Learningcited by 134
- 2023Scaling Laws for Generative Mixed-Modal Language Modelscited by 131
- 2021DEMix Layers: Disentangling Domains for Modular Language Modelingcited by 130
- 2022Revisiting Neural Scaling Laws in Language and Visioncited by 129
- 2023Scaling Laws of RoPE-based Extrapolationcited by 124
- 2021Lifelong Pretraining: Continually Adapting Language Models to Emerging Corporacited by 114
- 2022Pile of Law: Learning Responsible Data Filtering from the Law and a 256GB Open-Source Legal Datasetcited by 113
- 2021Scaling Laws for Neural Machine Translationcited by 110
- 2023Towards Geospatial Foundation Models via Continual Pretrainingcited by 109
- 2022Continual Pre-Training Mitigates Forgetting in Language and Visioncited by 82
- 2024MAP-Neo: Highly Capable and Transparent Bilingual Large Language Model Seriescited by 67
- 2023Lifelong Language Pretraining with Distribution-Specialized Expertscited by 64
- 2023OWL: A Large Language Model for IT Operationscited by 43
- 2023Scaling Laws for Sparsely-Connected Foundation Modelscited by 41
- 2024Emulated Disalignment: Safety Alignment for Large Language Models May Backfire!cited by 36
- 2024MuPT: A Generative Symbolic Music Pretrained Transformercited by 32
- 2023Unveiling Gender Bias in Terms of Profession Across LLMs: Analyzing and Addressing Sociological Implicationscited by 29
- 2024Chinese Tiny LLM: Pretraining a Chinese-Centric Large Language Modelcited by 25
Built on by
Citing papers per year: 2024: 10; 2025: 13; 2026: 16.
39 papers.
Sort:
By area:
- 2024RegMix: Data Mixture as Regression for Language Model Pre-trainingcited by 172
- 2024OpenCoder: The Open Cookbook for Top-Tier Code Large Language Modelscited by 127
- 2024Scaling Laws for Predicting Downstream Performance in LLMscited by 48
- 2024Reconciling Kaplan and Chinchilla Scaling Lawscited by 36
- 2024SciLitLLM: How to Adapt LLMs for Scientific Literature Understandingcited by 29
- 2025Parallel Scaling Law for Language Modelscited by 29
- 2024DDK: Distilling Domain Knowledge for Efficient Large Language Modelscited by 25
- 2025ATLAS: Adaptive Transfer Scaling Laws for Multilingual Pretraining, Finetuning, and Decoding the Curse of Multilingualitycited by 19
- 2025SWE-Compass: Towards Unified Evaluation of Agentic Coding Abilities for Large Language Modelscited by 10
- 2024Demystifying Language Model Forgetting with Low-rank Example Associationscited by 8
- 2024Baichuan4-Finance Technical Reportcited by 8
- 2025When Continue Learning Meets Multimodal Large Language Model: A Surveycited by 8
27 more
- 2026The Finetuner's Fallacy: When to Pretrain with Your Finetuning Datacited by 7
- 2024Mix-CPT: A Domain Adaptation Framework via Decoupling Knowledge Learning and Format Alignmentcited by 6
- 2025Position: Enough of Scaling LLMs! Lets Focus on Downscalingcited by 5
- 2025Domain2Vec: Vectorizing Datasets to Find the Optimal Data Mixture without Trainingcited by 5
- 2025How to Upscale Neural Networks with Scaling Law? A Survey and Practical Guidelinescited by 4
- 2025Learning Dynamics in Continual Pre-Training for Large Language Modelscited by 4
- 2025A Survey of LLM × DATAcited by 4
- 2025ADEPT: Continual Pretraining via Adaptive Expansion and Dynamic Decoupled Tuningcited by 4
- 2026RAD-LAD: Rule and Language Grounded Autonomous Driving in Real-Timecited by 3
- 2026Scaling Laws for Mixture Pretraining Under Data Constraintscited by 3
- 2025Reusing Overtrained Language Models Saturates Scalingcited by 2
- 2026Spend Less, Fit Better: Budget-Efficient Scaling Law Fitting via Active Experiment Selectioncited by 2
- 2026InfoLaw: Information Scaling Laws for Large Language Models with Quality-Weighted Mixture Data and Repetitioncited by 2
- 2026Capacity-Aware Mixture Law Enables Efficient LLM Data Optimizationcited by 1
- 2026Optimal Splitting of Language Models from Mixtures to Specialized Domainscited by 1
- 2026How Post-Training Shapes Biological Reasoning Modelscited by 1
- 2026Diffract: Spectral View of LLM Domain Adaptationcited by 1
- 2024A Practice of Post-Training on Llama-3 70B with Optimal Selection of Additional Language Mixture Ratiocited by 0
- 2025Collaborative Editable Modelcited by 0
- 2025PTPP-Aware Adaptation Scaling Laws: Predicting Domain-Adaptation Performance at Unseen Pre-Training Budgetscited by 0
- 2026MaD-Mix: Multi-Modal Data Mixtures via Latent Space Coupling for Vision-Language Model Trainingcited by 0
- 2026Full-Stack Domain Enhancement for Combustion LLMs: Construction and Optimizationcited by 0
- 2026Continued Pretraining of FinBERT on Finnish Histopathological Reports: Train-Time Signals and Proxy Downstream Correlationscited by 0
- 2026LegalMidm: Use-Case-Driven Legal Domain Specialization for Korean Large Language Modelcited by 0
- 2026Domain-specific Pretraining Profile and Transformer Performance: Evidence from Modeling Digital Pragmatics in Arabic-English Code-switchingcited by 0
- 2026Paired Multimodal Scaling Lawscited by 0
- 2026Replay on Demand: An Emergent Curriculum for Balancing Adaptation and Forgetting in Continued Pretrainingcited by 0
- 2026Replay on Demand: An Emergent Curriculum for Balancing Adaptation and Forgetting in Continued Pretraining30 Sep 2026
- 2026Paired Multimodal Scaling Laws28 Sep 2026
- 2026Domain-specific Pretraining Profile and Transformer Performance: Evidence from Modeling Digital Pragmatics in Arabic-English Code-switching13 Sep 2026
- 2026Diffract: Spectral View of LLM Domain Adaptation11 Aug 2026
- 2026How Post-Training Shapes Biological Reasoning Models15 Jun 2026
- 2026Scaling Laws for Mixture Pretraining Under Data Constraints12 May 2026
- 2026InfoLaw: Information Scaling Laws for Large Language Models with Quality-Weighted Mixture Data and Repetition4 May 2026
- 2026LegalMidm: Use-Case-Driven Legal Domain Specialization for Korean Large Language Model28 Apr 2026
- 2026Spend Less, Fit Better: Budget-Efficient Scaling Law Fitting via Active Experiment Selection24 Apr 2026
- 2026Continued Pretraining of FinBERT on Finnish Histopathological Reports: Train-Time Signals and Proxy Downstream Correlations16 Apr 2026
- 2026RAD-LAD: Rule and Language Grounded Autonomous Driving in Real-Time30 Mar 2026
- 2026Optimal Splitting of Language Models from Mixtures to Specialized Domains19 Mar 2026
27 more
- 2026The Finetuner's Fallacy: When to Pretrain with Your Finetuning Data17 Mar 2026
- 2026Capacity-Aware Mixture Law Enables Efficient LLM Data Optimization9 Mar 2026
- 2026Full-Stack Domain Enhancement for Combustion LLMs: Construction and Optimization27 Feb 2026
- 2026MaD-Mix: Multi-Modal Data Mixtures via Latent Space Coupling for Vision-Language Model Training8 Feb 2026
- 2025SWE-Compass: Towards Unified Evaluation of Agentic Coding Abilities for Large Language Models7 Nov 2025
- 2025PTPP-Aware Adaptation Scaling Laws: Predicting Domain-Adaptation Performance at Unseen Pre-Training Budgets27 Oct 2025
- 2025ATLAS: Adaptive Transfer Scaling Laws for Multilingual Pretraining, Finetuning, and Decoding the Curse of Multilinguality24 Oct 2025
- 2025ADEPT: Continual Pretraining via Adaptive Expansion and Dynamic Decoupled Tuning11 Oct 2025
- 2025Reusing Overtrained Language Models Saturates Scaling8 Oct 2025
- 2025Collaborative Editable Model17 Jun 2025
- 2025Domain2Vec: Vectorizing Datasets to Find the Optimal Data Mixture without Training12 Jun 2025
- 2025A Survey of LLM × DATA24 May 2025
- 2025Parallel Scaling Law for Language Models15 May 2025
- 2025Learning Dynamics in Continual Pre-Training for Large Language Models12 May 2025
- 2025Position: Enough of Scaling LLMs! Lets Focus on Downscaling2 May 2025
- 2025When Continue Learning Meets Multimodal Large Language Model: A Survey27 Feb 2025
- 2025How to Upscale Neural Networks with Scaling Law? A Survey and Practical Guidelines17 Feb 2025
- 2024Baichuan4-Finance Technical Report17 Dec 2024
- 2024OpenCoder: The Open Cookbook for Top-Tier Code Large Language Models7 Nov 2024
- 2024Scaling Laws for Predicting Downstream Performance in LLMs11 Oct 2024
- 2024A Practice of Post-Training on Llama-3 70B with Optimal Selection of Additional Language Mixture Ratio10 Sep 2024
- 2024SciLitLLM: How to Adapt LLMs for Scientific Literature Understanding28 Aug 2024
- 2024DDK: Distilling Domain Knowledge for Efficient Large Language Models23 Jul 2024
- 2024Mix-CPT: A Domain Adaptation Framework via Decoupling Knowledge Learning and Format Alignment15 Jul 2024
- 2024RegMix: Data Mixture as Regression for Language Model Pre-training1 Jul 2024
- 2024Demystifying Language Model Forgetting with Low-rank Example Associations20 Jun 2024
- 2024Reconciling Kaplan and Chinchilla Scaling Laws12 Jun 2024
- 2025Parallel Scaling Law for Language Modelscited by 29
- 2026How Post-Training Shapes Biological Reasoning Modelscited by 1
- 2026How Post-Training Shapes Biological Reasoning Models15 Jun 2026
- 2025Parallel Scaling Law for Language Models15 May 2025
- 2025A Survey of LLM × DATAcited by 4
- 2025A Survey of LLM × DATA24 May 2025
- 2024RegMix: Data Mixture as Regression for Language Model Pre-trainingcited by 172
- 2024OpenCoder: The Open Cookbook for Top-Tier Code Large Language Modelscited by 127
- 2024Scaling Laws for Predicting Downstream Performance in LLMscited by 48
- 2024Reconciling Kaplan and Chinchilla Scaling Lawscited by 36
- 2024SciLitLLM: How to Adapt LLMs for Scientific Literature Understandingcited by 29
- 2024DDK: Distilling Domain Knowledge for Efficient Large Language Modelscited by 25
- 2025ATLAS: Adaptive Transfer Scaling Laws for Multilingual Pretraining, Finetuning, and Decoding the Curse of Multilingualitycited by 19
- 2024Demystifying Language Model Forgetting with Low-rank Example Associationscited by 8
- 2024Baichuan4-Finance Technical Reportcited by 8
- 2024Mix-CPT: A Domain Adaptation Framework via Decoupling Knowledge Learning and Format Alignmentcited by 6
- 2025Position: Enough of Scaling LLMs! Lets Focus on Downscalingcited by 5
- 2025Domain2Vec: Vectorizing Datasets to Find the Optimal Data Mixture without Trainingcited by 5
12 most cited of 31 All 31 (JSON)
- 2026Replay on Demand: An Emergent Curriculum for Balancing Adaptation and Forgetting in Continued Pretraining30 Sep 2026
- 2026Paired Multimodal Scaling Laws28 Sep 2026
- 2026Domain-specific Pretraining Profile and Transformer Performance: Evidence from Modeling Digital Pragmatics in Arabic-English Code-switching13 Sep 2026
- 2026Diffract: Spectral View of LLM Domain Adaptation11 Aug 2026
- 2026Scaling Laws for Mixture Pretraining Under Data Constraints12 May 2026
- 2026InfoLaw: Information Scaling Laws for Large Language Models with Quality-Weighted Mixture Data and Repetition4 May 2026
- 2026LegalMidm: Use-Case-Driven Legal Domain Specialization for Korean Large Language Model28 Apr 2026
- 2026Spend Less, Fit Better: Budget-Efficient Scaling Law Fitting via Active Experiment Selection24 Apr 2026
- 2026Continued Pretraining of FinBERT on Finnish Histopathological Reports: Train-Time Signals and Proxy Downstream Correlations16 Apr 2026
- 2026Optimal Splitting of Language Models from Mixtures to Specialized Domains19 Mar 2026
- 2026Capacity-Aware Mixture Law Enables Efficient LLM Data Optimization9 Mar 2026
- 2026Full-Stack Domain Enhancement for Combustion LLMs: Construction and Optimization27 Feb 2026
12 newest of 31 All 31 (JSON)