arXiv(opens in a new tab)cs.AIAug 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2608.23922

Data Mixing as Mixture Experiment: Response Surface Methodology and Optimal Design for Large Language Model Pretraining

Yicheng Mao, Hongru Du

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Data mixing is a central design problem in large language model pretraining: given a fixed token budget, practitioners must decide how much data to allocate to each domain. Recent proxy-based methods address this problem by training small models on candidate mixtures, fitting a response model, and using the response to select mixtures for larger-scale training. We show that this workflow has the structure of a classical mixture experiment. Under this view, data domains are mixture components, token shares are component proportions, proxy-training runs are experimental design points, and validation loss defines a response surface over the probability simplex. We develop this formulation using sparse second-order Scheffé response-surface models and construct model-robust I-optimal designs for proxy data-mixing experiments. Using RegMix as an empirical case study, we demonstrate how the framework can both interpret observed mixture responses and design more efficient proxy experiments. The Scheffé analysis shows that domain value is strongly relational: several domains that are weak under additive effects become favourable through pairwise interactions, especially through combinations with web-derived text. The sparse Scheffé model preserves mixture rankings across model scales and remains competitive with a flexible machine-learning predictor while providing an explicit decomposition of additive and interaction effects. In a simulation study calibrated to observed proxy-training responses, model-robust I-optimal designs recover the relevant mixture ordering after removing about 25% of the original proxy runs. These results suggest that LLM data mixing should be treated not only as a prediction problem, but also as an experimental-design problem in which the proxy mixtures themselves can be chosen to improve statistical efficiency.

Keywords: mixture experiments, Scheffé polynomials, optimal experimental design, large language models, data mixing, pretrain

1 Introduction

The performance of a large language model depends heavily on the composition of its pretraining corpus. Modern pretraining datasets are assembled from multiple data domains such as web text, code, scientific articles, and books, and the proportion allocated to each domain affects both validation loss and downstream task performance (Gao et al., 2021; Longpre et al., 2023). Because the total token budget is often fixed, increasing the share of one domain reduces the share available to the others. The choice of data mixture is therefore a constrained allocation problem, and it has become a central design question in LLM pretraining. At the scale of modern pretraining runs, suboptimal mixture choices translate directly into wasted compute and degraded model capability, making principled mixture selection a problem of both scientific and practical importance.

Recent work has begun to treat data mixture weights not as fixed corpus-construction choices, but as quantities that can be estimated, adapted, or optimised during the training pipeline. For example, DoReMi (Xie et al., 2023) uses a small proxy model and group distributionally robust optimisation to learn domain weights that are then used for larger-scale pretraining. More recent work makes the mixture-performance relationship even more explicit by modelling how mixture proportions affect language-model performance. Data Mixing Laws (Ye et al., 2025) fit predictive functions that relate sampled mixtures to language modelling loss, while BiMix (Ge et al., 2025) extends this idea by modelling the joint effect of mixture proportions and data volume. RegMix (Liu et al., 2025) similarly trains small proxy models on sampled mixtures and fits regression models to predict the performance of unseen mixtures at larger scales. Taken together, these studies show that data mixing is increasingly being treated as a measurable allocation problem: mixture proportions are varied, model responses are observed or predicted, and the resulting information is used to guide future mixture selection.

The key observation of this paper is that this allocation problem has the geometry of a classical mixture experiment. The predictors in data mixing are not ordinary covariates. They are proportions that must be non-negative and sum to one, so all feasible mixtures lie on a probability simplex. The same geometry appears in classical mixture experiments, where the response depends on the relative proportions of several components rather than on independently adjustable inputs (Cornell, 2002). The classical examples are formulation problems: the taste of a food product depends on the proportions of its ingredients, and the performance of a chemical product depends on the proportions of its constituent compounds (Goos and Hamidouche, 2019; Furlanetto et al., 2011). The same mixture-experiment logic has also been used for more abstract allocation problems, where the “components” are not physical ingredients but shares of a fixed resource. For example, advertising media-mix studies allocate a fixed advertising budget across media channels to quantify channel effects and cross-media synergy (Goos et al., 2019), while mobility-budget studies allocate a fixed travel budget across alternative transport modes (Zijlstra et al., 2019). In all these cases, the effect of one component cannot be interpreted independently of the others because increasing one share necessarily reduces the remaining shares. LLM data mixing follows the same logic:

the components are data domains, the mixture proportions are token shares, and the response is validation loss or downstream performance after training.

This mixture-experiment interpretation has two methodological consequences. First, it changes how the response surface can be specified. Since the predictors are constrained proportions, the fitted model should respect the simplex geometry rather than treating domain shares as ordinary unconstrained covariates. This motivates the use of Scheffé response-surface models, which are defined directly on the simplex (Scheffé, 1958). In the present context, they provide a way to decompose the fitted loss surface into additive domain contributions and pairwise departures from additivity. This is important because a domain may be weak as an additive contributor but useful when combined with another domain. Flexible machine-learning predictors may capture such interactions implicitly, but they do not usually express them as interpretable quantities.

Second, the mixture-experiment interpretation changes how proxy mixtures can be selected. In many proxy-based data-mixing workflows, candidate mixtures are sampled randomly, for example, from Dirichlet distributions. This is convenient and scalable, but it does not ask whether those mixtures are the most informative design points for estimating a response surface. If proxy runs are experimental design points rather than merely random samples, then their locations on the simplex can be chosen to improve prediction over the mixture region. Since the practical goal is to predict the performance of unseen mixtures, I\mathcal{I}-optimality is a natural criterion because it targets low average prediction variance over the experimental region (Goos and Jones, 2011). Moreover, because the appropriate response-surface order is not known before the proxy experiment is run, a model-robust design can be used to balance performance across additive and interaction-inclusive candidate models (Yu et al., 2008).

This paper develops a mixture-experiment framework for LLM data mixing, in which data sources are components, token shares are mixture proportions, proxy-training runs are design points, and model performance is the response surface. Using the publicly available RegMix proxy-training data as an empirical case study, we fit sparse second-order Scheffé models to estimate interpretable additive and interaction effects, evaluate whether these structured response surfaces preserve mixture rankings across model scales, and construct model-robust I\mathcal{I}-optimal designs to test whether useful mixture orderings can be recovered with fewer proxy runs. Although the empirical analysis is grounded in the RegMix setting, the methodological framework applies to any proxy-based data-mixing workflow in which a fixed training budget is allocated across data sources.

The contribution of the paper is threefold. First, it formalises LLM data mixing as a mixture response-surface experiment on the probability simplex. This connects proxy-based data-mixing workflows to the statistical literature on mixture modelling and optimal experimental design. Second, it shows how sparse Scheffé models can expose additive domain effects and pairwise domain interactions that are otherwise hidden inside black-box predictors. Third, it demonstrates that optimal design can be used to improve the efficiency of proxy data-mixing experiments, reducing the proxy-training budget needed to recover reliable mixture rankings and suggesting that how proxy mixtures are chosen deserves as much attention as how the resulting data are modelled.

The remainder of the paper is organised as follows. Section 2 formalises proxy-based data mixing as a mixture response-surface experiment. Section 3 introduces the sparse Scheffé response-surface model and the model-robust I-optimal design criterion. Section 4 reports the Scheffé re-analysis of the RegMix data and its cross-scale rank-preservation performance. Section 5 evaluates model-robust I-optimal designs for proxy data-mixing experiments. Section 6 concludes with limitations and directions for future work.

References (24)

  • Scaling laws for generative mixed-modal language models
  • Designs for nonlinear and generalized linear models
  • Sequential design of experiments
  • Unsupervised cross-lingual representation learning at scale
  • Analyzing data from mixture experiments containing process variables: A split-plot approach
  • Experiments with Mixtures
  • Mixture experiment methods in the development and optimization of microemulsion formulations
  • The Pile: An 800GB Dataset of Diverse Text for Language Modeling
  • Bimix: A bivariate data mixing law for language model pretraining
  • Using mixture-amount modeling to optimize the advertising media mix and quantify cross-media synergy for specific target groups
  • Choice models with mixtures: An application to a cocktail experiment
  • Optimal Design of Experiments: A Case Study Approach
  • Don't stop pretraining: Adapt language models to domains and tasks
  • Optimal design of experiments when not every test is equally expensive
  • Regmix: Data mixture as regression for language model pre-training
  • The flan collection: designing data and methods for effective instruction tuning
  • Optimal designs for mixture choice experiments by simulated annealing
  • Simulated annealing for model-robust partial profile choice designs in healthcare preference studies
  • Models for mixture experiments when the response depends on the total amount
  • Regression shrinkage and selection via the lasso
  • Doremi: optimizing data mixtures speeds up language model pretraining
  • Data mixing laws: Optimizing data mixtures by predicting language modeling performance
  • Model-robust design of conjoint choice experiments
  • A mixture-amount stated preference study on the mobility budget