mlsanityData to 7 Oct 2026

Midtraining Bridges Pretraining and Posttraining Distributions

arXiv 2510.14865 ↗First posted 16 Oct 2025cs.CLcited by 10

Not on the map. Why?

Abstract (arXiv)

Midtraining, the practice of mixing specialized data with more general pretraining data in an intermediate training phase, has become widespread in language model development, yet there is little understanding of what makes it effective. We propose that midtraining functions as distributional bridging by providing better initialization for posttraining. We conduct controlled pretraining experiments, and find that midtraining benefits are largest for domains distant from general pretraining data, such as code and math, and scale with the proximity advantage the midtraining data provides toward the target distribution. In these domains, midtraining consistently outperforms continued pretraining on specialized data alone both in-domain and in terms of mitigating forgetting. We further conduct an investigation on the starting time and mixture weight of midtraining data, using code as a case study, and find that time of introduction and mixture weight interact strongly such that early introduction of specialized data is amenable to high mixture weights, while late introduction requires lower ones. This suggests that late introduction of specialized data outside a plasticity window cannot be compensated for by increasing data mixtures later in training. Beyond midtraining itself, this suggests that distributional transitions between any training phases may benefit from similar bridging strategies.

Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Builds on 38 of its 45 references that are in the map. First posted on arXiv 16 Oct 2025.

Builds on

38 of 45 references.

References · 38

  1. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  2. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  3. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
  4. 2022Training Compute-Optimal Large Language Modelscited by 2,927
  5. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
  6. 2019Similarity of Neural Network Representations Revisitedcited by 1,695
  7. 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,548
  8. 2019SciBERT: A Pretrained Language Model for Scientific Textcited by 1,404
  9. 2023LIMA: Less Is More for Alignmentcited by 1,080
  10. 2021Measuring Coding Challenge Competence With APPScited by 879
  11. 2023StarCoder: may the source be with you!cited by 790
  12. 2017Crowdsourcing Multiple Choice Science Questionscited by 742
26 more
  1. 2024MiniCPM: Unveiling the Potential of Small Language Models with Scalable Training Strategiescited by 694
  2. 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 638
  3. 2023An Empirical Study of Catastrophic Forgetting in Large Language Models During Continual Fine-tuningcited by 622
  4. 2023MAmmoTH: Building Math Generalist Models through Hybrid Instruction Tuningcited by 483
  5. 2024DataComp-LM: In search of the next generation of training sets for language modelscited by 381
  6. 2017Measuring Catastrophic Forgetting in Neural Networkscited by 359
  7. 20242 OLMo 2 Furiouscited by 302
  8. 2023Physics of Language Models: Part 3.1, Knowledge Storage and Extractioncited by 264
  9. 2024OpenMathInstruct-1: A 1.8 Million Math Instruction Tuning Datasetcited by 143
  10. 2021An Empirical Investigation of the Role of Pre-training in Lifelong Learningcited by 134
  11. 2024Rho-1: Not All Tokens Are What You Needcited by 132
  12. 2024Revisiting Catastrophic Forgetting in Large Language Model Tuningcited by 93
  13. 2024Instruction Pre-Training: Language Models are Supervised Multitask Learnerscited by 63
  14. 2025Overtrained Language Models Are Harder to Fine-Tunecited by 57
  15. 2024Synthetic continued pretrainingcited by 56
  16. 2024Instruction-tuned Language Models are Better Knowledge Learnerscited by 54
  17. 2024Does your data spark joy? Performance gains from domain upsampling at the end of trainingcited by 51
  18. 2021Improved Fine-Tuning by Better Leveraging Pre-Training Datacited by 36
  19. 2025Scaling Laws for Forgetting during Finetuning with Pretraining Data Injectioncited by 35
  20. 2024Get more for less: Principled Data Selection for Warming Up Fine-Tuning in LLMscited by 32
  21. 2024Efficient Continual Pre-training by Mitigating the Stability Gapcited by 25
  22. 2024Maximize Your Data's Potential: Enhancing LLM Accuracy with Two-Phase Pretrainingcited by 24
  23. 2022Downstream Datasets Make Surprisingly Good Pretraining Corporacited by 20
  24. 2025Breaking the Data Barrier -- Building GUI Agents Through Task Generalizationcited by 13
  25. 2024An Efficient Rehearsal Scheme for Catastrophic Forgetting Mitigation during Multi-stage Fine-tuningcited by 4
  26. 2025FRAME: Boosting LLMs with A Four-Quadrant Multi-Stage Pretraining Strategycited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 1; 2026: 9.

10 papers.