Does your data spark joy? Performance gains from domain upsampling at the end of training
Not on the map. Why?
Abstract (arXiv)
Pretraining datasets for large language models (LLMs) have grown to trillions of tokens composed of large amounts of CommonCrawl (CC) web scrape along with smaller, domain-specific datasets. It is expensive to understand the impact of these domain-specific datasets on model capabilities as training at large FLOP scales is required to reveal significant changes to difficult and emergent benchmarks. Given the increasing cost of experimenting with pretraining data, how does one determine the optimal balance between the diversity in general web scrapes and the information density of domain specific data? In this work, we show how to leverage the smaller domain specific datasets by upsampling them relative to CC at the end of training to drive performance improvements on difficult benchmarks. This simple technique allows us to improve up to 6.90 pp on MMLU, 8.26 pp on GSM8K, and 6.17 pp on HumanEval relative to the base data mix for a 7B model trained for 1 trillion (T) tokens, thus rivaling Llama-2 (7B)unicodex2014a model trained for twice as long. We experiment with ablating the duration of domain upsampling from 5% to 30% of training and find that 10% to 20% percent is optimal for navigating the tradeoff between general language modeling capabilities and targeted benchmarks. We also use domain upsampling to characterize at scale the utility of individual datasets for improving various benchmarks by removing them during this final phase of training. This tool opens up the ability to experiment with the impact of different pretraining datasets at scale, but at an order of magnitude lower cost compared to full pretraining runs.
Key facts. Cited by 51 papers in the map (data through 7 Oct 2026). Builds on 26 of its 36 references that are in the map. First posted on arXiv 5 Jun 2024.
Builds on
26 of 36 references.
References · 26
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
- 2023Mistral 7Bcited by 3,065
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
- 2022Emergent Abilities of Large Language Modelscited by 2,483
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,140
14 more
- 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,114
- 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,970
- 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,793
- 2024Mixtral of Expertscited by 1,785
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
- 2021Scaling Vision Transformerscited by 993
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 960
- 2021Are NLP Models really able to Solve Simple Math Word Problems?cited by 861
- 2023The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Onlycited by 755
- 2023AGIEval: A Human-Centric Benchmark for Evaluating Foundation Modelscited by 701
- 2018CoQA: A Conversational Question Answering Challengecited by 674
- 2024Dolma: an Open Corpus of Three Trillion Tokens for Language Model Pretraining Researchcited by 475
- 2023Symbolic Discovery of Optimization Algorithmscited by 423
- 2023DoReMi: Optimizing Data Mixtures Speeds Up Language Model Pretrainingcited by 385
Built on by
Citing papers per year: 2024: 11; 2025: 23; 2026: 17.
51 papers.
Sort:
By area:
- 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameterscited by 1,928
- 2025olmOCR: Unlocking Trillions of Tokens in PDFs with Vision Language Modelscited by 120
- 2024Reuse, Don't Retrain: A Recipe for Continued Pretraining of Language Modelscited by 69
- 2025Nemotron-CLIMB: CLustering-based Iterative Data Mixture Bootstrapping for Language Model Pre-trainingcited by 62
- 2025Diffusion Language Models are Super Data Learnerscited by 45
- 2025Nemotron-CC-Math: A 133 Billion-Token-Scale High Quality Math Pretraining Datasetcited by 34
- 2024Aioli: A Unified Optimization Framework for Language Model Data Mixingcited by 33
- 2025Steering off Course: Reliability Challenges in Steering Language Modelscited by 29
- 2025EuroBERT: Scaling Multilingual Encoders for European Languagescited by 28
- 2025Llama-3.1-FoundationAI-SecurityLLM-Base-8B Technical Reportcited by 28
- 2024Maximize Your Data's Potential: Enhancing LLM Accuracy with Two-Phase Pretrainingcited by 24
- 2025Encode, Think, Decode: Scaling test-time reasoning with recursive latent thoughtscited by 23
38 more
- 2025Signal and Noise: A Framework for Reducing Uncertainty in Language Model Evaluationcited by 22
- 2024The Zamba2 Suite: Technical Reportcited by 20
- 2025Language Models Improve When Pretraining Data Matches Target Taskscited by 18
- 2025A Survey on LLM Mid-Trainingcited by 18
- 2025Data Mixing Can Induce Phase Transitions in Knowledge Acquisitioncited by 15
- 2025FlexOlmo: Open Language Models for Flexible Data Usecited by 14
- 2024Zyda-2: a 5 Trillion Token High-Quality Datasetcited by 12
- 2026Replaying pre-training data improves fine-tuningcited by 12
- 2024Predicting Emergent Capabilities by Finetuningcited by 10
- 2025MixMin: Finding Data Mixtures via Convex Minimizationcited by 10
- 2025Midtraining Bridges Pretraining and Posttraining Distributionscited by 10
- 2026Arcee Trinity Large Technical Reportcited by 10
- 2025Data Mixture Optimization: A Multi-fidelity Multi-scale Bayesian Frameworkcited by 8
- 2026The Finetuner's Fallacy: When to Pretrain with Your Finetuning Datacited by 7
- 2026From Growing to Looping: A Unified View of Iterative Computation in LLMscited by 6
- 2026Covenant-72B: Pre-Training a 72B LLM with Trustless Peers Over-the-Internetcited by 6
- 2025HyperCLOVA X THINK Technical Reportcited by 5
- 2026When Should We Introduce Safety Interventions During Pretraining?cited by 5
- 2024DEPT: Decoupled Embeddings for Pre-training Language Modelscited by 4
- 2025Trillion 7B Technical Reportcited by 4
- 2025Mitigating Geospatial Knowledge Hallucination in Large Language Models: Benchmarking and Dynamic Factuality Aligningcited by 3
- 2026Scaling Open Discrete Audio Foundation Models with Interleaved Semantic, Acoustic, and Text Tokenscited by 3
- 2025DocTalk: Scalable Graph-based Dialogue Synthesis for Enhancing LLM Conversational Capabilitiescited by 2
- 2026Solar Open 2 Technical Reportcited by 2
- 2024Unsupervised Data Validation Methods for Efficient Model Trainingcited by 1
- 2024BSM: Small but Powerful Biological Sequence Model for Genes and Proteinscited by 1
- 2024Sparse Upcycling: Inference Inefficient Finetuningcited by 1
- 2026Capacity-Aware Mixture Law Enables Efficient LLM Data Optimizationcited by 1
- 2026Diffract: Spectral View of LLM Domain Adaptationcited by 1
- 2025Measurement of LLM's Philosophies of Human Naturecited by 0
- 2025Using Scaling Laws for Data Source Utility Estimation in Domain-Specific Pre-Trainingcited by 0
- 2025Predicting Training Re-evaluation Curves Enables Effective Data Curriculums for LLMscited by 0
- 2026MaD-Mix: Multi-Modal Data Mixtures via Latent Space Coupling for Vision-Language Model Trainingcited by 0
- 2026BioAlchemy: Distilling Biological Literature into Reasoning-Ready Reinforcement Learning Training Datacited by 0
- 2026XekRung Technical Reportcited by 0
- 2026Introspective X Training: Feedback Conditioning Improves Scaling Across all LLM Training Stagescited by 0
- 2026Understanding Data Temporality Impact on Large Language Models Pre-trainingcited by 0
- 2026Let's Scale Step by Step: Compute-Efficient Hyperparameter Transfer for Large-Scale Mixture-of-Expertscited by 0
50 most cited of 51 All 51 (JSON)
- 2026SIRF: A Spec-Internalized Risk Foundation Model for Industrial Content Risk Control10 Sep 2026
- 2026Let's Scale Step by Step: Compute-Efficient Hyperparameter Transfer for Large-Scale Mixture-of-Experts20 Aug 2026
- 2026Diffract: Spectral View of LLM Domain Adaptation11 Aug 2026
- 2026Solar Open 2 Technical Report22 Jul 2026
- 2026Understanding Data Temporality Impact on Large Language Models Pre-training21 May 2026
- 2026Introspective X Training: Feedback Conditioning Improves Scaling Across all LLM Training Stages19 May 2026
- 2026XekRung Technical Report30 Apr 2026
- 2026BioAlchemy: Distilling Biological Literature into Reasoning-Ready Reinforcement Learning Training Data3 Apr 2026
- 2026The Finetuner's Fallacy: When to Pretrain with Your Finetuning Data17 Mar 2026
- 2026Covenant-72B: Pre-Training a 72B LLM with Trustless Peers Over-the-Internet9 Mar 2026
- 2026Capacity-Aware Mixture Law Enables Efficient LLM Data Optimization9 Mar 2026
- 2026Replaying pre-training data improves fine-tuning5 Mar 2026
38 more
- 2026Arcee Trinity Large Technical Report19 Feb 2026
- 2026Scaling Open Discrete Audio Foundation Models with Interleaved Semantic, Acoustic, and Text Tokens18 Feb 2026
- 2026From Growing to Looping: A Unified View of Iterative Computation in LLMs18 Feb 2026
- 2026MaD-Mix: Multi-Modal Data Mixtures via Latent Space Coupling for Vision-Language Model Training8 Feb 2026
- 2026When Should We Introduce Safety Interventions During Pretraining?11 Jan 2026
- 2025Diffusion Language Models are Super Data Learners5 Nov 2025
- 2025A Survey on LLM Mid-Training27 Oct 2025
- 2025Midtraining Bridges Pretraining and Posttraining Distributions16 Oct 2025
- 2025Encode, Think, Decode: Scaling test-time reasoning with recursive latent thoughts8 Oct 2025
- 2025Predicting Training Re-evaluation Curves Enables Effective Data Curriculums for LLMs29 Sep 2025
- 2025Nemotron-CC-Math: A 133 Billion-Token-Scale High Quality Math Pretraining Dataset20 Aug 2025
- 2025Signal and Noise: A Framework for Reducing Uncertainty in Language Model Evaluation18 Aug 2025
- 2025Using Scaling Laws for Data Source Utility Estimation in Domain-Specific Pre-Training29 Jul 2025
- 2025Mitigating Geospatial Knowledge Hallucination in Large Language Models: Benchmarking and Dynamic Factuality Aligning25 Jul 2025
- 2025Language Models Improve When Pretraining Data Matches Target Tasks16 Jul 2025
- 2025FlexOlmo: Open Language Models for Flexible Data Use9 Jul 2025
- 2025DocTalk: Scalable Graph-based Dialogue Synthesis for Enhancing LLM Conversational Capabilities8 Jul 2025
- 2025HyperCLOVA X THINK Technical Report27 Jun 2025
- 2025Data Mixing Can Induce Phase Transitions in Knowledge Acquisition23 May 2025
- 2025Llama-3.1-FoundationAI-SecurityLLM-Base-8B Technical Report28 Apr 2025
- 2025Trillion 7B Technical Report21 Apr 2025
- 2025Nemotron-CLIMB: CLustering-based Iterative Data Mixture Bootstrapping for Language Model Pre-training17 Apr 2025
- 2025Steering off Course: Reliability Challenges in Steering Language Models6 Apr 2025
- 2025Measurement of LLM's Philosophies of Human Nature3 Apr 2025
- 2025Data Mixture Optimization: A Multi-fidelity Multi-scale Bayesian Framework26 Mar 2025
- 2025EuroBERT: Scaling Multilingual Encoders for European Languages7 Mar 2025
- 2025olmOCR: Unlocking Trillions of Tokens in PDFs with Vision Language Models25 Feb 2025
- 2025MixMin: Finding Data Mixtures via Convex Minimization14 Feb 2025
- 2024Maximize Your Data's Potential: Enhancing LLM Accuracy with Two-Phase Pretraining18 Dec 2024
- 2024Predicting Emergent Capabilities by Finetuning25 Nov 2024
- 2024The Zamba2 Suite: Technical Report22 Nov 2024
- 2024Sparse Upcycling: Inference Inefficient Finetuning13 Nov 2024
- 2024Zyda-2: a 5 Trillion Token High-Quality Dataset9 Nov 2024
- 2024Aioli: A Unified Optimization Framework for Language Model Data Mixing8 Nov 2024
- 2024BSM: Small but Powerful Biological Sequence Model for Genes and Proteins15 Oct 2024
- 2024Unsupervised Data Validation Methods for Efficient Model Training10 Oct 2024
- 2024DEPT: Decoupled Embeddings for Pre-training Language Models7 Oct 2024
- 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameters6 Aug 2024
50 newest of 51 All 51 (JSON)
- 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameterscited by 1,928
- 2025Nemotron-CC-Math: A 133 Billion-Token-Scale High Quality Math Pretraining Datasetcited by 34
- 2025Encode, Think, Decode: Scaling test-time reasoning with recursive latent thoughtscited by 23
- 2025HyperCLOVA X THINK Technical Reportcited by 5
- 2026BioAlchemy: Distilling Biological Literature into Reasoning-Ready Reinforcement Learning Training Datacited by 0
- 2026BioAlchemy: Distilling Biological Literature into Reasoning-Ready Reinforcement Learning Training Data3 Apr 2026
- 2025Encode, Think, Decode: Scaling test-time reasoning with recursive latent thoughts8 Oct 2025
- 2025Nemotron-CC-Math: A 133 Billion-Token-Scale High Quality Math Pretraining Dataset20 Aug 2025
- 2025HyperCLOVA X THINK Technical Report27 Jun 2025
- 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameters6 Aug 2024
- 2026Solar Open 2 Technical Reportcited by 2
- 2026Solar Open 2 Technical Report22 Jul 2026
- 2025Diffusion Language Models are Super Data Learnerscited by 45
- 2025Diffusion Language Models are Super Data Learners5 Nov 2025
- 2024Reuse, Don't Retrain: A Recipe for Continued Pretraining of Language Modelscited by 69
- 2025Nemotron-CLIMB: CLustering-based Iterative Data Mixture Bootstrapping for Language Model Pre-trainingcited by 62
- 2024Aioli: A Unified Optimization Framework for Language Model Data Mixingcited by 33
- 2025Steering off Course: Reliability Challenges in Steering Language Modelscited by 29
- 2025EuroBERT: Scaling Multilingual Encoders for European Languagescited by 28
- 2025Llama-3.1-FoundationAI-SecurityLLM-Base-8B Technical Reportcited by 28
- 2024Maximize Your Data's Potential: Enhancing LLM Accuracy with Two-Phase Pretrainingcited by 24
- 2025Signal and Noise: A Framework for Reducing Uncertainty in Language Model Evaluationcited by 22
- 2024The Zamba2 Suite: Technical Reportcited by 20
- 2025Language Models Improve When Pretraining Data Matches Target Taskscited by 18
- 2025A Survey on LLM Mid-Trainingcited by 18
- 2025Data Mixing Can Induce Phase Transitions in Knowledge Acquisitioncited by 15
12 most cited of 35 All 35 (JSON)
- 2026SIRF: A Spec-Internalized Risk Foundation Model for Industrial Content Risk Control10 Sep 2026
- 2026Diffract: Spectral View of LLM Domain Adaptation11 Aug 2026
- 2026Understanding Data Temporality Impact on Large Language Models Pre-training21 May 2026
- 2026XekRung Technical Report30 Apr 2026
- 2026Covenant-72B: Pre-Training a 72B LLM with Trustless Peers Over-the-Internet9 Mar 2026
- 2026Capacity-Aware Mixture Law Enables Efficient LLM Data Optimization9 Mar 2026
- 2026Replaying pre-training data improves fine-tuning5 Mar 2026
- 2026Scaling Open Discrete Audio Foundation Models with Interleaved Semantic, Acoustic, and Text Tokens18 Feb 2026
- 2026From Growing to Looping: A Unified View of Iterative Computation in LLMs18 Feb 2026
- 2025A Survey on LLM Mid-Training27 Oct 2025
- 2025Midtraining Bridges Pretraining and Posttraining Distributions16 Oct 2025
- 2025Predicting Training Re-evaluation Curves Enables Effective Data Curriculums for LLMs29 Sep 2025
12 newest of 35 All 35 (JSON)