Efficient Online Data Mixing For Language Model Pre-Training
Not on the map. Why?
Abstract (arXiv)
The data used to pretrain large language models has a decisive impact on a model's downstream performance, which has led to a large body of work on data selection methods that aim to automatically determine the most suitable data to use for pretraining. Existing data selection methods suffer from slow and computationally expensive processes, a problem amplified by the increasing size of models and of pretraining datasets. Data mixing, on the other hand, reduces the complexity of data selection by grouping data points together and determining sampling probabilities across entire groups. However, data mixing proportions are typically fixed before training and therefore cannot adapt to changing training dynamics. To address these limitations, we develop an efficient algorithm for Online Data Mixing (ODM) that combines elements from both data selection and data mixing. Based on multi-armed bandit algorithms, our online approach optimizes the data mixing proportions during training. Remarkably, our method trains a model that reaches the final perplexity of the next best method with 19% fewer training iterations, and improves performance on the 5-shot MMLU benchmark by 1.9% relative accuracy, while adding negligible wall-clock time during pretraining.
Key facts. Cited by 77 papers in the map (data through 7 Oct 2026). Builds on 12 of its 17 references that are in the map. First posted on arXiv 5 Dec 2023.
Builds on
12 of 17 references.
References · 12
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
- 2019Fine-Tuning Language Models from Human Preferencescited by 2,124
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
- 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 711
- 2023DoReMi: Optimizing Data Mixtures Speeds Up Language Model Pretrainingcited by 385
- 2023Scaling Expert Language Models with Unsupervised Domain Discoverycited by 59
- 2021A Few More Examples May Be Worth Billions of Parameterscited by 19
- 2023Improving Few-Shot Generalization by Exploring and Exploiting Auxiliary Datacited by 13
Built on by
Citing papers per year: 2024: 20; 2025: 37; 2026: 20.
77 papers.
Sort:
By area:
- 2024Data Mixing Laws: Optimizing Data Mixtures by Predicting Language Modeling Performancecited by 179
- 2024RegMix: Data Mixture as Regression for Language Model Pre-trainingcited by 172
- 2024Eagle and Finch: RWKV with Matrix-Valued States and Dynamic Recurrencecited by 155
- 2025Big-Math: A Large-Scale, High-Quality Math Dataset for Reinforcement Learning in Language Modelscited by 104
- 2024DsDm: Model-Aware Dataset Selection with Datamodelscited by 103
- 2025Organize the Web: Constructing Domains Enhances Pre-Training Data Curationcited by 73
- 2025Scaling Laws for Optimal Data Mixturescited by 49
- 2024Adaptive Data Optimization: Dynamic Sample Selection with Scaling Lawscited by 46
- 2024Data Selection via Optimal Control for Language Modelscited by 38
- 2024Harnessing Diversity for Important Data Selection in Pretraining Large Language Modelscited by 34
- 2024Aioli: A Unified Optimization Framework for Language Model Data Mixingcited by 33
- 2025MoDoMoDo: Multi-Domain Data Mixtures for Multimodal LLM Reinforcement Learningcited by 29
38 more
- 2025Learning to See Before Seeing: Demystifying LLM Visual Priors from Language Pre-trainingcited by 23
- 2024AutoScale: Scale-Aware Data Mixing for Pre-Training LLMscited by 20
- 2024Dynamic Data Mixing Maximizes Instruction Tuning for Mixture-of-Expertscited by 19
- 2025Language Models Improve When Pretraining Data Matches Target Taskscited by 18
- 2025Citrus: Leveraging Expert Cognitive Pathways in a Medical Language Model for Advanced Medical Decision Supportcited by 16
- 2025Efficient Data Selection at Scale via Influence Distillationcited by 14
- 2025Chameleon: A Flexible Data-mixing Framework for Language Model Pretraining and Finetuningcited by 14
- 2025Diversity as a Reward: Fine-Tuning LLMs on a Mixture of Domain-Undetermined Datacited by 13
- 2025Distributionally Robust Reinforcement Learning with Human Feedbackcited by 12
- 2025Data Mixing Optimization for Supervised Fine-Tuning of Large Language Modelscited by 12
- 2024The Responsible Foundation Model Development Cheatsheet: A Review of Tools & Resourcescited by 11
- 2024Data, Data Everywhere: A Guide for Pretraining Dataset Constructioncited by 11
- 2024Scalable Data Ablation Approximations for Language Models through Modular Training and Mergingcited by 11
- 2025Not-Just-Scaling Laws: Towards a Better Understanding of the Downstream Impact of Language Model Design Decisionscited by 11
- 2025MixMin: Finding Data Mixtures via Convex Minimizationcited by 10
- 2025Revisiting Multilingual Data Mixtures in Language Model Pretrainingcited by 10
- 2025Data Mixture Optimization: A Multi-fidelity Multi-scale Bayesian Frameworkcited by 8
- 2025AutoMixAlign: Adaptive Data Mixing for Multi-Task Preference Optimization in LLMscited by 8
- 2024Towards Optimal Learning of Language Modelscited by 7
- 2025Merge to Mix: Mixing Datasets via Model Mergingcited by 7
- 2025Fast Data Attribution for Text-to-Image Modelscited by 7
- 2025DUET: Optimizing Training Data Mixtures via Feedback from Unseen Evaluation Taskscited by 6
- 2025DynamixSFT: Dynamic Mixture Optimization of Instruction Tuning Collectionscited by 6
- 2025TiKMiX: Take Data Influence into Dynamic Mixture for Language Model Pre-trainingcited by 6
- 2025Train Once, Answer All: Many Pretraining Experiments for the Cost of Onecited by 6
- 2025Optimizing Pre-Training Data Mixtures with Mixtures of Data Expert Modelscited by 5
- 2025Shift is Good: Mismatched Data Mixing Improves Test Performancecited by 5
- 2024DiPT: Enhancing LLM reasoning through diversified perspective-takingcited by 4
- 2024Upsample or Upweight? Balanced Training on Heavily Imbalanced Datasetscited by 4
- 2024Measuring Fingerprints of Web-filtered Text Datasets and Fingerprint Propagation Through Trainingcited by 4
- 2025GRAPE: Optimize Data Mixture for Group Robust Multi-target Adaptive Pretrainingcited by 4
- 2026DataFlex: A Unified Framework for Data-Centric Dynamic Training of Large Language Modelscited by 4
- 2024DEM: Distribution Edited Model for Training with Mixed Data Distributionscited by 3
- 2024Mastering the Craft of Data Synthesis for CodeLLMscited by 3
- 2025ToReMi: Topic-Aware Data Reweighting for Dynamic Pre-Training Data Selectioncited by 3
- 2025MixtureVitae: Open Web-Scale Pretraining Dataset With High Quality Instruction and Reasoning Data Built from Permissive-First Text Sourcescited by 3
- 2025BLISS: A Lightweight Bilevel Influence Scoring Method for Data Selection in Language Model Pretrainingcited by 3
- 2025ADAPT: Learning Task Mixtures for Budget-Constrained Instruction Tuningcited by 3
50 most cited of 77 All 77 (JSON)
- 2026Ambient Discrete Diffusion: Using the Wrong Data at the Right Time for Data Efficient Learning8 Oct 2026
- 2026Loss-Guided Pretraining Data Selection for Time-Series Foundation Models29 Sep 2026
- 2026Paired Multimodal Scaling Laws28 Sep 2026
- 2026Online Language Adaptive Sampling for Better Distributed Cross-lingual Gains14 Sep 2026
- 2026WARP: Weight-Space Analysis for Recovering Training Data Portfolios2 Jul 2026
- 2026CausalMix: Data Mixture as Causal Inference for Language Model Training1 Jul 2026
- 2026Smooth Scaling Laws Hide Stepwise Token Learning29 Jun 2026
- 2026Holistic Data Scheduler for LLM Pre-training via Multi-Objective Reinforcement Learning23 Jun 2026
- 2026FastMix: Fast Data Mixture Optimization via Gradient Descent12 Jun 2026
- 2026Explaining Data Mixing Scaling Laws6 Jun 2026
- 2026Demystifying Data Organization for Enhanced LLM Training28 May 2026
- 2026Distributionally Robust Multi-Task Reinforcement Learning via Adaptive Task Sampling14 May 2026
38 more
- 2026Rethinking Data Curation in LLM Training: Online Reweighting Offers Better Generalization than Offline Methods19 Apr 2026
- 2026MixAtlas: Uncertainty-aware Data Mixture Optimization for Multimodal LLM Midtraining3 Apr 2026
- 2026DataFlex: A Unified Framework for Data-Centric Dynamic Training of Large Language Models27 Mar 2026
- 2026Towards Next-Generation LLM Training: From the Data-Centric Perspective16 Mar 2026
- 2026MaD-Mix: Multi-Modal Data Mixtures via Latent Space Coupling for Vision-Language Model Training8 Feb 2026
- 2026Linear Model Merging Unlocks Simple and Scalable Multimodal Data Mixture Optimization4 Feb 2026
- 2026FineInstructions: Scaling Synthetic Instructions to Pre-Training Scale29 Jan 2026
- 2026A Component-Based Survey of Interactions between Large Language Models and Multi-Armed Bandits19 Jan 2026
- 2025ADAPT: Learning Task Mixtures for Budget-Constrained Instruction Tuning4 Dec 2025
- 2025Fast Data Attribution for Text-to-Image Models13 Nov 2025
- 2025Sampling and Loss Weights in Multi-Domain Training10 Nov 2025
- 2025Revisiting Multilingual Data Mixtures in Language Model Pretraining29 Oct 2025
- 2025Shift is Good: Mismatched Data Mixing Improves Test Performance29 Oct 2025
- 2025DaMo: Data Mixing Optimizer in Fine-tuning Multimodal LLMs for Mobile Phone Agents22 Oct 2025
- 2025BLISS: A Lightweight Bilevel Influence Scoring Method for Data Selection in Language Model Pretraining7 Oct 2025
- 2025Interactive Training: Feedback-Driven Neural Network Optimization2 Oct 2025
- 2025Learning to See Before Seeing: Demystifying LLM Visual Priors from Language Pre-training30 Sep 2025
- 2025MixtureVitae: Open Web-Scale Pretraining Dataset With High Quality Instruction and Reasoning Data Built from Permissive-First Text Sources29 Sep 2025
- 2025Train Once, Answer All: Many Pretraining Experiments for the Cost of One27 Sep 2025
- 2025TiKMiX: Take Data Influence into Dynamic Mixture for Language Model Pre-training25 Aug 2025
- 2025DynamixSFT: Dynamic Mixture Optimization of Instruction Tuning Collections16 Aug 2025
- 2025Data Mixing Optimization for Supervised Fine-Tuning of Large Language Models16 Aug 2025
- 2025Language Models Improve When Pretraining Data Matches Target Tasks16 Jul 2025
- 2025Scaling Laws for Optimal Data Mixtures12 Jul 2025
- 2025AutoMixAlign: Adaptive Data Mixing for Multi-Task Preference Optimization in LLMs31 May 2025
- 2025MoDoMoDo: Multi-Domain Data Mixtures for Multimodal LLM Reinforcement Learning30 May 2025
- 2025Chameleon: A Flexible Data-mixing Framework for Language Model Pretraining and Finetuning30 May 2025
- 2025AC-ODM: Actor--Critic Online Data Mixing for Sample-Efficient LLM Pretraining29 May 2025
- 2025Rethinking Data Mixture for Large Language Models: A Comprehensive Survey and New Perspectives27 May 2025
- 2025GRAPE: Optimize Data Mixture for Group Robust Multi-target Adaptive Pretraining26 May 2025
- 2025Efficient Data Selection at Scale via Influence Distillation25 May 2025
- 2025Merge to Mix: Mixing Datasets via Model Merging21 May 2025
- 2025HBO: Hierarchical Balancing Optimization for Fine-Tuning Large Language Models18 May 2025
- 2025ToReMi: Topic-Aware Data Reweighting for Dynamic Pre-Training Data Selection1 Apr 2025
- 2025Data Mixture Optimization: A Multi-fidelity Multi-scale Bayesian Framework26 Mar 2025
- 2025Not-Just-Scaling Laws: Towards a Better Understanding of the Downstream Impact of Language Model Design Decisions5 Mar 2025
- 2025Distributionally Robust Reinforcement Learning with Human Feedback1 Mar 2025
- 2025Mixtera: A Data Plane for Foundation Model Training27 Feb 2025
50 newest of 77 All 77 (JSON)
- 2025Big-Math: A Large-Scale, High-Quality Math Dataset for Reinforcement Learning in Language Modelscited by 104
- 2025Citrus: Leveraging Expert Cognitive Pathways in a Medical Language Model for Advanced Medical Decision Supportcited by 16
- 2024DiPT: Enhancing LLM reasoning through diversified perspective-takingcited by 4
- 2025MixtureVitae: Open Web-Scale Pretraining Dataset With High Quality Instruction and Reasoning Data Built from Permissive-First Text Sourcescited by 3
- 2026Rethinking Data Curation in LLM Training: Online Reweighting Offers Better Generalization than Offline Methodscited by 3
- 2025Rethinking Data Mixture for Large Language Models: A Comprehensive Survey and New Perspectivescited by 2
- 2026Rethinking Data Curation in LLM Training: Online Reweighting Offers Better Generalization than Offline Methods19 Apr 2026
- 2025MixtureVitae: Open Web-Scale Pretraining Dataset With High Quality Instruction and Reasoning Data Built from Permissive-First Text Sources29 Sep 2025
- 2025Rethinking Data Mixture for Large Language Models: A Comprehensive Survey and New Perspectives27 May 2025
- 2025Citrus: Leveraging Expert Cognitive Pathways in a Medical Language Model for Advanced Medical Decision Support25 Feb 2025
- 2025Big-Math: A Large-Scale, High-Quality Math Dataset for Reinforcement Learning in Language Models24 Feb 2025
- 2024DiPT: Enhancing LLM reasoning through diversified perspective-taking10 Sep 2024
- 2025MoDoMoDo: Multi-Domain Data Mixtures for Multimodal LLM Reinforcement Learningcited by 29
- 2025DaMo: Data Mixing Optimizer in Fine-tuning Multimodal LLMs for Mobile Phone Agentscited by 2
- 2026MixAtlas: Uncertainty-aware Data Mixture Optimization for Multimodal LLM Midtrainingcited by 2
- 2026Linear Model Merging Unlocks Simple and Scalable Multimodal Data Mixture Optimizationcited by 1
- 2026MaD-Mix: Multi-Modal Data Mixtures via Latent Space Coupling for Vision-Language Model Trainingcited by 0
- 2026MixAtlas: Uncertainty-aware Data Mixture Optimization for Multimodal LLM Midtraining3 Apr 2026
- 2026MaD-Mix: Multi-Modal Data Mixtures via Latent Space Coupling for Vision-Language Model Training8 Feb 2026
- 2026Linear Model Merging Unlocks Simple and Scalable Multimodal Data Mixture Optimization4 Feb 2026
- 2025DaMo: Data Mixing Optimizer in Fine-tuning Multimodal LLMs for Mobile Phone Agents22 Oct 2025
- 2025MoDoMoDo: Multi-Domain Data Mixtures for Multimodal LLM Reinforcement Learning30 May 2025
- 2026FineInstructions: Scaling Synthetic Instructions to Pre-Training Scale29 Jan 2026
- 2024Mastering the Craft of Data Synthesis for CodeLLMs16 Oct 2024
- 2025Fast Data Attribution for Text-to-Image Modelscited by 7
- 2025Fast Data Attribution for Text-to-Image Models13 Nov 2025
- 2024Data Mixing Laws: Optimizing Data Mixtures by Predicting Language Modeling Performancecited by 179
- 2024RegMix: Data Mixture as Regression for Language Model Pre-trainingcited by 172
- 2024Eagle and Finch: RWKV with Matrix-Valued States and Dynamic Recurrencecited by 155
- 2024DsDm: Model-Aware Dataset Selection with Datamodelscited by 103
- 2025Organize the Web: Constructing Domains Enhances Pre-Training Data Curationcited by 73
- 2025Scaling Laws for Optimal Data Mixturescited by 49
- 2024Adaptive Data Optimization: Dynamic Sample Selection with Scaling Lawscited by 46
- 2024Data Selection via Optimal Control for Language Modelscited by 38
- 2024Harnessing Diversity for Important Data Selection in Pretraining Large Language Modelscited by 34
- 2024Aioli: A Unified Optimization Framework for Language Model Data Mixingcited by 33
- 2025Learning to See Before Seeing: Demystifying LLM Visual Priors from Language Pre-trainingcited by 23
- 2024AutoScale: Scale-Aware Data Mixing for Pre-Training LLMscited by 20
12 most cited of 59 All 59 (JSON)
- 2026Ambient Discrete Diffusion: Using the Wrong Data at the Right Time for Data Efficient Learning8 Oct 2026
- 2026Loss-Guided Pretraining Data Selection for Time-Series Foundation Models29 Sep 2026
- 2026Paired Multimodal Scaling Laws28 Sep 2026
- 2026Online Language Adaptive Sampling for Better Distributed Cross-lingual Gains14 Sep 2026
- 2026CausalMix: Data Mixture as Causal Inference for Language Model Training1 Jul 2026
- 2026Smooth Scaling Laws Hide Stepwise Token Learning29 Jun 2026
- 2026Holistic Data Scheduler for LLM Pre-training via Multi-Objective Reinforcement Learning23 Jun 2026
- 2026FastMix: Fast Data Mixture Optimization via Gradient Descent12 Jun 2026
- 2026Explaining Data Mixing Scaling Laws6 Jun 2026
- 2026Demystifying Data Organization for Enhanced LLM Training28 May 2026
- 2026Distributionally Robust Multi-Task Reinforcement Learning via Adaptive Task Sampling14 May 2026
- 2026DataFlex: A Unified Framework for Data-Centric Dynamic Training of Large Language Models27 Mar 2026
12 newest of 59 All 59 (JSON)