mlsanityData to 7 Oct 2026

D-CPT Law: Domain-specific Continual Pre-Training Scaling Law for Large Language Models

arXiv 2406.01375 ↗First posted 3 Jun 2024cs.CLcited by 39

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

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  4. 2020Scaling Laws for Neural Language Modelscited by 6,411
  5. 2023Qwen Technical Reportcited by 3,273
  6. 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,548
  7. 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,199
  8. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
  9. 2022Scaling Laws for Reward Model Overoptimizationcited by 1,056
  10. 2017Deep Learning Scaling is Predictable, Empiricallycited by 556
  11. 2024StarCoder 2 and The Stack v2: The Next Generationcited by 484
  12. 2024Dolma: an Open Corpus of Three Trillion Tokens for Language Model Pretraining Researchcited by 475
30 more
  1. 2023Scaling Data-Constrained Language Modelscited by 391
  2. 2023Llemma: An Open Language Model For Mathematicscited by 385
  3. 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Uglycited by 380
  4. 2021Scaling Laws for Transfercited by 265
  5. 2022Unified Scaling Laws for Routed Language Modelscited by 249
  6. 2024MT-Bench-101: A Fine-Grained Benchmark for Evaluating Large Language Models in Multi-Turn Dialoguescited by 247
  7. 2019ERNIE 2.0: A Continual Pre-training Framework for Language Understandingcited by 230
  8. 2024When Scaling Meets LLM Finetuning: The Effect of Data, Model and Finetuning Methodcited by 201
  9. 2023Continual Pre-training of Language Modelscited by 194
  10. 2024Data Mixing Laws: Optimizing Data Mixtures by Predicting Language Modeling Performancecited by 179
  11. 2023GPTs are GPTs: An Early Look at the Labor Market Impact Potential of Large Language Modelscited by 174
  12. 2023Continual Pre-Training of Large Language Models: How to (re)warm your model?cited by 135
  13. 2021An Empirical Investigation of the Role of Pre-training in Lifelong Learningcited by 134
  14. 2023Scaling Laws for Generative Mixed-Modal Language Modelscited by 131
  15. 2021DEMix Layers: Disentangling Domains for Modular Language Modelingcited by 130
  16. 2022Revisiting Neural Scaling Laws in Language and Visioncited by 129
  17. 2023Scaling Laws of RoPE-based Extrapolationcited by 124
  18. 2021Lifelong Pretraining: Continually Adapting Language Models to Emerging Corporacited by 114
  19. 2022Pile of Law: Learning Responsible Data Filtering from the Law and a 256GB Open-Source Legal Datasetcited by 113
  20. 2021Scaling Laws for Neural Machine Translationcited by 110
  21. 2023Towards Geospatial Foundation Models via Continual Pretrainingcited by 109
  22. 2022Continual Pre-Training Mitigates Forgetting in Language and Visioncited by 82
  23. 2024MAP-Neo: Highly Capable and Transparent Bilingual Large Language Model Seriescited by 67
  24. 2023Lifelong Language Pretraining with Distribution-Specialized Expertscited by 64
  25. 2023OWL: A Large Language Model for IT Operationscited by 43
  26. 2023Scaling Laws for Sparsely-Connected Foundation Modelscited by 41
  27. 2024Emulated Disalignment: Safety Alignment for Large Language Models May Backfire!cited by 36
  28. 2024MuPT: A Generative Symbolic Music Pretrained Transformercited by 32
  29. 2023Unveiling Gender Bias in Terms of Profession Across LLMs: Analyzing and Addressing Sociological Implicationscited by 29
  30. 2024Chinese Tiny LLM: Pretraining a Chinese-Centric Large Language Modelcited by 25

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 10; 2025: 13; 2026: 16.

39 papers.

Sort:

By area:

  1. 2024RegMix: Data Mixture as Regression for Language Model Pre-trainingcited by 172
  2. 2024OpenCoder: The Open Cookbook for Top-Tier Code Large Language Modelscited by 127
  3. 2024Scaling Laws for Predicting Downstream Performance in LLMscited by 48
  4. 2024Reconciling Kaplan and Chinchilla Scaling Lawscited by 36
  5. 2024SciLitLLM: How to Adapt LLMs for Scientific Literature Understandingcited by 29
  6. 2025Parallel Scaling Law for Language Modelscited by 29
  7. 2024DDK: Distilling Domain Knowledge for Efficient Large Language Modelscited by 25
  8. 2025ATLAS: Adaptive Transfer Scaling Laws for Multilingual Pretraining, Finetuning, and Decoding the Curse of Multilingualitycited by 19
  9. 2025SWE-Compass: Towards Unified Evaluation of Agentic Coding Abilities for Large Language Modelscited by 10
  10. 2024Demystifying Language Model Forgetting with Low-rank Example Associationscited by 8
  11. 2024Baichuan4-Finance Technical Reportcited by 8
  12. 2025When Continue Learning Meets Multimodal Large Language Model: A Surveycited by 8
27 more
  1. 2026The Finetuner's Fallacy: When to Pretrain with Your Finetuning Datacited by 7
  2. 2024Mix-CPT: A Domain Adaptation Framework via Decoupling Knowledge Learning and Format Alignmentcited by 6
  3. 2025Position: Enough of Scaling LLMs! Lets Focus on Downscalingcited by 5
  4. 2025Domain2Vec: Vectorizing Datasets to Find the Optimal Data Mixture without Trainingcited by 5
  5. 2025How to Upscale Neural Networks with Scaling Law? A Survey and Practical Guidelinescited by 4
  6. 2025Learning Dynamics in Continual Pre-Training for Large Language Modelscited by 4
  7. 2025A Survey of LLM × DATAcited by 4
  8. 2025ADEPT: Continual Pretraining via Adaptive Expansion and Dynamic Decoupled Tuningcited by 4
  9. 2026RAD-LAD: Rule and Language Grounded Autonomous Driving in Real-Timecited by 3
  10. 2026Scaling Laws for Mixture Pretraining Under Data Constraintscited by 3
  11. 2025Reusing Overtrained Language Models Saturates Scalingcited by 2
  12. 2026Spend Less, Fit Better: Budget-Efficient Scaling Law Fitting via Active Experiment Selectioncited by 2
  13. 2026InfoLaw: Information Scaling Laws for Large Language Models with Quality-Weighted Mixture Data and Repetitioncited by 2
  14. 2026Capacity-Aware Mixture Law Enables Efficient LLM Data Optimizationcited by 1
  15. 2026Optimal Splitting of Language Models from Mixtures to Specialized Domainscited by 1
  16. 2026How Post-Training Shapes Biological Reasoning Modelscited by 1
  17. 2026Diffract: Spectral View of LLM Domain Adaptationcited by 1
  18. 2024A Practice of Post-Training on Llama-3 70B with Optimal Selection of Additional Language Mixture Ratiocited by 0
  19. 2025Collaborative Editable Modelcited by 0
  20. 2025PTPP-Aware Adaptation Scaling Laws: Predicting Domain-Adaptation Performance at Unseen Pre-Training Budgetscited by 0
  21. 2026MaD-Mix: Multi-Modal Data Mixtures via Latent Space Coupling for Vision-Language Model Trainingcited by 0
  22. 2026Full-Stack Domain Enhancement for Combustion LLMs: Construction and Optimizationcited by 0
  23. 2026Continued Pretraining of FinBERT on Finnish Histopathological Reports: Train-Time Signals and Proxy Downstream Correlationscited by 0
  24. 2026LegalMidm: Use-Case-Driven Legal Domain Specialization for Korean Large Language Modelcited by 0
  25. 2026Domain-specific Pretraining Profile and Transformer Performance: Evidence from Modeling Digital Pragmatics in Arabic-English Code-switchingcited by 0
  26. 2026Paired Multimodal Scaling Lawscited by 0
  27. 2026Replay on Demand: An Emergent Curriculum for Balancing Adaptation and Forgetting in Continued Pretrainingcited by 0