MixMin: Finding Data Mixtures via Convex Minimization
Not on the map. Why?
Abstract (arXiv)
Modern machine learning pipelines are increasingly combining and mixing data from diverse and disparate sources, e.g., pre-training large language models. Yet, finding the optimal data mixture is a challenging and open problem. We formalize this data mixing problem as a bi-level objective: the best mixture is the one that would lead to the best model for a downstream objective. Unfortunately, this objective is generally intractable. In this paper, we make the observation that the bi-level data mixing objective becomes convex as our model class becomes larger. We develop and study a gradient-based approach for optimizing this convex objective, which we call MixMin, and test it on language modeling and chemistry tasks. MixMin was the only method that uniformly improved the data mixture in all our experiments. With MixMin, we improved the data mixture using less than 0.2% additional compute for a pythia-410M model trained on 8.2B tokens, resulting between 1-5% relative improvement to negative log likelihood on PIQA, ARC Easy, SciQ, and OpenWebMath. Crucially, we found that MixMin mixtures for smaller models improved training of larger models, suggesting that MixMin mixtures may be scale-invariant. When mixing bioassay data to train an XGBoost model, we saw improvements to average precision scores of 0.03-0.15.
Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). Builds on 29 of its 45 references that are in the map. First posted on arXiv 14 Feb 2025.
Builds on
29 of 45 references.
References · 29
- 2023GPT-4 Technical Reportcited by 18,396
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2016XGBoost: A Scalable Tree Boosting Systemcited by 5,166
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2022Training Compute-Optimal Large Language Modelscited by 3,019
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
- 2017Crowdsourcing Multiple Choice Science Questionscited by 765
- 2023C-Pack: Packed Resources For General Chinese Embeddingscited by 578
- 2024DataComp-LM: In search of the next generation of training sets for language modelscited by 398
17 more
- 2019Analyzing Learned Molecular Representations for Property Predictioncited by 375
- 2023Data Selection for Language Models via Importance Resamplingcited by 329
- 2016Hyperparameter optimization with approximate gradientcited by 233
- 2020Bilevel Optimization: Convergence Analysis and Enhanced Designcited by 222
- 2024RegMix: Data Mixture as Regression for Language Model Pre-trainingcited by 177
- 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 52
- 2024Adaptive Data Optimization: Dynamic Sample Selection with Scaling Lawscited by 47
- 2024Improving Pretraining Data Using Perplexity Correlationscited by 46
- 2023Enhancing Activity Prediction Models in Drug Discovery with the Ability to Understand Human Languagecited by 44
- 2023Towards Foundational Models for Molecular Learning on Large-Scale Multi-Task Datasetscited by 39
- 2024Scaling laws for learning with real and surrogate datacited by 27
- 2024No Filter: Cultural and Socioeconomic Diversity in Contrastive Vision-Language Modelscited by 16
- 2025Optimizing Pretraining Data Mixtures with LLM-Estimated Utilitycited by 15
- 2023GIO: Gradient Information Optimization for Training Dataset Selectioncited by 13
- 2021RegMix: Data Mixing Augmentation for Regressioncited by 7
- 2018An Integrated Transfer Learning and Multitask Learning Approach for Pharmacokinetic Parameter Predictioncited by 6
Built on by
Citing papers per year: 2025: 1; 2026: 10.
11 papers.
- 2026MergeMix: Optimizing Mid-Training Data Mixtures via Learnable Model Mergingcited by 7
- 2025Beyond Real Data: Synthetic Data through the Lens of Regularizationcited by 2
- 2026Synthetic Data for any Differentiable Targetcited by 2
- 2026MaD-Mix: Multi-Modal Data Mixtures via Latent Space Coupling for Vision-Language Model Trainingcited by 1
- 2026Position: the Stochastic Parrot in the Coal Mine. Model Collapse is a Threat to Low-Resource Communitiescited by 1
- 2026Accelerated Relax-and-Round for Concave Coverage Problemscited by 0
- 2026D3: Dynamic Directional Graph-Constrained Data Scheduling for LLM Trainingcited by 0
- 2026Towards Efficient LLMs Annealing with Principled Sample Selectioncited by 0
- 2026Validity Threats for Foundation Model Researchcited by 0
- 2026Harnessing the Potential of Optimizing Data Mixtures via Bayesian Domain Reweightingcited by 0
- 2026Differentially Private Mixing of Public Datasets Improves Private Learningcited by 0
- 2026Differentially Private Mixing of Public Datasets Improves Private Learning5 Oct 2026
- 2026Harnessing the Potential of Optimizing Data Mixtures via Bayesian Domain Reweighting30 Jul 2026
- 2026Validity Threats for Foundation Model Research3 Jun 2026
- 2026Towards Efficient LLMs Annealing with Principled Sample Selection29 May 2026
- 2026D3: Dynamic Directional Graph-Constrained Data Scheduling for LLM Training29 May 2026
- 2026Accelerated Relax-and-Round for Concave Coverage Problems7 May 2026
- 2026Position: the Stochastic Parrot in the Coal Mine. Model Collapse is a Threat to Low-Resource Communities5 May 2026
- 2026Synthetic Data for any Differentiable Target9 Apr 2026
- 2026MaD-Mix: Multi-Modal Data Mixtures via Latent Space Coupling for Vision-Language Model Training8 Feb 2026
- 2026MergeMix: Optimizing Mid-Training Data Mixtures via Learnable Model Merging25 Jan 2026
- 2025Beyond Real Data: Synthetic Data through the Lens of Regularization9 Oct 2025