Lune

NeurIPS2025Top-tier venue

Scaling Laws for Optimal Data Mixtures

Mustafa Shukor, Louis Béthune, Dan Busbridge, David Grangier, Enrico Fini, Alaaeldin El-Nouby, Pierre Ablin

Abstract

Large foundation models are typically trained on data from multiple domains, with the data mixture-the proportion of each domain used-playing a critical role in model performance. The standard approach to selecting this mixture relies on trial and error, which becomes impractical for large-scale pretraining. We propose a systematic method to determine the optimal data mixture for any target domain using scaling laws. Our approach accurately predicts the loss of a model of size N trained with D tokens and a specific domain weight vector h. We validate the universality of these scaling laws by demonstrating their predictive power in three distinct and large-scale settings: large language model (LLM), native multimodal model (NMM), and large vision models (LVM) pretraining. We further show that these scaling laws can extrapolate to new data mixtures and across scales: their parameters can be accurately estimated using a few small-scale training runs, and used to estimate the performance at larger scales and unseen domain weights. The scaling laws allow to derive the optimal domain weights for any target domain under a given training budget (N ,D), providing a principled alternative to costly trial-and-error methods.

Model sizes: 106M 275M 616M 2.3B 8B 10 20 10 21

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

14 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • When Scaling Meets LLM Finetuning: The Effect of Data, Model and Finetuning Method cites Language Models are Few-Shot Learners
  • Vision Transformer Finetuning Benefits from Non-Smooth Components cites Language Models are Few-Shot Learners
  • Vision Transformer Finetuning Benefits from Non-Smooth Components cites Scaling Vision Transformers to 22 Billion Parameters
  • Optimal Splitting of Language Models from Mixtures to Specialized Domains cites When Scaling Meets LLM Finetuning: The Effect of Data, Model and Finetuning Method
  • Optimal Splitting of Language Models from Mixtures to Specialized Domains cites Scaling Data-Constrained Language Models
  • Optimal Splitting of Language Models from Mixtures to Specialized Domains cites Language Models are Few-Shot Learners
  • Scaling Data-Constrained Language Models cites Language Models are Few-Shot Learners
  • Learning to See Before Seeing: Demystifying LLM Visual Priors from Language Pre-training cites Scaling Data-Constrained Language Models
  • DoReMi: Optimizing Data Mixtures Speeds Up Language Model Pretraining cites Language Models are Few-Shot Learners
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers14

  1. Learning to See Before Seeing: Demystifying LLM Visual Priors from Language Pre-trainingJunlin Han, Shengbang Tong, David Fan, Yufan Ren et al.ICLR 2026 · 25 citations
  2. From Pixels to Words -- Towards Native Vision-Language Primitives at ScaleHaiwen Diao, Mingxuan Li, Silei Wu, Linjun Dai et al.ICLR 2026 · 17 citations
  3. MergeMix: Optimizing Mid-Training Data Mixtures via Learnable Model MergingJiapeng Wang, Changxin Tian, Kunlong Chen, ziqi liu et al.ICML 2026 · 6 citations
  4. Optimal Splitting of Language Models from Mixtures to Specialized DomainsSkyler Seto, Pierre Ablin, Anastasiia Filippova, Jiayuan Ye et al.ICML 2026 · 2 citations
  5. Vision Transformer Finetuning Benefits from Non-Smooth ComponentsAmbroise Odonnat, Chapel Laetitia, Romain Tavenard, Ievgen RedkoICML 2026 · 1 citation

Builds on32

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. Scaling Vision Transformers to 22 Billion ParametersMostafa Dehghani, Josip Djolonga, Basil Mustafa, Piotr Padlewski et al.ICML 2023 · 848 citations
  3. Scaling Data-Constrained Language ModelsNiklas Muennighoff, Alexander M. Rush, Boaz Barak, Teven Le Scao et al.NeurIPS 2023 · 475 citations
  4. DoReMi: Optimizing Data Mixtures Speeds Up Language Model PretrainingSang Michael Xie, Hieu Pham, Xuanyi Dong, Nan Du et al.NeurIPS 2023 · 457 citations
  5. When Scaling Meets LLM Finetuning: The Effect of Data, Model and Finetuning MethodBiao Zhang, Zhongtao Liu, Colin Cherry, Orhan FiratICLR 2024 · 271 citations

Related papers

  1. Parameters vs FLOPs: Scaling Laws for Optimal Sparsity for Mixture-of-Experts Language ModelsSamira Abnar, Harshay Shah, Dan Busbridge, Alaaeldin El-Nouby et al.ICML 2025
  2. Data Mixing Laws: Optimizing Data Mixtures by Predicting Language Modeling PerformanceJiasheng Ye, Peiju Liu, Tianxiang Sun, Jun Zhan et al.ICLR 2025
  3. RegMix: Data Mixture as Regression for Language Model Pre-trainingQian Liu, Xiaosen Zheng, Niklas Muennighoff, Guangtao Zeng et al.ICLR 2025
  4. CMR Scaling Law: Predicting Critical Mixture Ratios for Continual Pre-training of Language ModelsJiawei Gu, Zacc Yang, Chuanghao Ding, Rui Zhao et al.EMNLP 2024 · 2 citations
  5. Adaptive Data Optimization: Dynamic Sample Selection with Scaling LawsYiding Jiang, Allan Zhou, Zhili Feng, Sadhika Malladi et al.ICLR 2025
Dusk over the sea between two cliffs drawn in fine vertical lines