{"id":"arxiv:2507.09404","kind":"article","title":"Scaling Laws for Optimal Data Mixtures","authors":["Mustafa Shukor","Louis Bethune","Dan Busbridge","David Grangier","Enrico Fini","Alaaeldin El-Nouby","Pierre Ablin"],"author_count":7,"year":2025,"published":"2025-07-12","venue":"neural information processing systems","cited_by":0,"doi":"10.52202/085713-4314","arxiv_id":"2507.09404","nct_id":null,"source_url":"https://arxiv.org/abs/2507.09404","archive_url":"https://space-kitty.com/papers/arxiv:2507.09404","updated":"2025-10-02","pmid":null,"pmcid":null,"openalex_id":"W4414693706","pdf_url":"https://arxiv.org/pdf/2507.09404","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.","abstract_license":"CC0-1.0 (arXiv descriptive metadata)","license":null,"is_open_access":false,"retracted":false,"peer_reviewed":null,"categories":["cs.LG"],"details":null,"provenance":"arxiv","attribution":"Abstract: arXiv descriptive metadata (CC0). Thank you to arXiv for use of its open access interoperability. This service was not reviewed or approved by, nor does it necessarily express or reflect the policies or opinions of, arXiv.","topics":[{"slug":"scaling-laws","name":"Scaling Laws & Compute-Optimal Training","domain_slug":"ai"}],"cited_in_dossiers":[]}