mlsanityData to 14 Oct 2026

Efficient Continual Pre-training by Mitigating the Stability Gap

arXiv 2406.14833 ↗First posted 21 Jun 2024cs.CLcited by 25

Not on the map. Why?

Abstract (arXiv)

Continual pre-training has increasingly become the predominant approach for adapting Large Language Models (LLMs) to new domains. This process involves updating the pre-trained LLM with a corpus from a new domain, resulting in a shift in the training distribution. To study the behavior of LLMs during this shift, we measured the model's performance throughout the continual pre-training process. we observed a temporary performance drop at the beginning, followed by a recovery phase, a phenomenon known as the "stability gap," previously noted in vision models classifying new classes. To address this issue and enhance LLM performance within a fixed compute budget, we propose three effective strategies: (1) Continually pre-training the LLM on a subset with a proper size for multiple epochs, resulting in faster performance recovery than pre-training the LLM on a large corpus in a single epoch; (2) Pre-training the LLM only on high-quality sub-corpus, which rapidly boosts domain performance; and (3) Using a data mixture similar to the pre-training data to reduce distribution gap. We conduct various experiments on Llama-family models to validate the effectiveness of our strategies in both medical continual pre-training and instruction tuning. For example, our strategies improve the average medical task performance of the OpenLlama-3B model from 36.2% to 40.7% with only 40% of the original training budget and enhance the average general task performance without causing forgetting. Furthermore, we apply our strategies to the Llama-3-8B model. The resulting model, Llama-3-Physician, achieves the best medical performance among current open-source models, and performs comparably to or even better than GPT-4 on several medical benchmarks. We release our models at urlhttps://huggingface.co/YiDuo1999/Llama-3-Physician-8B-Instruct.

Key facts. Cited by 25 papers in the map (data through 14 Oct 2026). Builds on 66 of its 87 references that are in the map. First posted on arXiv 21 Jun 2024.

Builds on

66 of 87 references.

References · 66

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2023GPT-4 Technical Reportcited by 18,396
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  4. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  5. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  6. 2020Scaling Laws for Neural Language Modelscited by 6,586
  7. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
  8. 2016Overcoming catastrophic forgetting in neural networkscited by 4,787
  9. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
  10. 2022Training Compute-Optimal Large Language Modelscited by 3,019
  11. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
  12. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
38 more
  1. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
  2. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
  3. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,164
  4. 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 2,006
  5. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
  6. 2020What Disease does this Patient Have? A Large-scale Open Domain Question Answering Dataset from Medical Examscited by 1,356
  7. 2019PubMedQA: A Dataset for Biomedical Research Question Answeringcited by 1,288
  8. 2023AgentBench: Evaluating LLMs as Agentscited by 1,267
  9. 2018Experience Replay for Continual Learningcited by 1,095
  10. 2020Dark Experience for General Continual Learning: a Strong, Simple Baselinecited by 911
  11. 2017RACE: Large-scale ReAding Comprehension Dataset From Examinationscited by 861
  12. 2017Crowdsourcing Multiple Choice Science Questionscited by 765
  13. 2023The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Onlycited by 763
  14. 2023AGIEval: A Human-Centric Benchmark for Evaluating Foundation Modelscited by 716
  15. 2024TinyLlama: An Open-Source Small Language Modelcited by 618
  16. 2022MedMCQA : A Large-scale Multi-Subject Multi-Choice Dataset for Medical domain Question Answeringcited by 543
  17. 2022Beyond neural scaling laws: beating power law scaling via data pruningcited by 528
  18. 2023Is ChatGPT a General-Purpose Natural Language Processing Task Solver?cited by 488
  19. 2023Scaling Data-Constrained Language Modelscited by 403
  20. 2023DoReMi: Optimizing Data Mixtures Speeds Up Language Model Pretrainingcited by 399
  21. 2023What Makes Good Data for Alignment? A Comprehensive Study of Automatic Data Selection in Instruction Tuningcited by 364
  22. 2024BioMistral: A Collection of Open-Source Pretrained Large Language Models for Medical Domainscited by 301
  23. 2023MedAlpaca -- An Open-Source Collection of Medical Conversational AI Models and Training Datacited by 286
  24. 2023MEDITRON-70B: Scaling Medical Pretraining for Large Language Modelscited by 274
  25. 2021New Insights on Reducing Abrupt Representation Change in Online Continual Learningcited by 219
  26. 2023BiomedGPT: A Generalist Vision-Language Foundation Model for Diverse Biomedical Taskscited by 201
  27. 2024Data Engineering for Scaling Language Models to 128K Contextcited by 186
  28. 2022Scaling Laws and Interpretability of Learning from Repeated Datacited by 152
  29. 2023Continual Pre-Training of Large Language Models: How to (re)warm your model?cited by 137
  30. 2023Domain Specialization as the Key to Make Large Language Models Disruptive: A Comprehensive Surveycited by 135
  31. 2024Rho-1: Not All Tokens Are What You Needcited by 133
  32. 2024Simple and Scalable Strategies to Continually Pre-train Large Language Modelscited by 127
  33. 2024LaCo: Large Language Model Pruning via Layer Collapsecited by 126
  34. 2021Lifelong Pretraining: Continually Adapting Language Models to Emerging Corporacited by 115
  35. 2020Rethinking Experience Replay: a Bag of Tricks for Continual Learningcited by 94
  36. 2023To Repeat or Not To Repeat: Insights from Scaling LLM under Token-Crisiscited by 92
  37. 2023PMC-LLaMA: Towards Building Open-source Language Models for Medicinecited by 88
  38. 2023SlimPajama-DC: Understanding Data Combinations for LLM Trainingcited by 72

50 most cited of 66 All 66 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 6; 2025: 15; 2026: 4.

25 papers.

Sort:

By area:

  1. 2024Scaling Diffusion Language Models via Adaptation from Autoregressive Modelscited by 274
  2. 2025A Survey of Scientific Large Language Models: From Data Foundations to Agent Frontierscited by 37
  3. 2024CMR Scaling Law: Predicting Critical Mixture Ratios for Continual Pre-training of Language Modelscited by 23
  4. 2025The Future of Continual Learning in the Era of Foundation Models: Three Key Directionscited by 17
  5. 2025Reasoning-Enhanced Domain-Adaptive Pretraining of Multimodal Large Language Models for Short Video Content Governancecited by 16
  6. 2024MIND: Math Informed syNthetic Dialogues for Pretraining LLMscited by 14
  7. 2025Continual Learning for Generative AI: From LLMs to MLLMs and Beyondcited by 12
  8. 2025Midtraining Bridges Pretraining and Posttraining Distributionscited by 12
  9. 2025Llama-3-Nanda-10B-Chat: An Open Generative Large Language Model for Hindicited by 10
  10. 2025When Continue Learning Meets Multimodal Large Language Model: A Surveycited by 9
  11. 2025GEM: Empowering LLM for both Embedding Generation and Language Understandingcited by 8
  12. 2025Beyond Cosine Decay: On the effectiveness of Infinite Learning Rate Schedule for Continual Pre-trainingcited by 7
13 more
  1. 2025Hephaestus: Improving Fundamental Agent Capabilities of Large Language Models through Continual Pre-Trainingcited by 6
  2. 2026Beyond Static Models: An Evolving Framework for Continual Learning in Large Language Models across Training Stagescited by 6
  3. 2024Bilingual Adaptation of Monolingual Foundation Modelscited by 5
  4. 2024Exploring the Stability Gap in Continual Learning: The Role of the Classification Headcited by 4
  5. 2025Large Language Model Empowered Recommendation Meets All-domain Continual Pre-Trainingcited by 4
  6. 2024Diagnosing and Remedying Knowledge Deficiencies in LLMs via Label-free Curricular Meaningful Learningcited by 2
  7. 2025CultureMERT: Continual Pre-Training for Cross-Cultural Music Representation Learningcited by 2
  8. 2025LinkQA: Synthesizing Diverse QA from Multiple Seeds Strongly Linked by Knowledge Pointscited by 2
  9. 2025Domain-Adaptive Continued Pre-Training of Small Language Modelscited by 1
  10. 2025ParamDelta for Direct Weight Mixing: Post-Train Large Language Model at Zero Costcited by 1
  11. 2026LLM Evolution as an Industry-Scale Ecosystem: A Lifecycle Perspective on Continual Learningcited by 0
  12. 2026WSqD: A Horizon-Free Learning Rate Schedule for Large Model Trainingcited by 0
  13. 2026The Blessing of Dimensionality: How Near-Orthogonality in High-Dimensional Spaces Explains Temporal Portabilitycited by 0