Aioli: A Unified Optimization Framework for Language Model Data Mixing
Not on the map. Why?
Abstract (arXiv)
Language model performance depends on identifying the optimal mixture of data groups to train on (e.g., law, code, math). Prior work has proposed a diverse set of methods to efficiently learn mixture proportions, ranging from fitting regression models over training runs to dynamically updating proportions throughout training. Surprisingly, we find that no existing method consistently outperforms a simple stratified sampling baseline in terms of average test perplexity. To understand this inconsistency, we unify existing methods into a standard framework, showing they are equivalent to solving a common optimization problem: minimize average loss subject to a method-specific mixing law -- an implicit assumption on the relationship between loss and mixture proportions. This framework suggests that measuring the fidelity of a method's mixing law can offer insights into its performance. Empirically, we find that existing methods set their mixing law parameters inaccurately, resulting in the inconsistent mixing performance we observe. Using this insight, we derive a new online method named Aioli, which directly estimates the mixing law parameters throughout training and uses them to dynamically adjust proportions. Aioli outperforms stratified sampling on 6 out of 6 datasets by an average of 0.27 test perplexity points, whereas existing methods fail to consistently beat stratified sampling, doing up to 6.9 points worse. Moreover, in a practical setting where proportions are learned on shorter runs due to computational constraints, Aioli can dynamically adjust these proportions over the full training run, consistently improving performance over existing methods by up to 12.012 test perplexity points.
Key facts. Cited by 33 papers in the map (data through 7 Oct 2026). Builds on 50 of its 70 references that are in the map. First posted on arXiv 8 Nov 2024.
Builds on
50 of 70 references.
References · 50
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 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
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,140
- 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,114
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
- 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,308
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 960
- 2022Super-NaturalInstructions: Generalization via Declarative Instructions on 1600+ NLP Taskscited by 858
38 more
- 2021Deduplicating Training Data Makes Language Models Bettercited by 705
- 2021Cross-Task Generalization via Natural Language Crowdsourcing Instructionscited by 696
- 2016Hyperband: A Novel Bandit-Based Approach to Hyperparameter Optimizationcited by 688
- 2018An Empirical Study of Example Forgetting during Deep Neural Network Learningcited by 669
- 2019MathQA: Towards Interpretable Math Word Problem Solving with Operation-Based Formalismscited by 653
- 2021Deep Learning on a Data Diet: Finding Important Examples Early in Trainingcited by 529
- 2022Beyond neural scaling laws: beating power law scaling via data pruningcited by 519
- 2024LESS: Selecting Influential Data for Targeted Instruction Tuningcited by 514
- 2023Scaling Data-Constrained Language Modelscited by 391
- 2023DoReMi: Optimizing Data Mixtures Speeds Up Language Model Pretrainingcited by 385
- 2023Data Selection for Language Models via Importance Resamplingcited by 322
- 2019Abductive Commonsense Reasoningcited by 300
- 2023SemDeDup: Data-efficient learning at web-scale through semantic deduplicationcited by 295
- 2019On The Power of Curriculum Learning in Training Deep Networkscited by 285
- 2018Learning Word Vectors for 157 Languagescited by 279
- 2022Prioritized Training on Points that are Learnable, Worth Learning, and Not Yet Learntcited by 233
- 2024A Survey on Data Selection for Language Modelscited by 230
- 2023A Pretrainer's Guide to Training Data: Measuring the Effects of Data Age, Domain Coverage, Quality, & Toxicitycited by 180
- 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
- 2024Same Task, More Tokens: the Impact of Input Length on the Reasoning Performance of Large Language Modelscited by 150
- 2023D4: Improving LLM Pretraining via Document De-Duplication and Diversificationcited by 146
- 2023Skill-it! A Data-Driven Skills Framework for Understanding and Training Language Modelscited by 120
- 2022Scaling Laws vs Model Architectures: How does Inductive Bias Influence Scaling?cited by 103
- 2024DsDm: Model-Aware Dataset Selection with Datamodelscited by 103
- 2014Freeze-Thaw Bayesian Optimizationcited by 86
- 2022Same Pre-training Loss, Better Downstream: Implicit Bias Matters for Language Modelscited by 84
- 2022Training Trajectories of Language Models Across Scalescited by 80
- 2023Efficient Online Data Mixing For Language Model Pre-Trainingcited by 77
- 2024Does your data spark joy? Performance gains from domain upsampling at the end of trainingcited by 51
- 2024Preference Learning Algorithms Do Not Learn Preference Rankingscited by 48
- 2024Improving Pretraining Data Using Perplexity Correlationscited by 46
- 2024Adaptive Data Optimization: Dynamic Sample Selection with Scaling Lawscited by 46
- 2020SemEval-2020 Task 4: Commonsense Validation and Explanationcited by 42
- 2023Irreducible Curriculum for Language Model Pretrainingcited by 16
- 2024Scalable Data Ablation Approximations for Language Models through Modular Training and Mergingcited by 11
- 2022Let the Model Decide its Curriculum for Multitask Learningcited by 8
- 2024Laying the Foundation First? Investigating the Generalization from Atomic Skills to Complex Reasoning Taskscited by 2
Built on by
Citing papers per year: 2025: 15; 2026: 18.
33 papers.
Sort:
By area:
- 2025Cartridges: Lightweight and general-purpose long context representations via self-studycited by 74
- 2025Organize the Web: Constructing Domains Enhances Pre-Training Data Curationcited by 73
- 2025Between Circuits and Chomsky: Pre-pretraining on Formal Languages Imparts Linguistic Biasescited by 36
- 2025TritonRL: Training LLMs to Think and Code Triton Without Cheatingcited by 24
- 2025Learning to See Before Seeing: Demystifying LLM Visual Priors from Language Pre-trainingcited by 23
- 2025Language Models Improve When Pretraining Data Matches Target Taskscited by 18
- 2025Diversity as a Reward: Fine-Tuning LLMs on a Mixture of Domain-Undetermined Datacited by 13
- 2025Data Mixing Optimization for Supervised Fine-Tuning of Large Language Modelscited by 12
- 2025Compute Optimal Scaling of Skills: Knowledge vs Reasoningcited by 11
- 2025SampleMix: A Sample-wise Pre-training Data Mixing Strategey by Coordinating Data Quality and Diversitycited by 10
- 2025DUET: Optimizing Training Data Mixtures via Feedback from Unseen Evaluation Taskscited by 6
- 2026DataFlex: A Unified Framework for Data-Centric Dynamic Training of Large Language Modelscited by 4
21 more
- 2025Evaluating Sample Utility for Efficient Data Selection by Mimicking Model Weightscited by 3
- 2025R&B: Domain Regrouping and Data Mixture Balancing for Efficient Foundation Model Trainingcited by 3
- 2026Towards Next-Generation LLM Training: From the Data-Centric Perspectivecited by 3
- 2025Mixtera: A Data Plane for Foundation Model Trainingcited by 2
- 2025Rethinking Data Mixture for Large Language Models: A Comprehensive Survey and New Perspectivescited by 2
- 2026TANDEM: Bi-Level Data Mixture Optimization with Twin Networkscited by 2
- 2026RegMix-D: Dynamic Data Mixing via Proxy Training Trajectoriescited by 2
- 2026Domain-Aware Scaling Laws Uncover Data Synergycited by 2
- 2026GEM: Geometric Entropy Mixing for Optimal LLM Data Curationcited by 1
- 2026Explaining Data Mixing Scaling Lawscited by 1
- 2026Hubs or Fringes: Pretraining Data Selection via Web Graph Centralitycited by 1
- 2026WARP: Weight-Space Analysis for Recovering Training Data Portfolioscited by 1
- 2026MaD-Mix: Multi-Modal Data Mixtures via Latent Space Coupling for Vision-Language Model Trainingcited by 0
- 2026The Chicken and Egg Dilemma: Co-optimizing Data and Model Configurations for LLMscited by 0
- 2026Always Learning, Always Mixing: Efficient and Simple Data Mixing All The Timecited by 0
- 2026FastMix: Fast Data Mixture Optimization via Gradient Descentcited by 0
- 2026Holistic Data Scheduler for LLM Pre-training via Multi-Objective Reinforcement Learningcited by 0
- 2026CausalMix: Data Mixture as Causal Inference for Language Model Trainingcited by 0
- 2026Small Models Scout Bottleneck Order for Large-Model Data Controlcited by 0
- 2026CORTEX: Learning to Share and Specialize in Dense Language Modelscited by 0
- 2026Paired Multimodal Scaling Lawscited by 0
- 2026Paired Multimodal Scaling Laws28 Sep 2026
- 2026CORTEX: Learning to Share and Specialize in Dense Language Models28 Sep 2026
- 2026Small Models Scout Bottleneck Order for Large-Model Data Control14 Aug 2026
- 2026Domain-Aware Scaling Laws Uncover Data Synergy13 Jul 2026
- 2026WARP: Weight-Space Analysis for Recovering Training Data Portfolios2 Jul 2026
- 2026CausalMix: Data Mixture as Causal Inference for Language Model Training1 Jul 2026
- 2026Holistic Data Scheduler for LLM Pre-training via Multi-Objective Reinforcement Learning23 Jun 2026
- 2026RegMix-D: Dynamic Data Mixing via Proxy Training Trajectories17 Jun 2026
- 2026FastMix: Fast Data Mixture Optimization via Gradient Descent12 Jun 2026
- 2026Hubs or Fringes: Pretraining Data Selection via Web Graph Centrality9 Jun 2026
- 2026Explaining Data Mixing Scaling Laws6 Jun 2026
- 2026TANDEM: Bi-Level Data Mixture Optimization with Twin Networks3 Jun 2026
21 more
- 2026Always Learning, Always Mixing: Efficient and Simple Data Mixing All The Time13 May 2026
- 2026GEM: Geometric Entropy Mixing for Optimal LLM Data Curation27 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
- 2026The Chicken and Egg Dilemma: Co-optimizing Data and Model Configurations for LLMs9 Feb 2026
- 2026MaD-Mix: Multi-Modal Data Mixtures via Latent Space Coupling for Vision-Language Model Training8 Feb 2026
- 2025TritonRL: Training LLMs to Think and Code Triton Without Cheating18 Oct 2025
- 2025Learning to See Before Seeing: Demystifying LLM Visual Priors from Language Pre-training30 Sep 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
- 2025Cartridges: Lightweight and general-purpose long context representations via self-study6 Jun 2025
- 2025Rethinking Data Mixture for Large Language Models: A Comprehensive Survey and New Perspectives27 May 2025
- 2025R&B: Domain Regrouping and Data Mixture Balancing for Efficient Foundation Model Training1 May 2025
- 2025Compute Optimal Scaling of Skills: Knowledge vs Reasoning13 Mar 2025
- 2025SampleMix: A Sample-wise Pre-training Data Mixing Strategey by Coordinating Data Quality and Diversity3 Mar 2025
- 2025Mixtera: A Data Plane for Foundation Model Training27 Feb 2025
- 2025Between Circuits and Chomsky: Pre-pretraining on Formal Languages Imparts Linguistic Biases26 Feb 2025
- 2025Organize the Web: Constructing Domains Enhances Pre-Training Data Curation14 Feb 2025
- 2025Diversity as a Reward: Fine-Tuning LLMs on a Mixture of Domain-Undetermined Data5 Feb 2025
- 2025DUET: Optimizing Training Data Mixtures via Feedback from Unseen Evaluation Tasks1 Feb 2025
- 2025Evaluating Sample Utility for Efficient Data Selection by Mimicking Model Weights12 Jan 2025
- 2025Organize the Web: Constructing Domains Enhances Pre-Training Data Curationcited by 73
- 2025Between Circuits and Chomsky: Pre-pretraining on Formal Languages Imparts Linguistic Biasescited by 36
- 2025Learning to See Before Seeing: Demystifying LLM Visual Priors from Language Pre-trainingcited by 23
- 2025Language Models Improve When Pretraining Data Matches Target Taskscited by 18
- 2025Diversity as a Reward: Fine-Tuning LLMs on a Mixture of Domain-Undetermined Datacited by 13
- 2025Data Mixing Optimization for Supervised Fine-Tuning of Large Language Modelscited by 12
- 2025SampleMix: A Sample-wise Pre-training Data Mixing Strategey by Coordinating Data Quality and Diversitycited by 10
- 2025DUET: Optimizing Training Data Mixtures via Feedback from Unseen Evaluation Taskscited by 6
- 2026DataFlex: A Unified Framework for Data-Centric Dynamic Training of Large Language Modelscited by 4
- 2025Evaluating Sample Utility for Efficient Data Selection by Mimicking Model Weightscited by 3
- 2025R&B: Domain Regrouping and Data Mixture Balancing for Efficient Foundation Model Trainingcited by 3
- 2026Towards Next-Generation LLM Training: From the Data-Centric Perspectivecited by 3
12 most cited of 27 All 27 (JSON)
- 2026Paired Multimodal Scaling Laws28 Sep 2026
- 2026CORTEX: Learning to Share and Specialize in Dense Language Models28 Sep 2026
- 2026Small Models Scout Bottleneck Order for Large-Model Data Control14 Aug 2026
- 2026Domain-Aware Scaling Laws Uncover Data Synergy13 Jul 2026
- 2026CausalMix: Data Mixture as Causal Inference for Language Model Training1 Jul 2026
- 2026Holistic Data Scheduler for LLM Pre-training via Multi-Objective Reinforcement Learning23 Jun 2026
- 2026RegMix-D: Dynamic Data Mixing via Proxy Training Trajectories17 Jun 2026
- 2026FastMix: Fast Data Mixture Optimization via Gradient Descent12 Jun 2026
- 2026Hubs or Fringes: Pretraining Data Selection via Web Graph Centrality9 Jun 2026
- 2026Explaining Data Mixing Scaling Laws6 Jun 2026
- 2026TANDEM: Bi-Level Data Mixture Optimization with Twin Networks3 Jun 2026
- 2026Always Learning, Always Mixing: Efficient and Simple Data Mixing All The Time13 May 2026
12 newest of 27 All 27 (JSON)