WorksComputer Science
LinMix: Data Mixing as Linear Domain Attribution
Abstract
Language model performance depends strongly on the mixture of domains in the pretraining data corpus. Popular data mixing methods select these domain weights by training many small proxy models on random mixes and then fitting a regression model to predict performance from the mix. We recognize this practice as a domain attribution problem, where the regression measures each domain's contribution to the target metric. Through this lens, the standard Dirichlet sampling of proxy data mixes is a poor regression design that requires tuning and cannot support a linear fit for hundreds of domains. Building on classical optimal experimental design, we introduce LinMix, which samples mixes at the vertices of the capped simplex so that each domain is at its cap or absent. This hyperparameter-free vertex sampling decorrelates domain effects, enabling an interpretable linear model whose coefficients are the domain attributions. The optimal mix given by LinMix provably keeps only domains with positive attribution values and requires no search over candidate mixes. We further establish the optimality of vertex sampling, and prove that Dirichlet sampling inflates the attribution error when its mixes concentrate around the prior data mix. Pretraining experiments with 1B-parameter OLMo2 and 4B Qwen3.5 language models show that LinMix outperforms Dirichlet-based data mixing across reasoning, code, and math benchmarks, with relative gains of 46% on MBPP and 14% on GSM8K. At 288 fine-grained domains, only vertex sampling supports a linear fit, and LinMix improves benchmark accuracy by 11% on average over the best nonlinear baseline.
Models and Data Code
Introduction
The composition of a pretraining dataset, drawn from an ever-growing data corpus, is one of the most decisive factors governing the downstream capabilities of large foundation models ([21] (Team Olmo 2025)). Given the impressive gains in model training efficiency and benchmark performance obtained by curating an optimal dataset, data mixing has emerged as a well-founded optimization problem. Naturally, a source dataset can be split into the so-called domain subsets based on their web origin (e.g., GitHub, arXiv, Fan et al., [17]), semantic type (e.g., code, math, Li et al., [42]), or statistical profile (e.g., by clustering data representations, Diao et al., [15]). Data mixing is then commonly formulated as a domain-weighting problem, where each domain receives a fraction of the target model’s token budget and the model is pretrained on the resulting mixture ([75, 42, 66, 76, 62]).
In this work, we study regression-based data mixing ([46, 73, 77, 9]), which consists of two stages: (i) training a swarm of small proxy models on randomly sampled mixes, and (ii) selecting the target mix by optimizing a regression model fit to predict performance from the mix. This procedure improves both the benchmark performance and the training efficiency of language models, yet two of its design choices remain poorly understood and are addressed ad hoc in practice. First, it is unclear from which distribution the proxy mixes should be drawn, a question we frame as the classic problem of regression design Kiefer and Wolfowitz [38], where the sampled mixes govern how much a fixed budget of proxy runs reveals about each domain’s effect. Second, we show that popular methods do not scale to hundreds of fine-grained domains, where their Dirichlet sampling and optimization hyperparameters lack working defaults and require per-setup heuristic tuning, which becomes increasingly difficult as the number of domains increases.
Domain attribution. In parallel, data attribution quantifies how much a model’s behavior depends on its training data [40, 24]. We formalize regression-based data mixing as a form of data attribution, in which domains replace individual training samples. A linear fit to the proxy runs thus yields a domain-level datamodel Ilyas et al. [31], whose coefficients measure each domain’s marginal contribution to the target outcome. Consequently, a reliable regression design identifies these interpretable domain weights, an objective this work addresses from first principles.
Contributions. We introduce LINMIX as a simple and effective data mixing method whose vertex proxy sampling scheme enables selection of the optimal mix for language model pretraining via an interpretable linear model (§ 3). Figure 1 illustrates its design. Pretraining experiments with 1B-parameter OLMo2 and Qwen3.5 language models demonstrate that LINMIX outperforms data mixing methods relying on Dirichlet sampling across reasoning, code, and math benchmarks (§ 4). Furthermore, our theoretical analysis reveals fundamental limitations of Dirichlet-based mixing (§ 5). Beyond requiring heuristic hyperparameter tuning, it severely inflates attribution error whenever proxy mixes concentrate around the prior or when the prior becomes skewed (Theorem 1). Finally, we formally establish the theoretical optimality of vertex sampling in LINMIX (Theorem 2).

Figure 1. Data mixing for language model pretraining with linear domain attribution. We show that an interpretable linear regression model suffices for data mixing under vertex sampling.
Background
Language models are pretrained on a corpus of sequences partitioned into domains with sequences each. The natural proportions define the prior data mix, a point on the probability simplex . Whereas training on the corpus as-is draws data according to , data mixing seeks to reweight this prior into domain weights that maximize the downstream performance of the target model [75, 17, 1]. However, evaluating even a single candidate mix at the target scale would require a full pretraining run over sequences. Instead, data mixing techniques train a swarm of small proxy models, each on sequences drawn according to a candidate mix , and use their performance to predict ; the candidate mixes form the rows of the design matrix .
Sampling . State-of-the-art approaches such as RegMix Liu et al. [46] and OLMix Chen et al. [9] populate the rows of via Dirichlet sampling, drawing mixes from a tempered version of the prior for each :
The scale is the total concentration of the Dirichlet distribution, where small produces sparse mixes dominated by a few domains, and large tight perturbations of the tempered prior. The temperature flattens the prior so that dominant domains (e.g., CommonCrawl) do not absorb most of the probability mass, with by default [46, 73].
Up-weighting a domain far beyond its prior share can only be realized at the target scale by repeating that domain’s data, which brings diminishing returns beyond a few passes [52]. Recent methods therefore restrict mixes to the truncated simplex with per-domain caps for an up-sampling factor . A mix at the cap makes at most passes over any domain’s data; in practice, Liu et al. [46] hardcode , Wettig et al. [73] derive so that no data repeats at the target model scale, and Chen et al. [9] set , i.e., at most four passes.
Optimizing . Each proxy model is trained on its mix and evaluated to obtain outcome , e.g., validation loss or bits-per-byte, yielding the proxy dataset with . Regression-based data mixing methods fit a parameterized model to predict the outcome from the mix, and then predict the target mix by minimizing the fitted model over the truncated simplex:
In practice, REGMIX solves this optimization approximately, evaluating a gradient-boosted on a large pool of Dirichlet-sampled candidate mixes and averaging the Top- best-predicted ones for robustness [46]. OLMIX [9] adopts the exponential mixing law of Ye et al. [77] as , which is convex in and can hence be minimized exactly over . Finally, is constructed by drawing sequences from each domain and the target model is trained on this dataset. Note that every step of this approach inherits its quality from the design , which determines how well can be identified from only runs; yet how to sample has received little attention, which we address in this paper.
Data Mixing as Linear Domain Attribution
We formalize data mixing as a domain attribution problem seeking an interpretable linear model whose coefficients measure each domain’s contribution to the target outcome. We empirically find that such a linear fit cannot be supported using Dirichlet-sampled proxy runs, and prior work compensates by using nonlinear surrogates and per-setup hyperparameter tuning, which we report in § 4. Instead of changing the surrogate model, we change the design by sampling to maximize the information the proxy runs carry about the domain effects, after which nonlinear models offer no better fit than the linear one. Reliable attribution in turn enables the constrained optimization of , where Dirichlet-based methods degrade once reaches hundreds of fine-grained domains.
Sampling . Unlike prior work, we sample the mixes at the vertices of , aiming to maximize their spread measured by without sampling hyperparameters. This choice follows the D-optimality principle of experimental design [38], which we elaborate on in Appendix § 8. For each run , we draw a uniform random permutation of domains and fill domains greedily in that order, saturating each at its cap until the unit budget is exhausted:
Each resulting has at most one strictly interior coordinate, with the rest pinned to or . Such a sparse design is near-orthogonal in expectation, rather than centered at , as in Dirichlet sampling. To further improve , we pair the proxy runs, letting run reuse the permutation of run in reverse, i.e. , so that domains left empty by one fill are saturated first by its counterpart. The paired fills are anti-correlated by construction, with largely disjoint supports, and thus contribute near-orthogonal directions to , keeping well conditioned.
Optimizing . Fitting the linear model in Eq. (2) by least squares yields the attribution estimate , whose covariance scales with . We always center to zero mean so that measures the marginal value of domain relative to the average. We also negate for target metrics where lower is better, so that a positive indicates a domain of above-average value. The mix selection then becomes a linear program over the truncated simplex,
solved by filling domains to their caps in decreasing order of until the budget is exhausted, so the solution is itself a vertex of . This allocation inherently treats each additional domain sequence as equally valuable, which is appropriate for most cases, especially quality-filtered data.
Transforming the utility of . Beyond sampling and optimizing , a third design choice worth studying is the utility assigned to each domain weight, which can capture the diminishing returns of repeating data from a given domain. For example, if we assume that data value decays with domain repetition, the linear utility can be transformed to the logarithmic one , so that each additional sequence of a domain is worth less than the previous one. Theoretically, these two extremes can be framed as special cases of the general isoelastic objective
which recovers the linear objective in Eq. (4) as and the log-linear form at . Proposition 1 establishes that positive domain attribution determines the support of the optimal mix, while the curvature only allocates the budget within it (see an example in App. Figure 9). We discuss the classical roots of this theory and its closest data selection counterpart in Appendix § 8.
Proposition 1 (Domain support and uniqueness of the optimal mix). Let be the set of domains with positive estimated attribution, and assume their caps can absorb the whole budget, i.e. . At , the objective of Eq. (5) reads as , its log-linear form with the sum restricted to . Then, for every , its maximizer is unique and satisfies for all and for all . At , in contrast, a maximizer may assign zero weight to domains in . Proofs are given in Appendix § 9.
Corollary 1 (Closed form of the optimal mix). Under the assumptions of Proposition 1 and for , the objective of Eq. (5) restricted to its positively attributed support is strictly concave. Then, the maximizer takes the closed form for and otherwise, where is the unique scalar enforcing .
As , the solution in Corollary 1 collapses to the greedy fill of Eq. (3) with domains ordered by decreasing (for distinct ). Optimal mixes thus saturate the caps of their top domains, such as our sampled vertices, and predicting with interpolates rather than extrapolates. Unlike in Dirichlet sampling, optima here do not fall outside the convex hull of mixes clustered around the prior.
Experiments
Data. We use the 200B-token WebOrganizer corpus (Wettig et al., [73]) built from CommonCrawl web data and cleaned for language model pretraining. Each document is assigned one of 24 topics (e.g., science, politics) and one of 24 formats (e.g., academic writing, news), and we split the corpus into 2048-token sequences, each drawn from a single domain. We study two mixing granularities: 24 coarse domains given by the topics alone, and 288 fine-grained domains formed by the larger half of the 24 × 24 topic–format pairs, covering 94% of the corpus (cf. App. Figure 5). Removing the practically empty tail from the prior data mix reduces noise when estimating domain weights.
Language models. Following Chen et al. [9], we build on the open source OLMo 2 implementation (Team OLMo et al., [64]) to train 3M and 60M proxy models and 1B target models. All models are trained past the 20 tokens-per-parameter Chinchilla ratio (Hoffmann et al., [29]) to avoid undertraining (Chen et al., [11]), on 1B, 2B, and 32B tokens, respectively. This setup is comparable to prior work that pairs 27M (Liu et al., [46]) and 50M (Wettig et al., [73]) proxies with 1B targets. Following Wettig et al. [73], we set the up-sampling cap to so that no sequence repeats at the target scale, a non-arbitrary choice shared by all sampling methods we compare. Hyperparameters and further training details are given in Appendix § 10.
Target benchmarks. We optimize data mixes for three targets: ARC (easy and challenge, Clark et al., [12]) for scientific question answering; HellaSwag (Zellers et al., [81]) for commonsense reasoning; and HellaSwag combined with PIQA (Bisk et al., [5]) as a two-benchmark target. In each case, we optimize the mix against proxy-model bits-per-byte (BPB, Gao et al., [22]) metric on the benchmark’s training split and report the target model’s accuracy on a held-out set: test for ARC, and validation for HellaSwag and PIQA, whose test labels are withheld. We also optimize for BPB validation loss on the Common Pile (CPile, Kandpal et al., [32]) data corpus to diversify the setup.
Dirichlet sampling of proxy data mixes requires tuning hyperparameters
Before training proxy models, we need to sample the design matrix . Figure 2 shows the fraction of Dirichlet-sampled domain mixes that violate the cap constraint of and must be rejected. For 288 domains, the baseline algorithm does not converge with the default hyperparameters , , , or even (cf. the hatched area in Figure 2). Since related work gives no guidance on how to tune them, we set and propose to select by minimizing the condition number of , which yields mixes much closer to the prior at and .

Figure 2. Dirichlet sampling with default hyperparameters does not converge for 288 domains. Fraction of Dirichlet-sampled domain mixes that violate the target model cap constraint. We choose new Dirichlet hyperparameters by minimizing the condition number of matrix (blue star).
Vertex sampling outperforms Dirichlet, enabling a linear model fit
We train 512 × 30M and 1024 × 60M proxy models per sampler for 24 and 288 domains, respectively. Figure 3 shows the cross-validated fit between predicted and observed benchmark BPB (Spearman ) under each design as the number of proxy models grows. At 24 domains, every surrogate fits well under both samplers, but at 288 domains, no surrogate helps Dirichlet sampling even when is tuned ( at ). Conversely, our hyperparameter-free vertex sampling puts the interpretable linear model on par with the best nonlinear alternative (see also in App. Figure 6). Half of the vertex swarm already fits better than the full Dirichlet swarm, because near-prior Dirichlet mixes vary HellaSwag BPB five times less than vertex mixes, leaving little signal to regress on. As an ablation in App. Figure 8, we train 30M and 100M models on 288 domains, fit a linear model from the 30M swarm, and use it to rank the outcomes of 60M and 100M models at , while the Dirichlet fit does not transfer (). We visualize the optimized domain weights in App. Figure 9, where relaxing curvature retains the full positively attributed support (Prop. 1). Based on it, we transform the utility on 24 domains with for HellaSwag, which adds Social Life, Fashion & Beauty, Games, and Industrial to the four domains at their caps (Health, Home & Hobbies, Food & Dining, Adult); and with for CPile, which adds a sixth Hardware domain to the data mix.

Figure 3. Optimizer performance under the vertex and Dirichlet samplers. Spearman correlation is averaged across 5 random repetitions of 10-fold cross-validation under a fixed proxy model budget. Nonlinear is implemented using LightGBM, as in REGMIX, and exponential fits the exponential law to the target, as in OLMIX. The corresponding values are reported in App. Figure 6.

Figure 6. Performance of optimizers under Vertex and Dirichlet samplers. Extended Figure 3. Average Spearman correlation and across 5 random repetitions of 10-fold cross-validation under a fixed proxy model budget. Nonlinear is implemented using LightGBM, as in REGMIX, and exponential fits the exponential law to the target, as in OLMIX.

Figure 8. The linear attribution fit transfers across proxy scales only under vertex sampling. A linear model is fit to predict HellaSwag BPB from the mix over the proxy models at 288 domains, and predicts the outcomes of the 60M and 100M swarms trained on the same mixes. Absolute BPB drops with proxy scale, so we offset predictions by one constant per swarm without changing rankings. Dirichlet-sampled mixes yield a weak in-sample fit whose ranking does not transfer, whereas vertex sampling yields a ranking that transfers across model scales.

Figure 9. Domain weights optimized for the 1B target benchmarks. Domain weights relative to the prior mix across data mixing methods and targets on the 200B-token corpus split into 24 and 288 domains, including the held-out Common Pile loss (CPile). For 288 domains, rows retain the 24-topic order and sort each topic’s formats by increasing share of the prior data mix. Topic names are at the group centers, and since a topic group with few formats is shorter than its label, it can overlap vertically. Beyond (), the support of the target mix is the set of all positively attributed domains; the mixes at () and () thus share this support and differ only in the domain weight magnitudes (Proposition 1). Based on this, Table 1 trains the LINMIX mix for HellaSwag at 24 domains, the mix for CPile at 24 domains, and the mix otherwise.
LinMix outperforms data mixing baselines on a 1B target model benchmark
We compare LinMix to a nonlinear RegMix, which outperforms several data selection methods and was applied in WebOrganizer, as well as Olmix, which benchmarks several data mixing approaches and finds the exponential model to be state-of-the-art. Table 1 shows target benchmark performance where LinMix with a linear model significantly improves data mixing with 288 domains, and is on par or better with 24 domains. This result is consistent with the proxy metric values reported in Section 4.2, which here translate into downstream performance. An interpretable linear regression suffices for data mixing that targets the CPile validation loss under vertex sampling, i.e. it is on par with or better than complex Dirichlet sampling with nonlinear regression. We ablate on two optimization factors in Appendix D: Table 5 indicates that scaling the linear model coefficients by standard error could improve performance, and Table 6 demonstrates how transforming the utility of towards relaxes the 24-domain support for HellaSwag (Proposition 1), yielding better results.
| Method | 24 domains (512 × 30M models) ARC Acc↑ | BPB↓ | HellaSwag Acc↑ | BPB↓ | CPile BPB↓ | 288 domains (1024 × 60M proxy models) ARC Acc↑ | BPB↓ | HellaSwag Acc↑ | BPB↓ | HS + PIQA Acc↑ | BPB↓ | CPile BPB↓ |
| Prior | .437 | .864 | .543 | .788 | .888 | .436 | .870 | .541 | .788 | .634 | .902 | .890 |
| REGMIX | .496 | .780 | .563 | .781 | .842 | .449 | .850 | .547 | .784 | .638 | .896 | .878 |
| OLMIX | .486 | .785 | .550 | .782 | .860 | .435 | .872 | .550 | .783 | .641 | .892 | .850 |
| LINMIX | .510 | .785 | .568 | .785 | .847 | .511 | .757 | .615 | .758 | .690 | .855 | .834 |
| +2.8% | −0.6% | +0.9% | −0.5% | −0.6% | +13.8% | +10.9% | +11.8% | +3.2% | +7.6% | +4.1% | +1.9% |
Table 1. Table 1: Performance comparison of data mixing methods across 23 × 1B par. OLMo2 target models pretrained on 32B tokens. Normalized accuracy and bits-per-byte (BPB) are measured on a held-out set per target benchmark. Color denotes relative difference to the best baseline.
| Sampling | Scaling | Acc↑ | BPB↓ |
| Dirichlet | .597 | .764 | |
| .602 | .761 | ||
| Vertex | .615 | .758 | |
| .617 | .759 |
Table 5. Ablation of linear model scaling and proxy sampling at 288 domains on HellaSwag.
| Utility | 24 domains | 288 domains | ||
| Acc↑ | BPB↓ | Acc↑ | BPB↓ | |
| () | .543 | .795 | .615 | .758 |
| () | .565 | .782 | .611 | .758 |
| () | .568 | .785 | .610 | .759 |
Table 6. Ablation of the utility transformation via curvature in LINMIX on the HellaSwag target.
Scaling to a 4B Qwen3.5 model benchmarked on code and math capabilities
We demonstrate the broader applicability of LinMix by doubling the data corpus and training a target model with ten times more compute. The 24-topic WebOrganizer dataset is extended with Nemotron-CC-Math (Karimi Mahabadi et al., [35]) and Stack-Edu (Allal et al., [2]) split into 15 programming languages, yielding a 416B-token corpus spanning 40 domains. We pretrain 4B Qwen3.5 (Qwen Team, [57]) target models on 80B tokens at a 20 ratio to allow for more diverse experiments. We train 512 100M proxy models per sampler to prevent under-parametrization, given the more challenging coding and math capabilities. Mixes are optimized towards training splits of HellaSwag (Austin et al., [3]), and GSM8K (Cobbe et al., [13]). Figure 4 shows an example of optimized domain weights targeting three diverse model capabilities. It illustrates that RegMix obtains similar mixes across the three target capabilities, while the exponential law of Olmix differentiates between targets, but to a lesser degree than LinMix. Table 2 shows that LinMix delivers strong performance across the language, coding, and math benchmarks, transferring these capabilities to held-out benchmarks such as HumanEval (Chen et al., [8]) and MATH (Hendrycks et al., [28]; Lewkowycz et al., [41]). We additionally train a 1B-parameter Qwen3.5-like model on 32B tokens targeting Cile from the same proxy model swarm and report its results in the last column.

Figure 4. Domain weights relative to the prior mix across data mixing methods and target benchmarks. LinMix downweights math and code domains for language modeling (blue in HellaSwag), upweights programming languages and software domains for coding (red in MBPP), as well as math and science domains for math capabilities (red in GSM8K).
| Method | Target: HellaSwag HellaSwag Acc↑ | BPB↓ | PIQA Acc↑ | BPB↓ | Target: MBPP (code) MBPP P@1↑ | BPB↓ | HumanEval P@1↑ | BPB↓ | Target: GSM8K (math) GSM8K EM↑ | BPB↓ | MATH EM↑ | BPB↓ | CPile BPB↓ |
| Prior | .632 | .743 | .764 | .952 | .304 | .375 | .213 | .285 | .214 | .403 | .162 | .463 | .814 |
| REGMIX | .659 | .735 | .775 | .933 | .304 | .379 | .213 | .290 | .135 | .418 | .124 | .487 | .808 |
| OLMIX | .667 | .731 | .783 | .932 | .302 | .368 | .244 | .277 | .294 | .391 | .202 | .446 | .801 |
| LINMIX | .696 | .716 | .782 | .920 | .444 | .334 | .280 | .258 | .337 | .383 | .266 | .427 | .797 |
| +4.4% | +2.0% | −0.1% | +1.3% | +46.1% | +9.3% | +15.0% | +7.0% | +14.4% | +2.1% | +31.6% | +4.3% | +0.5% |
Table 2. Table 2: Performance of data mixing methods across 10 × 4B Qwen3.5 target models pretrained on 80B tokens. Mixes are optimized with 40 domains for each target benchmark and evaluated on its held-out set and a held-out benchmark. The additional CPile column reports 4 × 1B Qwen3.5 models optimized for held-out Common Pile validation loss. Color denotes relative diff. to the best baseline.
Theoretical Analysis
We formalize the domain attribution view of data mixing from first principles in Appendix E and summarize these results here. Starting from linear datamodels (Ilyas et al., [31]), we show that the expected outcome of a proxy run is linear in its domain mix, with coefficients that average sample-level attribution scores (Proposition 2, Corollary 2). Domain attribution thus interpolates between data attribution and a single-domain corpus, preserving the linear structure in between. We further relate it to the Shapley and Banzhaf data values of cooperative game theory in Remark 1.
With a finite budget of proxy runs, estimating the domain attribution is a linear regression whose error is governed by the design (Lemma 1). Dirichlet sampling inflates this error as the concentration grows and keeps its mixes close to the prior (Theorem 1). With many domains, Dirichlet mixes cannot stay far from the prior because sparse mixes at a small violate the per-domain caps and are rejected. We therefore tune empirically to a near-prior range (§ 4.1), for which the expected error of Dirichlet sampling is theoretically several times the lowest error possible with equal caps (Appendix § 12.§ 3). This matches Figure 3, where both samplers lead to reliable fits at 24 domains, but no surrogate fits the Dirichlet design well at 288 domains. In theory, vertex sampling without caps trains each proxy model on a single domain and thus estimates every domain attribution independently and equally well, which no other design can improve on (Proposition 3). In practice, the caps force every mix to spread over several domains and reveal less about each of them, but vertex sampling remains the best possible design in expectation for equal caps (Theorem 2).
Under these idealizations, Theorems 1 and 2 help explain why the linear fit of LINMIX can be more reliable than one based on Dirichlet sampling. Dirichlet mixes concentrate around the prior, while vertices carry as much evenly spread information as the caps allow.
Conclusion
We demonstrate that an interpretable linear model suffices for data mixing under vertex sampling and validate it across language model pretraining benchmarks. We further develop the theoretical foundations of LINMIX and relate data mixing to the attribution literature. While this paper contributes to the interpretability of data mixing, our results suggest that optimizing a vertex-sampled matrix with a nonlinear model could yield even better target model performance, which we leave for future work. We discuss limitations of our work in Appendix § 13, most importantly the cost of training a proxy swarm and the single training run per target model.
Acknowledgments and Disclosure of Funding
Hubert Baniecki was supported by the Foundation for Polish Science (FNP), and the state budget within the Polish Ministry of Education and Science program “Pearls of Science” project number PN/01/0087/2022. Work on this project is financially supported by the Foundation for Polish Science (FNP) grant ‘Centre for Credible AI’ No. FENG.02.01-IP.05-0058/24, and we gratefully acknowledge the Polish high-performance computing infrastructure PLGrid (HPC Center: ACK Cyfronet AGH) for providing computer facilities and support within the computational grant no. PLG/2026/019857.
Related Work
Design of experiments. Sampling is a classic problem in statistics. Because each row is a vector of domain proportions that sum to one, the proxy swarm is a mixture experiment [59]. Choosing inputs that minimize the variance of a regression estimate is the subject of optimal experimental design. A design is -optimal when it maximizes , which minimizes the volume of the confidence ellipsoid of [38]. For approximate designs, Kiefer and Wolfowitz [39] show that maximizing this determinant also minimizes the worst-case prediction variance. The D-optimal design for the first-degree mixture model places equal weight on the vertices of the simplex [37]. When upper bounds such as our caps truncate the simplex, the extreme vertices designs of McLean and Anderson [49] likewise use the vertices of the constrained region. LINMIX follows this principle at a scale where computing exact optimal designs on is impractical, sampling vertices generated by uniformly random domain permutations. We prove that this sampling scheme is optimal in expectation on with equal caps Theorem 2 and leave the case of unequal caps to future work. In § 4.1, we tune Dirichlet sampling by minimizing the condition number of , a criterion closely related to D-optimality and . Both degrade together because nearly-collinear mixes reduce the smallest singular value of , thereby collapsing the determinant and inflating the condition number. LINMIX also samples proxy mixes in pairs by filling domains in a random order and then in reverse order, following the idea of antithetic variates [27]. This relates to pairing sampled coalitions with their complements that has improved Shapley value approximation [20], though our capped mixes need not be exact complements. More broadly, regression design is of interest for improving attribution, e.g. Musco and Witter [53] improve regression-based Shapley value approximation via leverage-score sampling of coalitions.
Data mixing. Data mixing methods differ in how they estimate domain value and spend compute to choose a mix [47]. Online methods adapt the mixture during training. DoReMi [75] learns weights during proxy training through group distributionally robust optimization, DoGE [17] and Tan et al. [62] use gradient-based updates guided by generalization or validation performance, and PiKE [44] re-weights data sources from their gradients. MixMin [66] optimizes a weighted ensemble of proxy predictions, while Chameleon [76] derives weights from relationships between domain embeddings. Data Mixing Laws [77], AutoScale [33], and Shukor et al. (2025) use scaling relationships to predict mixture performance or select mixtures at larger training scales. Mixture optimization also extends to tokenizers [74] and multimodal midtraining [72]. Adaptive search allocates new proxy runs to promising mixtures through iterative predictor fitting [15] or Bayesian optimization [10, 78]. LINMIX instead fixes its proxy mixtures before observing their outcomes, using vertex sampling to estimate domain effects across the feasible region. This design enables a useful linear fit across hundreds of domains; combining it with adaptive search is a direction for future work.
Theory of optimal regression-based data mixing. Regression-based data mixing methods select the target mix by minimizing a fitted surrogate model, offering little theoretical insight into the optimal mix itself [46, 73, 9]. Recently, Chen et al. [9] bound the performance loss when a previously optimized mix is reused after the domain set changes, taking the mixing law and its exact minimization as given. Thrush et al. [65] rank domains by correlating the per-domain losses of public models with their benchmark scores instead, and prove that such rankings are optimally used by saturating the caps in rank order. In our framework, this rule is the vertex solution of Eq. (5) at , with the ranking estimated from a designed experiment on training mixtures rather than a correlation across uncontrolled models. For , the objective is a weighted isoelastic utility, also known as the alpha-fair family of resource allocation [50], whose marginal utility grows unbounded at zero weight, so the maximizer places positive weight on every positively attributed domain Proposition 1. Corollary 1 solves the KKT conditions in closed form, yielding a capped water-filling allocation [cf. 7].
Data attribution. Our work relates to the parallel literature on data attribution, which typically studies the influence of individual training examples rather than entire domains (Ghorbani and Zou, 2019; Feldman and Zhang, [19]; Wang and Jia, [68]; Li and Yu, [43]). We identify a connection between regression-based data mixing and datamodels (Ilyas et al., [31]; Saunshi et al., [58]), which predict model outputs from training-set membership and show that a linear model can capture these dependencies. DsDm (Engstrom et al., [16]) turns this predictive view into data selection, using gradient-based TRAK estimates (Park et al., [54]) to rank individual examples and select a fixed-size subset. LINMIX shares this principle but estimates domain proportions from proxy runs and allocates tokens under domain caps. Using these estimates for a larger target model requires that data effects transfer across scales, as studied by Khaddaj et al. [36]. Transfer depends on proxy training hyperparameters, as lower learning rates improve agreement with the dataset rankings of larger models (Wang et al., [70]). With a limited number of runs (Wang et al., [69]), the question becomes which mixtures reveal enough about each domain to support the allocation, which vertex sampling answers by design.
Data selection and filtering. Data quality and filtering methods improve training corpora by selecting or weighting individual examples. DataComp ([21, 42]) benchmarks how data curation affects large model performance. Methods that combine selection criteria include Meta-rater (Zhuang et al., [82]), which learns combinations of quality scores from proxy runs, and Fan et al. [18], who jointly optimize quality and diversity through learned selection masks, while Group-MATES (Yu et al., [80]) further accounts for interactions between examples. During training, selection can adapt by coordinating multiple criteria (Bai et al., [4]), updating example weights (Yu et al., [79]), or scoring examples by their optimizer updates (Wang et al., [71]). For fine-tuning, Ling et al. [45] select data using a diversity reward, while LimaCost (Moon et al., [51]) measures instruction-data value against a reference dataset using gradients. Filtering and mixing can be combined by curating the corpus before optimizing its domain mix, as in our experiments.
Proofs
Proposition 1 (Domain support and uniqueness of the optimal mix). Let be the set of domains with positive estimated attribution, and assume their caps can absorb the whole budget, i.e. . At , the objective of Eq. (5) reads as , its log-linear form with the sum restricted to . Then, for every , its maximizer is unique and satisfies for all and for all . At , in contrast, a maximizer may assign zero weight to domains in .
Proof. Throughout, let denote the feasible mix that spreads the budget over in proportion to the caps, for and otherwise. Its entries sum to one and gives , so it is feasible and puts positive weight on every domain in .
Existence. For , the objective is continuous on the compact set , so a maximizer exists. For , the specialized objective defines the objective as with the convention . This convention continues the case , where all maximizers lie on the face . On this face the omitted terms are constants that do not affect the maximizer, and the remaining sum converges pointwise to as . is upper semicontinuous and bounded above by zero, so it attains a finite maximum, as .
Positive weight on every domain in . The utility of a domain in has an unbounded derivative at zero weight, so leaving such a domain empty cannot be optimal. To make this precise, let be any maximizer and suppose for some . For this gives , a contradiction. For , pick any with and move a small weight from to . Only two terms change. The -th gains . The -th loses at most with , by the mean value theorem on . The gain is roughly while the loss is only proportional to , so the move strictly improves the objective for small , again a contradiction. Hence for all .
Zero weight outside . Conversely, weight outside adds no value and is better spent inside. Suppose for some . Because , some domain sits strictly below its cap. Moving the weight from to is feasible. The -th term does not decrease, since makes it non-increasing in , and for it is absent from altogether. The -th term strictly increases, a contradiction. Hence for all .
Uniqueness. By the two steps above, every maximizer lies in the convex set and is strictly positive on . On , the objective is a sum of strictly concave functions of the coordinates in , since and . Two distinct maximizers would therefore be beaten by their midpoint, so the maximizer is unique.
Linear limit. At , the objective is linear, so it is maximized at a vertex of the truncated simplex. The greedy fill solving Eq. (4) can then exhaust the budget before reaching the lowest-value domains in and leave them at zero weight. For example, with yields the optimum .
Corollary 1 (Closed form of the optimal mix). Under the assumptions of Proposition 1 and for , the objective of Eq. (5) restricted to its positively attributed support is strictly concave. Then, the maximizer takes the closed form for and otherwise, where is the unique scalar enforcing .
Proof. Fix . The claimed strict concavity on the support was established in the uniqueness step of Proposition 1, as each summand over is strictly concave. By Proposition 1, the maximizer is unique, lies in , and satisfies for all . On , the problem maximizes this concave objective under the affine constraints and . Because every is positive, the objective is differentiable at and the constraints are inactive, so satisfies the KKT conditions (cf. Boyd and Vandenberghe [7]) with a scalar for the budget and multipliers for the caps. The marginal utility of domain is , so stationarity reads for every . In words, the optimum equalizes marginal utilities at the common level , except where a cap binds. Because , some domain lies strictly below its cap. For this domain, complementary slackness gives , so . Now the closed form can be read off. If , then and stationarity gives . If , then gives . In both cases, . Since is feasible, summing this form over shows that enforces the normalization . Finally, is unique. The sum is continuous and non-increasing in . At any where it equals , some term lies strictly below its cap and there it decreases strictly in . Therefore the value is attained at exactly one .
Experimental Setup
Pretraining data. We tokenize data into single-domain sequences of 2048 tokens with the GPT-NeoX-20B tokenizer (Black et al., [6]), which has a vocabulary of 50,277 tokens. This way, the WebOrganizer corpus (Wettig et al., [73]) yields 195B tokens, and the 40-domain corpus adds 168B tokens of Stack-Edu (Allal et al., [2]) across 15 programming languages, plus the 53B-token highest-quality subset of Nemotron-CC-Math (Karimi Mahabadi et al., [35]), bringing the total data size to 416B. Figure 5 shows the resulting prior data mixes.

Figure 5. Prior data mix distributions. Domain shares for the three setups: 24 domains (topics), 288 domains formed from topic and format pairs, and 40 domains extending topics with code and math data. The dashed line marks the removal of the distribution’s tail, where the kept larger half of all 576 pairs covers 94% of the corpus.
Sampling data mixes. The caps become 5.98 and 5.63 for the 32B target token budget at 24 and 288 domains, and at 40 domains. We initially derived the latter for a 120B budget, allowing us to further train the models beyond the 80B tokens used. Dirichlet sampling uses and , , and at 24, 288, and 40 domains, respectively. The 40-domain range follows the criterion of § 4.1: the default parameters reject over 99.9% of draws, and the condition number of is minimized near . We keep the 100% span of the tuned range, over which the rejection rate falls from 0.96 to 0.01. For both samplers, we draw designs and keep the best-conditioned , which gives the most stable regression coefficients.
Language models. Table 3 lists model architectures and hyperparameters. Both model families follow their reference implementations (Team OLMo et al., [64]; Qwen Team, [57]); Qwen3.5 interleaves three gated DeltaNet layers per attention layer. All models use AdamW with and weight decay 0.1. The peak learning rate scales with the inverse cube root of the model parameter count (Porian et al., [55]). The schedule warms up linearly over the first 10% of steps, decays by cosine to 10% of the peak, and then linearly to zero over the final 10%.
| Model | Params | Layers | Heads | Hidden size | Batch | Tokens | Peak LR | |
| OLMo2 30M | 29.2M | 4 | 8 | 256 | 64 | 1B | 0.99 | |
| OLMo2 60M | 57.6M | 8 | 8 | 384 | 128 | 2B | 0.98 | |
| OLMo2 100M | 102.0M | 12 | 8 | 512 | 128 | 3.2B | 0.97 | |
| OLMo2 1B | 1.41B | 18 | 16 | 2048 | 512 | 32B | 0.95 | |
| Qwen3.5 100M | 104.5M | 9+3 | 4 | 576 | 128 | 3.2B | 0.97 | |
| Qwen3.5 1B | 1.33B | 12+4 | 16 | 2048 | 512 | 32B | 0.95 | |
| Qwen3.5 4B | 3.70B | 24+8 | 16 | 2560 | 1024 | 80B | 0.95 |
Table 3. Model architectures and training hyperparameters. Parameters include embeddings. Qwen3.5 layer counts list gated DeltaNet + full-attention layers. Batch gives sequences per step.
Evaluation. We use the LM Evaluation Harness (Gao et al., [23]) for a standardized evaluation. Proxy models are scored by BPB on the training split of each benchmark, and target models by accuracy and BPB on their held-out set (Table 4). Shots are drawn from the training split, except MBPP and MATH, which use their standard fixed prompts, and HumanEval BPB, which relies on three hand-written examples. For the two-benchmark targets, ARC (easy and challenge) and HS+PIQA, we fit a surrogate per benchmark, minimize the mean of their predictions, and report the mean of the two target model scores. For the 4B models, math and code benchmarks are scored using greedy decoding, with exact match for math and pass@1 for code. We draw two disjoint held-out sets from the Common Pile dataset (Kandpal et al., [32]): a 150k-sequence split on which we score the proxy models to fit the surrogates, and a 300k-sequence split reserved for scoring the target models.
| Benchmark | Proxy split (size) | Held-out set (size) | Shots | Target metric |
| ARC-Easy | train (2,251) | test (2,376) | 5 | normalized acc. |
| ARC-Challenge | train (1,119) | test (1,172) | 5 | normalized acc. |
| HellaSwag | train (39,905) | validation (10,042) | 5 | normalized acc. |
| PIQA | train (16,113) | validation (1,838) | 5 | normalized acc. |
| MBPP | train (374) | test (500) | 3 | pass@1 |
| GSM8K | train (7,473) | test (1,319) | 5 | exact match |
| HumanEval | — | test (164) | 0 | pass@1 |
| MATH | — | test (5,000) | 4 | exact match |
Table 4. Benchmark splits, sample sizes, and few-shot counts. Dashes mark benchmarks used only as held-out checks.
Additional Results
Figure 6 extends Figure 3 with measurements, and Figure 7 repeats it for the four targets of the 4B experiments at 40 domains, where vertex sampling reaches with every surrogate at , while the tuned Dirichlet swarm stays at on the three benchmarks and 0.80 on CPile. Figure 8 shows that the linear fit of the vertex swarm transfers across proxy scales. Figure 9 and Figure 10 visualize the interpretable domain weights of the optimized mixes at 24 and 288 domains and for the Common Pile loss at 40 domains.

Figure 7. Optimizer performance on the targets of the 4B experiments. Figure 6 for the 40-domain setup, where Qwen3.5 proxy models per sampler are fit to HellaSwag, MBPP, GSM8K, and the held-out Common Pile loss (CPile). Spearman correlation and are averaged across 5 random repetitions of 10-fold cross-validation.

Figure 10. Domain weights optimized for validation loss at 40 domains. Domain weights relative to the prior mix across data mixing methods for BPB on the Common Pile. The three LINMIX columns vary the utility transformation.
Tables 5 and 6 ablate the two optimization choices of LINMIX on the HellaSwag target. Table 5 tests our hypothesis that dividing the coefficients by their standard errors, which discounts uncertain domains, improves the mix. The gain is at most half a point of accuracy for both the vertex swarm and the tuned Dirichlet swarm with . Table 6 shows that the interpretable transformation of matters at 24 domains, where () concentrates the mix on four domains at their caps . This support is too narrow for the target budget of 32B tokens, which a larger budget would spread through lower caps, and or () spreads at the current one.
Theoretical Analysis
We formalize the domain attribution view of data mixing from first principles. Starting from linear datamodels, we show that the expected outcome of a proxy run is linear in its domain mix, with coefficients that average sample-level attribution scores (Proposition 2, Corollary 2), and that estimating them is a linear regression whose error is governed by the design (Lemma 1). Dirichlet sampling inflates this error as the concentration grows and keeps its mixes close to the prior, and also as the number of domains grows when the prior is more skewed than the temperature can flatten (Theorem 1). Vertex sampling is instead optimal on the simplex (Proposition 3) and, in expectation, on the simplex with equal caps (Theorem 2).
From datamodels to domain attribution
Datamodeling (Ilyas et al. [31]) attributes model outcomes to training data counterfactually, in a regime where many training runs on random subsets of the data are feasible. Fix a learning algorithm and a target input , e.g. a benchmark question, and let denote the loss on of a model trained on a subset of the corpus of sequences. A datamodel is fit to the pairs collected over runs , where indicates the sequences included in run . Empirically, a linear fit predicts the outcomes of held-out runs well and motivates the model
where collects the attribution scores, i.e., the marginal effect of including each sequence on the loss at , and is a noise term with zero mean given that captures the randomness of training. Follow-up work relies on this local linearity to relate attribution scores to model outcomes (Karchmer et al. [34]), and we adopt it as the assumption underlying this analysis. As all subsets considered below have the same size, an intercept can be absorbed into and is omitted.
Consider a proxy run on the mix that trains on sequences, of which are drawn uniformly without replacement from domain , independently across domains, where we assume that is an integer. Let its outcome be the benchmark loss, i.e., the average of over the set of benchmark inputs . Let denote the benchmark-averaged attribution scores, and let and denote their mean and variance over the sequences of domain . Proposition 2 formalizes the data attribution view of data mixing.
Proposition 2 (Datamodels coarsen to domain attribution). Under the datamodel of Eq. (6), the expected outcome of a proxy run is linear in its mix. Specifically, with ,
where bounds the variance of the benchmark-averaged noise given .
Proof. Linearity. For a fixed subset , averaging Eq. (6) over gives with and , because the same subset produces the loss at every and the average commutes with the inner product. Given , the subset contains sequences drawn uniformly without replacement from , so every is included with probability . By linearity of expectation,
Evaluating this identity at identifies as the expected outcome of a run on domain alone, which is feasible whenever .
Variance. By the law of total variance and , , where the second term is at most . The domains are sampled independently, and within domain the sum of over a simple random sample of out of sequences has variance by the finite population variance formula ([14]), where the fraction is read as zero for . Summing over bounds the first term by .
The linear model fit in Eq. (2) is a datamodel whose units are domains instead of sequences, with coefficients that are budget-scaled averages of sample-level attribution scores. The partition into domains is arbitrary, since the only assumption is uniform sampling within each domain, and it affects only the noise, which stems from the randomness of training and from which sequences realize the mix, which we call the noise from sequence selection. Domains that are homogeneous in attribution reduce the latter, but their coefficients take more proxy runs to estimate, as the estimation error grows with (Lemma 1); the finest partition recovers data attribution itself.
Corollary 2 (Domain attribution at the finest granularity is data attribution). Let every sequence form its own domain, , so that a run trained on a subset of sequences has the mix . Then , so the domain model of Proposition 2 reduces to the benchmark-averaged datamodel of Eq. (6): . The noise from sequence selection vanishes, leaving . Further, with the equal caps () that let no sequence repeat within a run, the greedy fill of Eq. (3) selects a uniformly random subset of sequences, so vertex sampling coincides with the subsampling design of Ilyas et al. [31] with fraction .
Proof. With for every , Proposition 2 applies with and , and forces . With caps , the greedy fill of Eq. (3) assigns to the first sequences of a uniformly random permutation, which form a uniformly random subset of size .
Domain attribution thus interpolates between data attribution at and a single undifferentiated corpus at , preserving the linear structure in between. Remark 1 relates domain attribution to the data values of cooperative game theory, such as the Shapley and Banzhaf values.
Remark 1 (Relation of domain attribution to Shapley and Banzhaf data values). Data valuation scores a sequence by a weighted average of its marginal contributions over subsets , with weights that define the Shapley value (Ghorbani and Zou, [24]), the Banzhaf value (Wang and Jia, [68]), or the weighted Banzhaf value (Li and Yu, [43]), which includes every other sequence in independently with probability . If the linear Datamodel of Eq. (6) holds with an intercept for subsets of every size, these values coincide with the attribution score , and by Proposition 2 the domain attribution is times the average value of the sequences in domain , up to an additive constant shared by all domains. Without the linear assumption, the slope coefficients of the affine least squares approximation of over all subsets are the Banzhaf values (Hammer and Holzman, [26]), and under independent inclusion with probability they are the weighted Banzhaf values with weight (Marichal and Mathonet, [48]). Vertex sampling with equal caps resembles independent inclusion with probability about , except that every run contains the same number of domains. For nonlinear outcomes, its least squares coefficients are therefore a fixed-size analogue of the weighted Banzhaf value. While a Banzhaf value captures the effect of adding a sequence to a random training set, differences between domain coefficients capture the effect of moving budget between domains at a fixed training size, which is the question that data mixing asks.
The design matrix governs the estimation error
By Proposition 2, the outcomes of proxy runs satisfy for a noise vector , and the attribution estimate is the least squares estimator of . We make the standard assumptions of linear regression, writing for the normalized information matrix, i.e., the Gram matrix of the mixes, whose inverse scales the covariance of .
Assumption 1. The noise is unbiased, , its covariance satisfies for constants , and the design has full column rank, .
Proposition 2 provides the first two conditions for independent proxy runs, where is admissible and, for homoscedastic noise , , while the third condition is a property of the design that we discuss below. The simplex is an affine hyperplane that avoids the origin, so mixes can span , with one direction for the overall outcome level and for contrasts between domains.
Lemma 1 (Estimation error of linear domain attribution). Under Assumption 1, is unbiased and its mean squared error satisfies
with equality in the first two when all runs share the same noise variance, .
Proof. This is the standard variance calculation for least squares. Substituting gives , which has zero conditional mean and expected squared norm . The semidefinite bounds on sandwich this trace between and times , with equality for . The last inequality holds as the eigenvalues of are at most .
The last inequality bounds the error by the smallest eigenvalue of , which is small when some combination of domains barely varies across the proxy runs, i.e., when the runs leave a direction of the simplex unexplored. In optimal experimental design ([38, 56]), minimizing the trace in Eq. (8), maximizing this eigenvalue, and maximizing are known as the A-, E-, and D-criteria. This eigenvalue is what the condition number controls: every mix sums to one, so and , hence and . Minimizing the condition number of , as in § 4.1, therefore controls the last bound of Eq. (8) up to the factor . The noise level and the number of domains are fixed by the data and its partition, so the number of runs and the design are the only two levers of a regression-based data mixing method. We next compare the designs of Dirichlet and vertex sampling on these quantities.
Pitfalls of Dirichlet sampling
Dirichlet sampling in Eq. (1) draws each mix as around the tempered prior , with a log-uniform concentration . We analyze it without the caps and the rounding of to integers, which keeps the moments in closed form, and start with the expected information matrix .
Lemma 2 (Information matrix of Dirichlet sampling). Under Eq. (1),
Consequently, and , where and denote the smallest and the second smallest entry of .
Proof. Second moment. For with , the moments for and read in matrix form as . With and , since ,
The two weights sum to one, so averaging over gives Eq. (9) with . For uniform on , substituting and using yields the closed form
Inverse. Let , which is positive definite as , so . The Sherman–Morrison formula (Sherman and Morrison, [60]) applied to the rank-one update
, together with and , gives
and taking the trace yields .
Spectrum. The lower bound follows from . For the upper bound, let index the two smallest entries of and pick a unit vector orthogonal to , which exists as orthogonality is a single linear constraint on a two-dimensional space. Then , and the Rayleigh principle gives .
By Lemma 2, averages two designs with weights and : single-domain runs at drawn with probability , and the tempered prior repeated in every run. These two terms lead to two pitfalls of Dirichlet sampling (Figure 11). (i) Under-dispersion: a large concentration keeps the mixes close to the tempered prior, so is small and the information in every direction orthogonal to shrinks by the factor . (ii) Tail starvation: even at , rare domains with a small share are seldom explored, so their attributions are estimated poorly and dominate the error, as in Lemma 2 grows with .

Figure 11. Two pitfalls of Dirichlet sampling. Order of the estimation error in Theorem 1 as a function of the Dirichlet concentration and the tempered tail exponent of the Zipfian prior. The concentration is fixed, so that , and the boundaries at and are schematic. For , the mixes cluster around the prior, and the error grows with . For , the rarest domains receive too little mass, and the error grows super-quadratically in .
To quantify the second pitfall, we model the prior mix as Zipfian ([83]), for domains ranked by size (Figure 12). Tempering preserves this form, as , so the tempered prior is with the flatter exponent and the truncated zeta function . Its rarest domain has the share , which shrinks as grows, so by Lemma 2, . To bound the error of a sampled design, which depends on rather than on , we use the following auxiliary results.

Figure 12. Prior data mixes are approximately Zipfian. Domain share against rank on log-log axes for the three setups, with least-squares fits of Zipf’s law in log-log coordinates. The 288-domain setup retains the larger half of the 576 topic–format pairs, which truncates its tail.
Lemma 3 (Jensen’s inequality for the inverse ([25]). Let be a random positive definite matrix with positive definite. Then for every vector , and in particular .
Proof. Expanding gives , whose expectation is ; summing over gives the trace inequality.
Lemma 4 (Matrix Chernoff bound, lower tail). Let be independent random positive semidefinite matrices with almost surely, and let
. Then, for every ,
Proof. The first inequality is Theorem 1.1 of Tropp [67]. The second one follows from for , which holds as both sides vanish at and the derivative of their difference, , is nonnegative.
Corollary 3 (Concentration of the information matrix). Let the rows of be independent with almost surely and a common expected information matrix , and let the noise satisfy the first two conditions of Assumption 1. For any , if , then with probability at least over the draw of ,
Proof. The summands of are independent and positive semidefinite with and , so Lemma 4 with and bounds the probability of by , using the assumed lower bound on . On the complementary event, , so has full column rank and the last bound of Eq. (8) gives the error bound.
Theorem 1 (Estimation error of Dirichlet sampling under a Zipfian prior). Let the rows of be drawn independently by Eq. (1) with a Zipfian prior of exponent , let the noise satisfy the first two conditions of Assumption 1, and let and be as above.
(i) For any , if , then with probability at least over the draw of ,
(ii) For any , in expectation over the draw of ,
For and homoscedastic noise, both bounds are within constant factors depending only on of , which for fixed grows as
Proof. Recall that and .
Part (i). Every mix satisfies , so Corollary 3 applies with . Its condition on is implied by the assumed one, as , and its error bound reads
Part (ii). For , the design has full column rank almost surely, because the Dirichlet distribution has a density on the simplex, which does not contain the origin, so any of its draws are almost surely linearly independent. Hence Eq. (8) applies almost surely, and Lemma 3 with and gives
using the trace formula of Lemma 2 with . The claim follows from .
Rate. Since , we have , so for the subtracted term satisfies
and the right-hand side of Eq. (12) is at least . Together with Eq. (11), both bounds are within the factors and of for .
Finally, comparing the sum with the integral of gives for , for , and for with the Riemann zeta function , which yields Eq. (13). □
Theorem 1 shows that, compared to the optimal error on the simplex (Proposition 3 below), under-dispersion increases the error of Dirichlet sampling by a factor of order , and tail starvation by a further factor when , i.e., when the prior is too skewed for the temperature to flatten (Figure 11). Both factors also appear in the lower bound of part (ii), so the two bounds match up to constants. For the uniform prior of Theorem 2, and only the factor remains. In our experiments, tail starvation is negligible: the Zipf fits in Figure 12 give at 24 domains and at 288 and 40 domains, so with all three setups lie in the regime . Under-dispersion, however, is forced by the caps. Without caps, a smaller concentration always helps, as it increases , and the range used at 24 domains gives . At 288 and 40 domains, small concentrations produce sparse mixes that violate the caps and are almost all rejected, so we tune the ranges with the criterion of § 4.1 to and , for which and . By Lemma 2 and the proof of part (ii), the expected error of the uncapped Dirichlet design is then at least , , and times the optimum for the empirical priors and ranges of our three setups. Part of this gap is unavoidable, as under equal caps every design on pays a factor of about (Theorem 2). Under the equal-cap approximation, Dirichlet sampling thus remains about 4 and 30 times worse than the best capped design at 288 and 40 domains. This matches Figure 3, where both samplers fit well at 24 domains but no surrogate fits the Dirichlet swarm at 288, and § 4.2, where near-prior Dirichlet mixes vary HellaSwag BPB five times less than vertex mixes.
On optimal sampling
Without caps, the vertices of the simplex are the pure-domain mixes , and the greedy fill of Eq. (3) places each run at a uniformly random vertex. Allocating exactly runs to each vertex gives the balanced vertex design, the classical optimal design for first-degree mixture models [59, 37]. We restate it because its error is the reference optimum in Appendix E.3 and Theorem 2 builds on its proof.
Proposition 3 (Classical optimality of the balanced vertex design on the simplex). Let be a multiple of , let Assumption 1 hold, and let be the balanced vertex design that places runs at each pure-domain mix . Then , each is the average outcome of the
runs on domain , and
with equality for homoscedastic noise. Among all designs with rows in , the balanced vertex design is, up to the order of the runs, the unique design that minimizes , maximizes , maximizes , and minimizes the worst-case prediction variance .
Proof. Balanced vertex design. Each row of is a standard basis vector, so counts the runs placed at if and vanishes otherwise, giving . Then averages the outcomes of the runs on each domain, and , so Eq. (14) and its equality case follow from Lemma 1.
Optimality. Let be any design with rows and positive definite with eigenvalues ; designs with a singular are never optimal, as all four quantities are then degenerate. The diagonal of sums to
with equality if and only if every row has a single nonzero entry, i.e., is a vertex. For the trace of the inverse, the Cauchy–Schwarz inequality and Eq. (15) give , with equality if and only if all eigenvalues are equal and , i.e., . For the determinant, the inequality of arithmetic and geometric means gives , with the same equality condition. For the smallest eigenvalue, , again with the same equality condition. For the worst-case prediction variance, is convex, so its maximum over the simplex is attained at a vertex, and , with equality if and only if has a constant diagonal and , which again forces . Finally, requires every row to be a vertex by the equality case of Eq. (15), and then with runs at forces , i.e., the balanced vertex design up to the order of its rows, which attains all four bounds.
Proposition 3 formalizes why vertex sampling works: measuring one domain at a time makes the estimates uncorrelated for independent runs, and measuring every domain equally often gives each the same variance, at most . The balanced vertex design is optimal under all classical criteria at once (A, D, E, and the worst-case prediction variance; [56]), which in general favor different designs, so the choice of criterion does not matter here. Since is chosen by optimizing the prediction over mixes, the last criterion matters most for data mixing: the prediction of every mix has variance at most , which no other design can improve in the worst case. In practice, the caps are smaller than one, so a run cannot train on a single domain, and LinMix samples the vertices of , each of which fills several domains up to their caps. Theorem 2 shows that the expected information matrix of vertex sampling is optimal on the capped simplex for a uniform prior.
Theorem 2 (Vertex sampling is optimal on the capped simplex with equal caps). Let the prior be uniform, so that all caps equal with an integer, and let the runs be drawn independently.
(i) The greedy fill of Eq. (3) places each run at the cap on a uniformly random subset of domains, and its expected information matrix has the eigenvalue along and the eigenvalue with multiplicity in its orthogonal complement, so that .
(ii) Every positive definite matrix in the convex hull of , which includes for every design with rows in and the expected information matrix of every
random such design, satisfies
with equality for , so that the expected design of vertex sampling minimizes and maximizes and over .
(iii) Under the noise conditions of Assumption 1, for any , if , then with probability at least over the draw of , and
Proof. Part (i). With equal caps , the greedy fill assigns the cap to the first domains of the permutation , which exhausts the budget as , and zero to the remaining domains. The first elements of a uniformly random permutation form a uniformly random -subset , so with and for . Hence
whose eigenvalue along is , and whose eigenvalue on the orthogonal complement is , using and . The trace of follows by summing the reciprocals with multiplicities and .
Part (ii). Let be positive definite with weights summing to one and . Two constraints hold for every such . First, every mix sums to one, so , i.e., the unit vector satisfies . Second, for , , with equality if and only if every , i.e., is a vertex, so . Let be an orthonormal basis of the orthogonal complement of , collected in , so that is orthogonal, and let be the lower-right block of . The two constraints give . For the smallest eigenvalue, restricting the Rayleigh quotient of to the range of gives .
For the determinant, Fischer’s inequality for the positive definite block matrix (Horn and Johnson, [30], Section 7.8) and the inequality of arithmetic and geometric means give . For the trace of the inverse, . For any unit vector , the Cauchy–Schwarz inequality gives . Applied to , this gives ; applied to each and combined with for positive , it gives . Finally, lies in the convex hull as an expectation, and by part (i) it has as an eigenvector with eigenvalue and , so all three bounds hold with equality.
Part (iii). Every vertex has , so Corollary 3 applies with and from part (i), for which its condition on and its error bound are exactly those claimed.
Theorem 2 extends Proposition 3 to the capped simplex: without caps, and part (ii) reduces to the bounds of the proposition. The caps force each run to spread over domains, so a run reveals only about as much about any single domain. This is why in part (i) exceeds the uncapped value by a factor of about , which is 4.5, 62, and 16 in our three setups if we treat their caps as equal. Vertex sampling is nevertheless optimal for two reasons. First, every mix sums to one, so all designs carry the same information about the overall outcome level ( along ) and differ only in the information about contrasts between domains. Vertices attain the largest norm on , so a design of vertices has the largest total information , which leaves vertex sampling the most information for these contrasts; mixes that are not vertices have a strictly smaller norm and are never optimal. Second, it spreads this information evenly across these contrasts, which is what the three quantities in Eq. (16) reward. § 3 calls the design near-orthogonal in expectation because the expected off-diagonal entries of are only times the diagonal ones. Part (iii) shows that a sampled design is nearly optimal once exceeds a multiple of : its estimation error is at most times the smallest value any design on can achieve under homoscedastic noise. This guarantee is conservative, as its constants come from the matrix Chernoff bound and its condition on exceeds the size of our swarms; in practice, we select the best-conditioned of many sampled designs (Appendix § 10), which controls the realized design directly but is not covered by the theorem. Pairing runs by reversed permutations, as in § 3, does not affect the theorem. The reverse of a uniform permutation is uniform, so stays the same, and for the two runs of a pair have disjoint supports, so part (iii) still holds with the independent pairs as summands, each with expectation and . We leave non-uniform priors with unequal caps to future work, as they break the symmetry that gives its closed form.
Limitations
A limitation shared by all regression-based methods is the cost of training a proxy swarm, which we quantify here by scaling proxy model size and budget. In practice, the cost-to-performance trade-off of data mixing becomes only more favorable as the target model size and pretraining budget increase. For example, pretraining a 4B model on 120B tokens for 2.5k GPU hours could be designed with a swarm of M models computed for 0.1k GPU hours (4% of the target cost; cf. Appendix § 14). Naturally, we train the target models using a single random repetition to enable more experimental setups. Our theory bounds the error of the estimated attribution , not the error of the predictions made with it. Moreover, the noise level in our bounds depends on how the corpus is split into domains, so the rate alone cannot tell how many domains to use. Finally, whether the optimal mix is dense in positively attributed domains depends on the target benchmark, corpus size, and pretraining token budget. We thus view the curvature that controls this as a useful utility trade-off, while the hyperparameter-free property of LINMIX applies to the design of proxy-mix sampling and regression model fitting.
Compute Resources
All models are trained on NVIDIA GH200 96GB GPUs without special optimizations beyond the default code implementations. Training one OLMo2 proxy model takes 0.2 GPU-hours for 30M parameters (1B tokens), 0.7 for 60M (2B), and 1.7 for 100M (3.2B). The Qwen3.5-like 100M proxy takes 2.6 GPU-hours on the same 3.2B tokens, 1.5 times as much as OLMo2, which we attribute to its hybrid attention with gated DeltaNet layers that add constant overhead independent of model size. Model evaluation adds further cost per proxy, depending on the benchmark and its sample size. The proxy swarms cost 0.7k GPU-hours at 30M (1024 models at 24 domains and 2048 at 288 domains), 1.4k at 60M (2048 models), 1.8k at 100M for OLMo2 (1024 models), and 2.7k at 100M for Qwen3.5 (1024 models). Pretraining a single 1B target model for 32B tokens takes 233 GPU-hours using 16 GPUs, so the 23 runs behind Table 1 and the 7 runs behind Table 5 and 6 amount to ca. 7.0k. The 1B Qwen3.5-like target model takes 272 GPU-hours on the same 32B tokens, so the four runs behind the CPile column of Table 2 amount to ca. 1.1k. One 4B target run (80B tokens) takes 1.7k GPU-hours using 32 GPUs, so the 10 runs behind Table 2 amount to ca. 17k. Together with model evaluations, the reported experiments cost ca. 34k GPU-hours; we estimate that the whole project consumed ca. 51k GPU-hours, including preliminary work and failed jobs.
References
- [1]Alon Albalak, Yanai Elazar, Sang Michael Xie, Shayne Longpre, Nathan Lambert, Xinyi Wang, Niklas Muennighoff, Bairu Hou, Liangming Pan, Haewon Jeong, Colin Raffel, Shiyu Chang, Tatsunori Hashimoto, and William Yang Wang. A survey on data selection for language models. Transactions on Machine Learning Research, 2024. (Cited on page 2.)arxiv.org/abs/2402.16827
- [2]Loubna Ben Allal, Anton Lozhkov, Elie Bakouch, Gabriel Martin Blazquez, Guilherme Penedo, Lewis Tunstall, Andrés Marafioti, Agustín Piquerez Lajarín, Hynek Kydlíček, Vaibhav Srivastav, Joshua Lochner, Caleb Fahlgren, Xuan Son NGUYEN, Ben Burtenshaw, Clémentine Fourrier, Haojun Zhao, Hugo Larchevêr, Mathieu Morlon, Cyril Zakka, Colin Raffel, Leandro Von Werra, and Thomas Wolf. SmolLM2: When smol goes big — data-centric training of a fully open small language model. In COLM, 2025. (Cited on pages 6 and 17.)DOI
- [3]Jacob Austin, Augustus Odena, Maxwell Nye, Maarten Bosma, Henryk Michalewski, David Dohan, Ellen Jiang, Carrie Cai, Michael Terry, Quoc Le, and Charles Sutton. Program synthesis with large language models. arXiv preprint arXiv:2108.07732, 2021. (Cited on page 6.)arxiv.org/abs/2108.07732
- [4]Tianyi Bai, Ling Yang, Zhen Hao Wong, Fupeng Sun, Xinlin Zhuang, Jiahui Peng, Chi Zhang, Lijun Wu, Qiu Jiantao, Wentao Zhang, Binhang Yuan, and Conghui He. Efficient pretraining data selection for language models via multi-actor collaboration. In ACL, 2025. (Cited on page 16.)arxiv.org/abs/2410.08102
- [5]Yonatan Bisk, Rowan Zellers, Ronan Le Bras, Jianfeng Gao, and Yejin Choi. PIQA: Reasoning about physical commonsense in natural language. In AAAI, 2020. (Cited on page 5.)arxiv.org/abs/1911.11641
- [6]Sidney Black, Stella Biderman, Eric Hallahan, Quentin Anthony, Leo Gao, Laurence Golding, Horace He, Connor Leahy, Kyle McDonell, Jason Phang, Michael Pieler, USVSN Sai Prashanth, Shivanshu Purohit, Laria Reynolds, Jonathan Tow, Ben Wang, and Samuel Weinbach. GPT-NeoX-20B: An open-source autoregressive language model. In ACL Workshop on Challenges & Perspectives in Creating Large Language Models, 2022. (Cited on page 17.)arxiv.org/abs/2204.06745
- [7]Stephen Boyd and Lieven Vandenberghe. Convex Optimization. Cambridge University Press, 2004. (Cited on pages 15 and 17.)
- [8]Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Ponde de Oliveira Pinto, Jared Kaplan, Harri Edwards, Yuri Burda, Nicholas Joseph, Greg Brockman, Alex Ray, Raul Puri, Gretchen Krueger, Michael Petrov, Heidy Khlaaf, Girish Sastry, Pamela Mishkin, Brooke Chan, Scott Gray, Nick Ryder, Mikhail Pavlov, Alethea Power, Lukasz Kaiser, Mohammad Bavarian, Clemens Winter, Philippe Tillet, Felipe Petroski Such, Dave Cummings, Matthias Plappert, Fotios Chantzis, Elizabeth Barnes, Ariel Herbert-Voss, William Hebgen Guss, Alex Nichol, Alex Paino, Nikolas Tezak, Jie Tang, Igor Babuschkin, Suchir Balaji, Shantanu Jain, William Saunders, Christopher Hesse, Andrew N. Carr, Jan Leike, Josh Achiam, Vedant Misra, Evan Morikawa, Alec Radford, Matthew Knight, Miles Brundage, Mira Murati, Katie Mayer, Peter Welinder, Bob McGrew, Dario Amodei, Sam McCandlish, Ilya Sutskever, and Wojciech Zaremba. Evaluating large language models trained on code. arXiv preprint arXiv:2107.03374, 2021. (Cited on page 6.)arxiv.org/abs/2107.03374
- [9]Mayee F. Chen, Tyler Murray, David Heineman, Matt Jordan, Hannaneh Hajishirzi, Christopher Ré, Luca Soldaini, and Kyle Lo. Omix: A framework for data mixing throughout LM development. In ICML, 2026. (Cited on pages 1, 2, 3, 4, and 15.)arxiv.org/abs/2602.12237
- [10]Shengzhuang Chen, Xu Ouyang, Michael Arthur Leopold Pearce, Thomas Hartvigsen, and Jonathan Richard Schwarz. ADMIRE-BayesOpt: Accelerated data MIxture RE-weighting for language models with bayesian optimization. Transactions on Machine Learning Research, 2025a. (Cited on page 15.)arxiv.org/abs/2508.11551
- [11]Zhengyu Chen, Siqi Wang, Teng Xiao, Yudong Wang, Shiqi Chen, Xunliang Cai, Junxian He, and Jingang Wang. Revisiting scaling laws for language models: The role of data quality and training strategies. In ACL, 2025b. (Cited on page 4.)DOI
- [12]Peter Clark, Isaac Cowhey, Oren Etzioni, Tushar Khot, Ashish Sabharwal, Carissa Schoenick, and Oyvind Tafjord. Think you have solved question answering? Try ARC, the AI2 reasoning challenge. arXiv preprint arXiv:1803.05457, 2018. (Cited on page 5.)
- [13]Karl Cobbe, Vineet Kosaraju, Mohammad Bavarian, Mark Chen, Heewoo Jun, Lukasz Kaiser, Matthias Plappert, Jerry Tworek, Jacob Hilton, Reiichiro Nakano, Christopher Hesse, and John Schulman. Training verifiers to solve math word problems. arXiv preprint arXiv:2110.14168, 2021. (Cited on page 6.)arxiv.org/abs/2110.14168
- [14]William G. Cochran. Sampling Techniques. John Wiley & Sons, 3rd edition, 1977. (Cited on page 22.)
- [15]Shizhe Diao, Yu Yang, Yonggan Fu, Xin Dong, Dan SU, Markus Kliegl, Zijia Chen, Peter Belcak, Yoshi Suhara, Hongxu Yin, Mostofa Patwary, Yingyan (Celine) Lin, Jan Kautz, and Pavlo Molchanov. Nemotron-CLIMB: Clustering-based iterative data mixture bootstrapping for language model pre-training. In NeurIPS, 2025. (Cited on pages 1 and 15.)arxiv.org/abs/2504.13161
- [16]Logan Engstrom, Axel Feldmann, and Aleksander Madry. Dsdm: Model-aware dataset selection with datamodels. ICML, 2024. (Cited on page 16.)arxiv.org/abs/2401.12926
- [17]Simin Fan, Matteo Pagliardini, and Martin Jaggi. DOGE: Domain reweighting with generalization estimation. In ICML, 2024. (Cited on pages 1, 2, and 15.)arxiv.org/abs/2310.15393
- [18]Ziqing Fan, Yuqiao Xian, Yan Sun, Ke Shen, and Li Shen. Joint selection for large-scale pre-training data via policy gradient-based mask learning. In ICLR, 2026. (Cited on page 16.)arxiv.org/abs/2512.24265
- [19]Vitaly Feldman and Chiyuan Zhang. What neural networks memorize and why: Discovering the long tail via influence estimation. NeurIPS, 2020. (Cited on page 16.)arxiv.org/abs/2008.03703
- [20]Fabian Fumagalli, Landon Butler, Justin Singh Kang, Kannan Ramchandran, and R. Teal Witter. An odd estimator for Shapley values. In ICML, 2026. (Cited on page 15.)arxiv.org/abs/2602.01399
- [21]Samir Yitzhak Gadre, Gabriel Ilharco, Alex Fang, Jonathan Hayase, Georgios Smyrnis, Thao Nguyen, Ryan Marten, Mitchell Wortsman, Dhruba Ghosh, Jieyu Zhang, Eyal Orgad, Rahim Entezari, Giannis Daras, Sarah M Pratt, Vivek Ramanujan, Yonatan Bitton, Kalyani Marathe, Stephen Mussmann, Richard Vencu, Mehdi Cherti, Ranjay Krishna, Pang Wei Koh, Olga Saukh, Alexander Ratner, Shuran Song, Hannanah Hajishirzi, Ali Farhadi, Romain Beaumont, Sewoong Oh, Alex Dimakis, Jenia Jitsev, Yair Carmon, Vaishaal Shankar, and Ludwig Schmidt. DataComp: In search of the next generation of multimodal datasets. In NeurIPS, 2023. (Cited on pages 1 and 16.)arxiv.org/abs/2304.14108
- [22]Leo Gao, Stella Biderman, Sid Black, Laurence Golding, Travis Hoppe, Charles Foster, Jason Phang, Horace He, Anish Thite, Noa Nabeshima, Shawn Presser, and Connor Leahy. The Pile: An 800GB dataset of diverse text for language modeling. arXiv preprint arXiv:2101.00027, 2021. (Cited on page 5.)arxiv.org/abs/2101.00027
- [23]Leo Gao, Jonathan Tow, Baber Abbasi, Stella Biderman, Sid Black, Anthony DiPofi, Charles Foster, Laurence Golding, Jeffrey Hsu, Alain Le Noac’h, Haonan Li, Kyle McDonnell, Niklas Muennighoff, Chris Ociepa, Jason Phang, Laria Reynolds, Hailey Schoelkopf, Aviya Skowron, Lintang Sutawika, Eric Tang, Anish Thite, Ben Wang, Kevin Wang, and Andy Zou. The language model evaluation harness, 2024. URL https://github.com/EleutherAI/lm-evaluation-harness. (Cited on page 18.)
- [24]Amirata Ghorbani and James Y. Zou. Data Shapley: Equitable valuation of data for machine learning. ICML, 2019. (Cited on pages 2, 15, and 23.)arxiv.org/abs/1904.02868
- [25]Theodore Groves and Thomas Rothenberg. A note on the expected value of an inverse matrix. Biometrika, 56(3):690–691, 1969. (Cited on page 25.)DOI
- [26]Peter L. Hammer and Ron Holzman. Approximations of pseudo-Boolean functions; applications to game theory. ZOR – Methods and Models of Operations Research, 36(1):3–21, 1992. (Cited on page 23.)DOI
- [27]John M. Hammersley and Keith W. Morton. A new Monte Carlo technique: Antithetic variates. Mathematical Proceedings of the Cambridge Philosophical Society, 52(3):449–475, 1956. (Cited on page 15.)DOI
- [28]Dan Hendrycks, Collin Burns, Saurav Kadavath, Akul Arora, Steven Basart, Eric Tang, Dawn Song, and Jacob Steinhardt. Measuring mathematical problem solving with the MATH dataset. In NeurIPS, 2021. (Cited on page 6.)
- [29]Jordan Hoffmann, Sebastian Borgeaud, Arthur Mensch, Elena Buchatskaya, Trevor Cai, Eliza Rutherford, Diego de las Casas, Lisa Anne Hendricks, Johannes Welbl, Aidan Clark, Tom Hennigan, Eric Noland, Katherine Millican, George van den Driessche, Bogdan Damoc, Aurelia Guy, Simon Osindero, Karen Simonyan, Erich Elsen, Oriol Vinyals, Jack William Rae, and Laurent Sifre. An empirical analysis of compute-optimal large language model training. In NeurIPS, 2022. (Cited on page 4.)
- [30]Roger A. Horn and Charles R. Johnson. Matrix Analysis. Cambridge University Press, 2nd edition, 2013. (Cited on page 29.)
- [31]Andrew Ilyas, Sung Min Park, Logan Engstrom, Guillaume Leclerc, and Aleksander Madry. Data-models: Understanding predictions with data and data with predictions. ICML, 2022. (Cited on pages 2, 6, 16, 22, and 23.)
- [32]Nikhil Kandpal, Brian Lester, Colin Raffel, Sebastian Majorovits, Stella Biderman, Baber Abbasi, Luca Soldaini, Enrico Shippole, A. Feder Cooper, Aviya Skowron, Shayne Longpre, Lintang Sutawika, Alon Albalak, Zhenlin Xu, Guilherme Penedo, Loubna Ben allal, Elie Bakouch, John David Pressman, Honglu Fan, Dashiell Stan der, Guangyu Song, Aaron Gokaslan, John Kirchenbauer, Tom Goldstein, Brian R. Bartoldson, Bhavya Kailkhura, and Tyler Murray. The Common Pile v0.1: An 8TB dataset of public domain and openly licensed text. In NeurIPS, 2025. (Cited on pages 5 and 18.)arxiv.org/abs/2506.05209
- [33]Feiyang Kang, Yifan Sun, Bingbing Wen, Si Chen, Dawn Song, Rafid Mahmood, and Ruoxi Jia. AutoScale: Scale-aware data mixing for pre-training LLMs. In COLM, 2025. (Cited on page 15.)arxiv.org/abs/2407.20177
- [34]Ari Karchmer, Martin Pawelczyk, and Seth Neel. Efficiently verifiable proofs of data attribution. NeurIPS, 2025. (Cited on page 22.)
- [35]Rabeeh Karimi Mahabadi, Sanjeev Satheesh, Shrimai Prabhumoye, Mostofa Patwary, Mohammad Shoeybi, and Bryan Catanzaro. Nemotron-CC-Math: A 133 billion-token-scale high quality math pretraining dataset. In ICLR, 2026. (Cited on pages 6 and 17.)
- [36]Alaa Khadraj, Logan Engstrom, and Aleksander Madry. Small-to-large generalization: Training data influences models consistently across scale. In ICLR, 2025. (Cited on page 16.)
- [37]Jack Kiefer. Optimum designs in regression problems, II. The Annals of Mathematical Statistics, 32 (1):298–325, 1961. (Cited on pages 15 and 27.)
- [38]Jack Kiefer and Jacob Wolfowitz. Optimum designs in regression problems. The Annals of Mathematical Statistics, 30(2):271–294, 1959. (Cited on pages 2, 3, 15, and 24.)
- [39]Jack Kiefer and Jacob Wolfowitz. The equivalence of two extremum problems. Canadian Journal of Mathematics, 12:363–366, 1960. (Cited on page 15.)
- [40]Pang Wei Koh and Percy Liang. Understanding black-box predictions via influence functions. In ICML, 2017. (Cited on page 2.)arxiv.org/abs/1703.04730
- [41]Aitor Lewkowycz, Anders Andreassen, David Dohan, Ethan Dyer, Henryk Michalewski, Vinay Ramasesh, Ambrose Slone, Cem Anil, Imanol Schlag, Theo Gutman-Solo, Yuhuai Wu, Behnam Neyshabur, Guy Gur-Ari, and Vedant Misra. Solving quantitative reasoning problems with language models. NeurIPS, 2022. (Cited on page 6.)
- [42]Jeffrey Li, Alex Fang, Georgios Smyrnis, Maor Ivgi, Matt Jordan, Samir Yitzhak Gadre, Hritik Bansal, Etash Kumar Guha, Sedrick Keh, Kushal Arora, Saurabh Garg, Rui Xin, Niklas Muennighoff, Reinhard Heckel, Jean Mercat, Mayee F Chen, Suchin Gururangan, Mitchell Wortsman, Alon Albalak, Yonatan Bitton, Marianna Nezhurina, Amro Kamal Mohamed Abbas, Cheng-Yu Hsieh, Dhruba Ghosh, Joshua P Gardner, Maciej Kilian, Hanlin Zhang, Rulin Shao, Sarah M Pratt, Sunny Sanyal, Gabriel Ilharco, Giannis Daras, Kalyani Marathe, Aaron Gokaslan, Jieyu Zhang, Khyathi Chandu, Thao Nguyen, Igor Vasiljevic, Sham M. Kakade, Shuran Song, Sujay Sanghavi, Fartash Faghri, Sewoong Oh, Luke Zettlemoyer, Kyle Lo, Alaaeldin El-Nouby, Hadi Pouransari, Alexander T Toshev, Stephanie Wang, Dirk Groeneveld, Luca Soldaini, Pang Wei Koh, Jenia Jitsev, Thomas Kollar, Alex Dimakis, Yair Carmon, Achal Dave, Ludwig Schmidt, and Vaishaal Shankar. Datacomp-LM: In search of the next generation of training sets for language models. In NeurIPS, 2024. (Cited on pages 1 and 16.)arxiv.org/abs/2406.11794
- [43]Weida Li and Yaoliang Yu. Robust data valuation with weighted Banzhaf values. In NeurIPS, 2023. (Cited on pages 16 and 23.)DOI
- [44]Zeman Li, Yuan Deng, Peilin Zhong, Meisam Razaviyayn, and Vahab Mirrokni. PiKE: Adaptive data mixing for large-scale multi-task learning under low gradient conflicts. In NeurIPS, 2025. (Cited on page 15.)arxiv.org/abs/2502.06244
- [45]Zhenqing Ling, Daoyuan Chen, Liuyi Yao, Qianli Shen, Yaliang Li, and Ying Shen. Diversity as a reward: Fine-tuning LLMs on a mixture of domain-undetermined data. In NeurIPS, 2025. (Cited on page 16.)
- [46]Qian Liu, Xiaosen Zheng, Niklas Muennighoff, Guangtao Zeng, Longxu Dou, Tianyu Pang, Jing Jiang, and Min Lin. RegMix: Data mixture as regression for language model pre-training. In ICLR, 2025. (Cited on pages 1, 2, 3, 4, and 15.)arxiv.org/abs/2407.01492
- [47]Yajiao Liu, Congliang Chen, Junchi Yang, and Ruoyu Sun. Rethinking data mixture for large language models: A comprehensive survey and new perspectives. In Findings of EACL, March 2026. (Cited on page 15.)
- [48]Jean-Luc Marichal and Pierre Mathonet. Weighted Banzhaf power and interaction indexes through weighted approximations of games. European Journal of Operational Research, 211(2):352–358, 2011. (Cited on page 23.)DOI
- [49]Robert A. McLean and Virgil L. Anderson. Extreme vertices design of mixture experiments. Technometrics, 8(3):447–454, 1966. (Cited on page 15.)
- [50]Jeonghoon Mo and Jean Walrand. Fair end-to-end window-based congestion control. IEEE/ACM Transactions on Networking, 8(5):556–567, 2000. (Cited on page 15.)
- [51]Hyeonseok Moon, Jaehyung Seo, Seonmin Koo, Jinsung Kim, Young-kyoung Ham, Jiwon Moon, and Hee-seok Lim. LimaCost: Data valuation for instruction tuning of large language models. In Findings of EMNLP, 2025. (Cited on page 16.)DOI
- [52]Niklas Muennighoff, Alexander M. Rush, Boaz Barak, Teven Le Scao, Aleksandra Piktus, Nouamane Tazi, Sampo Pyysalo, Thomas Wolf, and Colin Raffel. Scaling data-constrained language models. Journal of Machine Learning Research, 26:53:1–53:66, 2025. (Cited on page 3.)
- [53]Christopher Musco and R. Teal Witter. Provably accurate Shapley value estimation via leverage score sampling. In International Conference on Learning Representations (ICLR), 2025. (Cited on page 15.)arxiv.org/abs/2410.01917
- [54]Sung Min Park, Kristian Georgiev, Andrew Ilyas, Guillaume Leclerc, and Aleksander Madry. TRAK: Attributing model behavior at scale. In ICML, 2023. (Cited on page 16.)arxiv.org/abs/2303.14186
- [55]Tomer Porian, Mitchell Wortsman, Jenia Jitsev, Ludwig Schmidt, and Yair Carmon. Resolving discrepancies in compute-optimal scaling of language models. In NeurIPS, 2024. (Cited on page 18.)arxiv.org/abs/2406.19146
- [56]Friedrich Pukelsheim. Optimal Design of Experiments. SIAM, 2006. (Cited on pages 24 and 28.)
- [57]Qwen Team. Qwen3.5: Towards native multimodal agents, February 2026. URL https://qwen.ai/blog?id=qwen3.5. (Cited on pages 6 and 17.)
- [58]Nikunj Saunshi, Arushi Gupta, Mark Braverman, and Sanjeev Arora. Understanding influence functions and datamodels via harmonic analysis. ICLR, 2023. (Cited on page 16.)arxiv.org/abs/2210.01072
- [59]Henry Scheffé. Experiments with mixtures. Journal of the Royal Statistical Society: Series B (Methodological), 20(2):344–360, 1958. (Cited on pages 15 and 27.)
- [60]Jack Sherman and Winifred J. Morrison. Adjustment of an inverse matrix corresponding to a change in one element of a given matrix. The Annals of Mathematical Statistics, 21(1):124–127, 1950. (Cited on page 24.)
- [62]Haoru Tan, Sitong Wu, Yanfeng Chen, Jun Xia, Ruobing Xie, Bin Xia, Xingwu Sun, and Xiaojun Qi. Fast data mixture optimization via gradient descent. In ICLR, 2026. (Cited on pages 1 and 15.)arxiv.org/abs/2606.14971
- [64]Team OLMo, Pete Walsh, Luca Soldaini, Dirk Groeneveld, Kyle Lo, Shane Arora, Akshita Bhagia, Yuling Guo, Shengyi Huang, Matt Jordan, Nathan Lambert, Dustin Schwenk, Oyvind Tafjord, Taira Anderson, David Atkinson, Faeze Brahman, Christopher Clark, Pradeep Dasigi, Nouha Dziri, Allyson Ettinger, Michal Guẹrquin, David Heineman, Hamish Ivison, Pang Wei Koh, Jiacheng Liu, Saumya Malik, William Merrill, Lester James V. Miranda, Jacob Morrison, Tyler Murray, Crystal Nam, Jake Poznanski, Valentina Pyatkin, Aman Rangapur, Michael Schmitz, Sam Skjonsberg, David Wadden, Christopher Wilhelm, Michael Wilson, Luke Zettlemoyer, Ali Farhadi, Noah A. Smith, and Hannaneh Hajishirzi. 2 OLMo 2 furious (COLM’s version). In COLM, 2025. (Cited on pages 4 and 17.)
- [65]Tristan Thrush, Christopher Potts, and Tatsunori Hashimoto. Improving pretraining data using perplexity correlations. In ICLR, 2025. (Cited on page 15.)arxiv.org/abs/2409.05816
- [66]Anvith Thudi, Evianne Rovers, Yangjun Ruan, Tristan Thrush, and Chris J. Maddison. MixMin: Finding data mixtures via convex minimization. In ICML, 2025. (Cited on pages 1 and 15.)arxiv.org/abs/2502.10510
- [67]Joel A. Tropp. User-friendly tail bounds for sums of random matrices. Foundations of Computational Mathematics, 12(4):389–434, 2012. (Cited on page 26.)
- [68]Jiachen T. Wang and Ruoxi Jia. Data Banzhaf: A robust data valuation framework for machine learning. AISTATS, 2023. (Cited on pages 16 and 23.)arxiv.org/abs/2205.15466
- [69]Jiachen T. Wang, Prateek Mittal, Dawn Song, and Ruoxi Jia. Data Shapley in one training run. In ICLR, 2025. (Cited on page 16.)arxiv.org/abs/2406.11011
- [70]Jiachen T. Wang, Tong Wu, Kaifeng Lyu, James Zou, Dawn Song, Ruoxi Jia, and Prateek Mittal. Can small training runs reliably guide data curation? rethinking proxy-model practice. In ICLR, 2026a. (Cited on page 16.)arxiv.org/abs/2512.24503
- [71]Shaobo Wang, Xuan Ouyang, Tianyi Xu, Yuzheng Hu, Jialin Liu, Guo Chen, Tianyu Zhang, Junhao Zheng, Kexin Yang, Xingzhang Ren, Dayiheng Liu, and Linfeng Zhang. OPUS: Towards efficient and principled data selection in large language model pre-training in every iteration. In ICML, 2026b. (Cited on page 16.)
- [72]Bingbing Wen, Sirajul Salekin, Feiyang Kang, Bill Howe, Lucy Lu Wang, Javier Movellan, and Manjot Bikkhu. MixAtlas: Uncertainty-aware data mixture for multimodal LLM midtraining. In ICLR Workshop on Navigating and Addressing Data Problems for Foundation Models, 2026. (Cited on page 15.)arxiv.org/abs/2604.14198
- [73]Alexander Wettig, Kyle Lo, Sewon Min, Hannaneh Hajishirzi, Danqi Chen, and Luca Soldaini. Organize the Web: Constructing domains enhances pre-training data curation. In ICML, 2025. (Cited on pages 1, 3, 4, 15, and 17.)arxiv.org/abs/2502.10341
- [74]Inho Won, Hangyeol Yoo, Mink yung Cho, Jungyeul Park, Hoyun Song, and KyungTae Lim. TREX: Tokenizer regression for optimal data mixture. In EACL, 2026. (Cited on page 15.)
- [75]Sang Michael Xie, Hieu Pham, Xuanyi Dong, Nan Du, Hanxiao Liu, Yifeng Lu, Percy S Liang, Quoc V Le, Tengyu Ma, and Adams Wei Yu. DoReMi: Optimizing data mixtures speeds up language model pretraining. In NeurIPS, 2023. (Cited on pages 1, 2, and 15.)arxiv.org/abs/2305.10429
- [76]Wanyun Xie, Francesco Tonin, and Volkan Ceyher. Chameleon: A flexible data-mixing framework for language model pretraining and finetuning. In ICML, 2025. (Cited on pages 1 and 15.)arxiv.org/abs/2505.24844
- [77]Jiasheng Ye, Peiju Liu, Tianxiang Sun, Jun Zhan, Yunhua Zhou, and Xipeng Qiu. Data Mixing Laws: Optimizing data mixtures by predicting language modeling performance. In ICLR, 2025. (Cited on pages 1, 3, and 15.)arxiv.org/abs/2403.16952
- [78]Thomson Yen, Andrew Siah, Haozhe Chen, C. Daniel Guetta, Tianyi Peng, and Hongseok Namkoong. Data Mixture Optimization: A multi-fidelity multi-scale bayesian framework. In NeurIPS, 2025. (Cited on page 15.)arxiv.org/abs/2503.21023
- [79]Yang Yu, Kai Han, Hang Zhou, Yehui Tang, Kaiqi Huang, Yunhe Wang, and Dacheng Tao. LLM data selection and utilization via dynamic bi-level optimization. In ICML, 2025a. (Cited on page 16.)arxiv.org/abs/2507.16178
- [80]Zichun Yu, Fei Peng, Jie Lei, Arnold Overwijk, Scott Yih, and Chenyan Xiong. Group-level data selection for efficient pretraining. In NeurIPS, 2025b. (Cited on page 16.)arxiv.org/abs/2502.14709
- [81]Rowan Zellers, Ari Holtzman, Yonatan Bisk, Ali Farhadi, and Yejin Choi. HellaSwag: Can a machine really finish your sentence? In ACL, 2019. (Cited on page 5.)arxiv.org/abs/1905.07830
- [82]Xinlin Zhuang, Jiahui Peng, Ren Ma, Yinfan Wang, Tianyi Bai, Xingjian Wei, Qiu Jiantao, Chi Zhang, Ying Qian, and Conghui He. Meta-rater: A multi-dimensional data selection method for pre-training language models. In ACL, 2025. (Cited on page 16.)
- [83]George Kingsley Zipf. Human Behavior and the Principle of Least Effort. Addison-Wesley, 1949. (Cited on page 25.)