Manuscript Offprint
arXiv:2610.36983Advancement or Acceleration? How Data Curation Improves LLM Training
ABSTRACT
While data curation is widely credited with improving large language model training, a basic question remains unresolved: does curation expand what a model can ultimately learn, or merely reach the same solution faster? In this paper, we formalize this distinction between advancement (improving the attainable performance) and acceleration (reaching the same performance with less data). Through an analytic characterization and real-world LLM experiments, we show that advancement requires a correctable train–target gap. When the baseline training and target objectives coincide, no curation policy improves the endpoint, although curation may still accelerate training. This reframes advancement as a property of the curation task rather than the curation method. Under a common gap-centric view of data mixture and selection, we operationalize this condition as the -test, an observable discrepancy between the uncurated baseline's training and target losses that is computable prior to expensive curation. Across extensive experiments, an appreciably nonzero predicts persistent gains, whereas gains near tend to diminish as the training budget grows. Beyond individual methods, our findings recenter data curation on the task itself and point to target-set construction as a promising direction for shaping what curation can achieve.
1 INTRODUCTION
In recent years, as the cost-effectiveness of pure scaling declines, how well we use the data is drawing increasing attention. As a primary approach to this, data curation takes two main forms: data mixture, which balances the proportions of domain-specific data in training sets to ensure intended capabilities (Xie et al., 2023; Fan et al., 2024; Chen et al., 2025; Liu et al., 2025), and data selection, which chooses informative training examples that best improve performance (Li et al., 2024; Liu et al., 2024; Lin et al., 2024; Yu et al., 2024b). Remarkable gains have been reported, and pruning data has even been argued to beat the power-law scaling (Sorscher et al., 2022). These results suggest that data curation is a promising direction for improving models, or so it would seem.
Nevertheless, when compared carefully, the advantage of data curation sometimes becomes surprisingly fragile. Chen et al. (2025) shows that optimized mixtures do not always outperform the uniform allocation, while elaborate selection rules at scale may barely exceed, and at times underperform, random sampling (Xia et al., 2024). These observations appear contradictory because performance at a fixed training budget conflates two effects. Curation may improve the best solution the model can attain, or it may merely reduce the data needed to reach the same solution. We call the former advancement and the latter acceleration, leading to our central question: Does data curation improve the attainable optimum, or only reach the same performance faster?
We take a gap-centric account of this question, and demonstrate that a property of the task governs advancement: the train–target gap between the distribution induced by the uncurated baseline and the target we evaluate on. Data curation can advance a model only when such a gap exists and can
Equal Contribution.
be corrected. Without one, no allocation improves on the attainable performance, though curation may still accelerate learning. To understand this mechanism, we derive an analytic characterization in a simplified but instructive setting: perceptron learning in the teacher–student framework, where the performance of the converged model on the target under any allocation is determined by a closed system of self-consistent equations.
Our theoretical analysis reveals that a single principle governs both data mixture and selection: curation yields true advancement only when it corrects a genuine train–target mismatch. Without this underlying mismatch, techniques that prioritize informative examples or rebalance domains merely accelerate learning, with their advantages vanishing as sample budget grows. Because the existence of advancement is ultimately a property of the task rather than the curation algorithm, it can be diagnosed in advance. We introduce the -test, a discrepancy between target and baseline-training losses, as a lightweight diagnostic of advancement potential. Crucially, it is computable from a single baseline run before committing any compute to data curation.
We validate this theoretical account on real LLM training across data mixture and selection settings. The empirical results confirm our predictions: persistent gains at the largest tested budgets emerge only when a correctable gap is present. Conversely, in regimes where , the benefits of curation tend to diminish with additional training, reflecting mere acceleration. This cleanly explains recent contradictory findings—such as the surprising competitiveness of uniform mixtures (Chen et al., 2025) and random selection (Xia et al., 2024)—as their empirical settings happen to lie in near-zero-gap regimes. Our findings therefore suggest that advancement potential should be diagnosed before committing to increasingly complex allocation methods. More broadly, they point to target design as an important but underexplored complement to curation for future research since it shapes the train–target gap that curation can correct, dictating the improvement it can ultimately aim for.
Our contributions are threefold:
• We distinguish two fundamental effects of data curation—advancement, which improves the attainable performance, and acceleration, which reaches the same performance faster. We show that advancement requires a correctable train–target gap.
• We propose the -test, a lightweight diagnostic of advancement potential. Crucially, this indicator can be computed from a single baseline run, before committing to expensive curation.
• We validate our account on LLM training across data mixture and selection, confirming the theoretical predictions and unifying previously conflicting empirical findings under a single gap-dependent picture.
• Data mixture ( ): domain contributes a fraction of the sampled training data.
• Data selection ( , ): A per-example keep decision retaining a subset of size from total examples.
We assess by its performance on the target, which is the distribution we care about at test time. For mixture the target is typically a domain composition over the target sets . Unlike the allocation , is fixed by the task itself, reflecting how much each domain matters at test time, rather than chosen by curation. For selection, the target is simply the held-out distribution, with no domain-level composition to specify.
What Should Curation Beat? To evaluate a curation choice, we must compare it against an uncurated baseline that performs no re-allocation. For mixture this is typically uniform allocation . For selection, it is the full retention and . Despite a fast-growing arsenal of curation methods (DoGE (Fan et al., 2024), TANDEM (Wang et al., 2025), RHO-1 (Lin et al., 2024), BLADE (Wang et al., 2026), among others), these simple baselines remain stubbornly hard to beat in some cases.
3 AN ANALYTIC THEORY OF DATA CURATION
To understand why these baselines are so hard to beat, we recognize that a curation choice can have two different effects: advancement, yielding a genuinely better attainable model, or acceleration, reaching the same performance faster. Distinguishing them requires knowing how the learned model behaves under a certain allocation, and how this behavior changes as the sample budget grows. We make this precise with an analytic characterization based on statistical-mechanics, and show that advancement requires a correctable train–target gap. Otherwise, curation can only accelerate.
3.1 THE TEACHER–STUDENT CURATION MODEL
We model data curation using the perceptron in a teacher–student setting (Engel & den Broeck, 2022). In the high-dimensional limit with a data budget , the student attains a target generalization performance . Tracking across allows us to separate advancement from acceleration. For any is characterized analytically via the replica method (Loureiro et al., 2021; Sorscher et al., 2022), yielding self-consistent equations that we solve numerically (derivations deferred to Appendix A.1 and A.2).
Specifically, Domain provides training data , where and labels are generated by a domain teacher . We instantiate the two curation paradigms as follows:
• Data mixture: Without loss of generality, we consider two domains and let the policy allocate the budget by sampling examples from domain . The target performance is the weighted loss under a fixed domain composition . The train–target gap is directly governed by the mismatch between and .
• Data selection: This setting considers , we evaluate generalization along a distinct target teacher at an angle from the training teacher . This angle defines the train–target gap. From a candidate pool, a target-aware selection rule retains a fraction of the samples based on a margin criterion along , while preferentially filtering out examples whose training labels conflict with . This rule serves as a controlled gap-correcting policy: testing it at and isolates the benefit of gap correction from mere target awareness. The selected data yields a student with target error , where is the student–target overlap.
3.2 ADVANCEMENT AND ACCELERATION
traces target performance across data budgets , revealing two distinct effects of curation: changing the endpoint, i.e., the best attainable performance, or accelerating the approach, i.e., reducing the budget required to reach a given performance level. We refer to these effects as advancement and acceleration, respectively.
Definition 1 (Advancement and acceleration). Let denote the limiting target performance. An allocation provides advancement if it improves the endpoint, . For a performance level attainable by both allocations, let be the budget at which first reaches . The allocation provides acceleration at if it reaches this level with fewer examples, .
These effects are not mutually exclusive, but they differ in persistence: advancement persists as the budget grows, whereas acceleration yields transient gains that eventually vanish. The analytical characterization of these population endpoints are given in Appendix A.1 and Appendix A.2 for mixture and selection, respectively.
Following the statistical-mechanics convention J denotes the student parameters and corresponds to the general model parameter vector used above.
(a) Mixture Setup

(b) Mixture: Acceleration
(d) Selection Setup
(c) Mixture: Advancement
(e) Selection without Gap (Acceleration)
(f) Selection with Gap (Advancement)
Figure 1: An analytic account of data curation. Theory (solid lines) closely matches perceptron simulations (circles). Top row—mixture. (a) The setup. Two-domain training and target mixtures with compositions and . (b) Acceleration. Tilting the training mixture toward the harder domain ( ) lowers target loss at small budgets, but the gain vanishes as grows. (c) Advancement. At a large budget ( ), each target loss vs. mixture curve is minimized by target matching, . Appendix A.1 shows that this holds as . Bottom row—selection. (d) The setup. A selection policy favors examples near the target boundary and filters those whose labels conflict with the target. (e) Acceleration. At zero gap ( ), moderate selection preserves accuracy, but never exceeds full retention ( ). Aggressive selection degrades performance. (f) Advancement. With , target accuracy initially rises as decreases: improved train–target alignment outweighs the reduction in sample size. Reaches an interior optimum , and the gain increases with . Appendix A.2 shows that an interior selection policy remains better than full retention as .
When is advancement possible? The distinction above raises a structural question: when can curation improve the attainable target performance, rather than merely reduce the data budget needed to reach a given performance level? A necessary condition is a correctable train–target gap—a mismatch between the training distribution induced by the baseline, , and the target distribution that some feasible policy can reduce. Without such a mismatch, curation has nothing to correct and can at most accelerate. A correctable gap instead provides optimization headroom for advancement, although it does not guarantee improvement. Section 3.3 formalizes this condition and instantiates it for data mixture and data selection.
3.3 RESULTS
We now instantiate the gap criterion for data mixture and selection. Figure 1 shows close agreement between the analytic predictions and finite-dimensional simulations.
Mixture: Acceleration without advancement. Under a uniform target , there is no train–target gap. We introduce heterogeneous domain difficulty by giving domain 2 nuisance variance orthogonal to its teacher , thereby lowering its signal-to-noise ratio without changing its labeling rule (Appendix A.1). Allocating more data to this harder domain ( ) lowers the target loss at small budgets (Figure 1(b)), but the gain vanishes as grows, and the uniform baseline attains the best endpoint. Domain difficulty improves finite-budget performance without changing the attainable endpoint: it provides acceleration, not advancement.
Mixture: Advancement by matching the target. Unlike the finite-budget effect of domain difficulty, the infinite-data endpoint is determined by alignment between the training and target mixtures. At the large budget shown in Figure 1(c), each curve is minimized at , despite heterogeneous domain difficulty. Appendix A.1 establishes this result analytically for the large-budget limit ( ): when the training and target distributions span the same domains, target matching is globally optimal, . Consequently, if , the baseline already matches the target and no mixture can provide advancement. If , matching corrects the distribution gap and yields , providing genuine advancement.
Selection: A gap creates optimization headroom. The same selection policy behaves differently depending on the train–target gap. With , moderate pruning preserves accuracy, but no policy exceeds full retention over the displayed budgets (Figure 1(e)). With , target accuracy initially increases as the retained fraction decreases (Figure 1(f)). Although fewer examples are used, the selection preferentially removes target-inconsistent examples while retaining informative examples near the target boundary. The resulting gain in train–target alignment outweighs the loss in sample size. Beyond the interior optimum , the reduction in the training budget dominates, causing accuracy to plateau (in the large-budget limit, ) or decline (at finite budgets). Appendix A.2 derives these finite-budget curves and shows that the improvement persists in the large-budget limit.
We now show that the impossibility of advancement without a gap is not an artifact of our perceptron model, but a fundamental algebraic consequence of a bi-level structure. Curation seeks an allocation w to minimize the target loss (outer problem) subject to training convergence (inner problem).
Proposition 1 (Informally). Consider the bi-level curation problem , where . Suppose there is no gap, such that the population training objective (expected losses) under the uncurated baseline coincides with the population target objective. Then is a global minimizer of the outer objective: no allocation attains a lower target endpoint, and curation can at most accelerate.
The intuition is immediate: without a gap, the target objective is exactly the training objective that the baseline already globally minimizes. We defer the formal proof to Appendix A.3, and next translate this distribution-level condition into an observable diagnostic.
4 THE -TEST
The correctable train–target gap is a distribution-level condition, making it hard to verify directly. To bridge this, we introduce the -test: an empirical signature of the gap evaluated from a single uncurated baseline run, , before any curation is attempted. The test compares the baseline model's in-sample training loss with its target loss (Appendix A.4). Because data mixture and selection operate at different granularities, we define two variants. For data mixture over K domains, the comparison is domain-wise, allowing the diagnostic to capture domains that are over- or underserved by the baseline. Using the baseline mixture weights and target weights , we define
The target weights ensure that the diagnostic reflects the distribution on which performance is ultimately evaluated. For data selection , the training and target losses are scalars:
where denotes full retention ( ).
Designed as a lightweight operational diagnostic rather than a statistical distance, indicates the potential for advancement. An appreciably nonzero value flags an observable train–target mismatch and hence possible advancement, provided that a feasible curation policy can correct the mismatch. Across both the mixture and selection models, the gain over the baseline increases with (Figure 4). Conversely, suggests that curation will only accelerate training, although scalar losses may fail to reveal some distributional gaps. In practice, can be estimated early in training using a small proxy model—after the gap has become visible but well before full convergence.
5 EXPERIMENTS ON REAL DATA
Our theory establishes a correctable train–target gap as a prerequisite for curation to advance a model. We test this in practical LLM training across data mixture and selection: does a nonzero
Table 1: Perplexity in the no-gap () mixture setting on SlimPajama. “Average” represents the exponential of the average loss across all domains as in (Fan et al., 2024).
| Methods | Arxiv | Book | C4 | CommonCrawl | Github | Stackexchange | Wikipedia | Average |
|---|---|---|---|---|---|---|---|---|
| Uniform | 10.02 | 39.61 | 49.67 | 42.70 | 5.16 | 12.25 | 20.00 | 19.71±0.17 |
| RegMix | 10.53 | 41.90 | 48.67 | 41.65 | 5.75 | 11.73 | 19.86 | 19.80±0.12 |
| DoGE | 10.96 | 35.49 | 42.42 | 36.81 | 6.70 | 13.97 | 23.92 | 20.17±0.16 |
| Skill-It | 10.64 | 38.32 | 47.99 | 40.62 | 5.73 | 12.07 | 20.78 | 19.68±0.16 |
| Aioli | 10.09 | 39.86 | 49.81 | 42.83 | 5.66 | 12.36 | 19.67 | 19.77±0.15 |
| TANDEM | 10.18 | 37.89 | 46.77 | 40.41 | 5.89 | 12.61 | 20.96 | 19.66±0.15 |

Figure 2: Left: With a negligible gap ( ), the perplexity difference relative to Uniform (method – Uniform, lower is better) can be negative early but approaches zero with training. Bands show the standard deviation over five runs. Right: Final gain over Uniform (higher is better) is negligible in the no-gap setting and becomes substantial under endogenous and exogenous gaps.
accompany persistent gains, while suggests limited headroom for consistent improvement over the baseline policy? To ensure a controlled comparison, we evaluate all baselines under a shared training and evaluation protocol and will release all code and configurations following internal approval. We run each experiment five times independently. Due to limited space, the main text reports means and shows standard-deviation bands where space permits. Complete results are provided in Appendix A.6. Across all settings, the diagnostic is evaluated at exactly of the training budget.
5.1 MIXTURE
We evaluate three scenarios: a matched no-gap setting, an exogenous distribution shift, and an endogenous gap induced by limited domain data. Following Chen et al. (2025), we train 160M GPT-style LMs (Biderman et al., 2023) on a 6B sampled version of SlimPajama (Soboleva et al., 2023) across all seven domains. We compare the Uniform baseline against five representative mixture optimizers: RegMix (Liu et al., 2025), DoGE (Fan et al., 2024), Skill-It (Chen et al., 2023), Aioli (Chen et al., 2025), and TANDEM (Wang et al., 2025)–spanning mixing-law based, influence-based, and bi-level approaches. Appendix A.5 describes each method and our complete experimental protocol.
When , optimized mixtures accelerate but do not advance. We first consider a setting in which the reference training distribution can match the uniformly weighted target. Although SlimPajama-6B is domain-imbalanced, in our training setting, Uniform allocation is feasible without repeatedly sampling a depleted domain, yielding a negligible train–target gap (). From Table 1 we see that the final perplexities of all optimized mixtures range from 19.66 to 20.17, within experimental variation of the Uniform baseline at 19.71. Reallocating training exposure across domains does not produce a consistently better result. At intermediate checkpoints, RegMix reduces perplexity by 3.5, but this advantage vanishes as the training proceeds (Figure 2, left). This no-gap setting exhibits acceleration rather than advancement, supporting our theoretical prediction.
When under distribution shift, optimized mixtures can advance. An exogenous gap arises when the candidate pool and target follow different distributions. We instantiate this setting by holding out CommonCrawl as the target while training on the remaining six domains, yield-
Table 2: Final target perplexity under endogenous () and exogenous () mixture gaps. The endogenous block reports all target domains and their "Average". The exogenous block reports the perplexity of the held-out CommonCrawl target (CC).
| Endogenous Gap | Exogenous Gap | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Methods | Arxiv | Book | C4 | CC. | Github | Stackexchange | Wikipedia | Average | CC. |
| Uniform | 13.14 | 57.44 | 65.57 | 57.93 | 8.21 | 19.59 | 33.90 | 28.60 | 49.19 |
| RegMix | 13.33 | 54.12 | 63.74 | 56.63 | 8.23 | 20.03 | 33.34 | 28.24 | 40.63 |
| DoGE | 12.95 | 54.82 | 62.84 | 55.52 | 8.13 | 18.61 | 32.72 | 27.62 | 40.67 |
| Skill-It | 14.54 | 44.24 | 48.99 | 42.10 | 8.33 | 21.10 | 49.46 | 27.38 | 41.08 |
| Aioli | 12.80 | 51.01 | 61.13 | 53.51 | 8.14 | 18.97 | 32.63 | 27.11 | 40.17 |
| TANDEM | 12.60 | 49.76 | 54.19 | 47.24 | 8.35 | 17.98 | 33.51 | 26.02 | 40.24 |
ing . Although CommonCrawl is absent from the training pool, the related C4 domain provides a feasible source for partially correcting the gap. As shown in Table 2, every optimized mixture substantially outperforms Uniform, reducing target perplexity from 49.19 to 40.2–41.1. By shifting training exposure toward domains better aligned with the held-out target, curation retains a large gain through the largest feasible training budget, with no sign of the advantage shrinking. In contrast to the no-gap gains that vanish with training, this persistence provides empirical evidence of advancement rather than transient acceleration.
When under limited data, optimized mixtures can advance. Repeated sampling of data-scarce domains produces an endogenous train–target gap: overfitting raises their target losses relative to their training losses, thereby increasing . We instantiate this setting by restricting the SlimPajama pool to 300M tokens while preserving its original domain distribution. Under the fixed training budget, small domains such as ArXiv and Wikipedia are exhausted early and repeatedly sampled, yielding . As shown in Table 2, all optimized mixtures outperform Uniform at the largest tested budget by reducing exposure to these overfit domains. Together with the exogenous-gap result, this provides further empirical evidence that a correctable gap can enable advancement regardless of whether it arises from distribution shift or limited data (right panel of Figure 2).
The -test remains predictive across model scales. We repeat all three mixture settings at 1.1B parameters and compare TANDEM with Uniform (Table 3). At 160M and 1.1B, respectively, the no-gap gains remain negligible (+0.05 and +0.11 perplexity), whereas the exogenous-gap gains remain substantial (+8.95 and +5.31), as do the endogenous-gap gains (+2.58 and +2.29). Thus, the diagnosis obtained at 160M transfers to 1.1B, supporting the use of a compute-efficient proxy model to screen for advancement potential before full-scale training (Section 4).
Table 3: Scale study comparing Uniform and TAN-DEM. Gain is Uniform – TANDEM.
| Scenario | Model | Uniform | TANDEM | Gain |
|---|---|---|---|---|
| No gap | 160M | 19.71 | 19.66 | +0.05 |
| Δ = 0.07 | 1.1B | 17.16 | 17.05 | +0.11 |
| Endogenous gap | 160M | 28.60 | 26.02 | +2.58 |
| Δ = 0.64 | 1.1B | 28.14 | 25.85 | +2.29 |
| Exogenous gap | 160M | 49.19 | 40.24 | +8.95 |
| Δ = 1.26 | 1.1B | 40.03 | 34.72 | +5.31 |
5.2 SELECTION
To test whether persistent selection gains require a correctable mismatch, we use a paired design with no-gap and exogenous-gap scenarios. The two scenarios share the same candidate pool, model, selection methods, and training protocol. Only the target distribution used for selection and evaluation changes. This design isolates the role of the gap rather than merely comparing selection algorithms. We use a 5B-token OpenWebMath candidate pool (Paster et al., 2024) and TinyLlama-1.1B (Zhang et al., 2024). We report held-out target loss and accuracy on eight benchmarks spanning arithmetic,
We choose TinyLlama over a heavily optimized SOTA model to prevent saturated capabilities from masking the intrinsic efficacy of data selection.
Table 4: Data-selection results for an in-distribution OpenWebMath target (no gap, , upper) and a shifted MetaMath–Mammoth target (with gap, , lower). We report accuracy on eight math benchmarks, their average, and held-out target loss. All methods operate on the same 5B-token candidate pool with a retained fraction of . Target-aware RHO-1 and BLADE improve substantially only when a gap is present.
| Retained Tokens. | GSM8K | MATH | SVAMP | ASDiv | MAWPS | TAB | MQA | MMLU-STEM | Avg. | Target Loss | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Selection without Gap | |||||||||||
| Base | - | 2.9 | 3.2 | 11.0 | 18.1 | 20.4 | 12.5 | 14.6 | 16.1 | 12.4 | 1.97 |
| Base-CT | 5B | 4.3 | 4.3 | 17.1 | 29.4 | 39.4 | 14.5 | 8.3 | 20.4 | 17.21 | 1.70 |
| Random | 3B | 4.0 | 3.9 | 15.8 | 29.1 | 37.2 | 13.8 | 9.4 | 17.8 | 16.38 | 1.73 |
| EL2N | 3B | 3.0 | 3.2 | 15.5 | 25.0 | 31.2 | 14.4 | 8.9 | 18.3 | 14.94 | 1.76 |
| InfoBatch | 3B | 3.8 | 3.3 | 15.8 | 25.8 | 32.9 | 12.5 | 7.1 | 16.5 | 14.71 | 1.76 |
| Token Cleaning | 3B | 4.2 | 3.0 | 15.4 | 24.4 | 31.7 | 11.7 | 10.2 | 14.1 | 14.30 | 1.79 |
| RHO-1 | 3B | 3.2 | 3.1 | 15.3 | 24.6 | 31.4 | 14.5 | 7.1 | 16.7 | 14.49 | 1.78 |
| BLADE | 3B | 4.5 | 3.7 | 18.1 | 29.9 | 37.9 | 16.5 | 10.4 | 19.3 | 17.54 | 1.73 |
| Selection with Gap | |||||||||||
| Base | - | 2.9 | 3.2 | 11.0 | 18.1 | 20.4 | 12.5 | 14.6 | 16.1 | 12.40 | 1.26 |
| Base-CT | 5B | 4.3 | 4.3 | 17.1 | 29.4 | 39.4 | 14.5 | 8.3 | 20.4 | 17.21 | 1.14 |
| Random | 3B | 4.0 | 3.9 | 15.8 | 29.1 | 37.2 | 13.8 | 9.4 | 17.8 | 16.38 | 1.13 |
| EL2N | 3B | 3.0 | 3.2 | 15.5 | 25.0 | 31.2 | 14.4 | 8.9 | 18.3 | 14.94 | 1.19 |
| InfoBatch | 3B | 3.8 | 3.3 | 15.8 | 25.8 | 32.9 | 12.5 | 7.1 | 16.5 | 14.71 | 1.16 |
| Token Cleaning | 3B | 4.2 | 3.0 | 15.4 | 24.4 | 31.7 | 11.7 | 10.2 | 14.1 | 14.30 | 1.22 |
| RHO-1 | 3B | 15.1 | 5.9 | 32.6 | 46.9 | 63.8 | 18.7 | 15.1 | 18.4 | 27.06 | 0.59 |
| BLADE | 3B | 21.2 | 8.1 | 37.0 | 51.4 | 70.2 | 21.2 | 20.6 | 20.8 | 31.31 | 0.45 |

Figure 3: Left: Held-out target loss across retained fractions for an in-distribution OpenWebMath target (). Target loss directly evaluates the distribution used to define . No selector consistently improves over Base-CT and Random, and more aggressive pruning generally increases loss. Right: Average accuracy change relative to Base-CT in the no-gap and shifted-target settings. The comparison shows little optimization headroom in the no-gap setting, whereas substantial positive gains become possible after the target shift ().
competition mathematics, word problems, table-based reasoning, and STEM knowledge. Baselines include full-pool continuous pretraining (Base-CT), random selection, three target-agnostic methods (EL2N (Paul et al., 2021), InfoBatch (Qin et al., 2024), and Token-Cleaning (Pang et al., 2025)), and two target-aware methods (RHO-1 (Lin et al., 2024) and BLADE (Wang et al., 2026)). Appendix A.5 provides the complete benchmark list, method descriptions, and experimental protocol.
When , selection provides no consistent advancement. Using an additional 0.3B-token sample from OpenWebMath as the target yields a negligible train–target gap (). With little discrepancy to correct, neither target-aware nor target-agnostic methods consistently outperform the Base-CT (17.21) and Random (16.38) baselines: their average scores range from 14.3 to 17.5, and their held-out target losses show no consistent improvement (Table 4, upper). Notably, RHO-1 and BLADE receive target data but still fail to provide consistent gains, showing that tar-get access alone does not guarantee advancement. Figure 3 (Left) further examines the effect of the retained fraction. We report held-out target loss rather than downstream accuracy because it is measured on the target distribution used to define , and thus more directly exposes the train–target gap. Varying f from 1.0 to 0.6 yields the same conclusion: full retention attains the lowest loss, no selection method consistently improves over Random, and target loss generally rises as selection becomes more aggressive. This retention sweep is consistent with the limited optimization headroom indicated by the negligible gap.
When , selection can advance. When the target departs from the candidate pool, an exogenous gap emerges. Following Lin et al. (2024), we use a blend of MetaMath (Yu et al., 2024a) and Mammoth (Yue et al., 2024) as the target while retaining OpenWebMath as the candidate pool, yielding a substantial mismatch ( ). As shown in Table 4 (bottom), target-aware selection produces large gains: RHO-1 and BLADE increase the Base-CT average score from 17.21 to 27.06 and 31.31, respectively, whereas the target-agnostic methods EL2N, InfoBatch, and Token-Cleaning do not. Held-out target losses show the same pattern. Together with the no-gap control, this contrast provides empirical evidence that target-aware selection can achieve advancement by correcting a genuine train–target gap.
6 RELATED WORK
Data mixture optimization. Beyond hand-tuned compositions, mixture methods learn domain weights via mixing laws (Liu et al., 2025; Chen et al., 2023; 2025) or bi-level optimization (Fan et al., 2024; Wang et al., 2025). Empirical comparisons have also found Uniform to remain a competitive baseline in several settings (Chen et al., 2025). Our analysis offers one explanation for this pattern: when the baseline training distribution is aligned with the target, Uniform is endpoint-optimal, a finite-budget advantage reflects acceleration.
Data selection and quality scores. Data selection methods generally fall into target-agnostic and target-aware paradigms. Target-agnostic scores rank examples by intrinsic difficulty or quality signals (Paul et al., 2021; Wang et al., 2023; Qin et al., 2024; Pang et al., 2025). Nevertheless, they have a mixed record, with reports that random selection remains highly competitive in the data-rich regime (Xia et al., 2024). Through our lens, such difficulty proxies only accelerate learning when no train–target gap exists. Conversely, target-aware methods can genuinely advance the model by aligning with a target. This alignment can be implicit, such as DCLM (Li et al., 2024) and DEITA (Liu et al., 2024) using language models whose priors encode target distributions, or explicit, where candidates are scored directly against a defined target (Lin et al., 2024; Yu et al., 2024b; Wang et al., 2026). These methods provide advancement by successfully reducing a genuine gap.
Solvable models of data curation. Another line of research explores data curation through solvable statistical-mechanics models, using the teacher–student perceptron and replica method (Engel & den Broeck, 2022; Loureiro et al., 2021; Sorscher et al., 2022). Closest to our setup, Dohmatob et al. (2026) derive exact scaling laws for data selection under distribution shift to characterize when "less is more". While we share this solvable-model viewpoint, our approach differs in key aspects. First, we directly formulate the classification objective rather than relying on a mean squared error (MSE) surrogate. Second, we explicitly formalize the distinction between acceleration and advancement. Finally, we translate these insights and advancement prerequisites into an observable empirical diagnostic (the -test), unifying both mixture and selection under a single framework, and validated on real LLMs.
7 CONCLUSION
We show that the value of data curation hinges on a fundamental distinction: whether a strategy genuinely advances attainable target performance or merely accelerates training. Advancement requires a correctable mismatch between the training baseline and the target. When the baseline training and target objectives coincide, the uncurated baseline is endpoint-optimal, so curation can at most accelerate. This helps explain why uniform mixtures and random selection remain difficult to beat in
This open-source blend is a subset of RHO-1’s target data. The remainder has not been released.
data-rich, in-distribution regimes. Practically, our lightweight -test diagnoses advancement potential from a baseline run before expensive optimization. A near-zero suggests prioritizing scaling over curation, whereas an appreciably nonzero signals potential headroom for target-aware optimization. Ultimately, our findings recenter curation on the task definition itself. Given the asymmetry between massive candidate training pools and compact, controllable target sets, constructing diverse, high-fidelity targets is not merely an evaluation afterthought, but a highly leveraged design choice in shaping LLM capabilities.
REFERENCES
Aida Amini, Saadia Gabriel, Peter Lin, Rik Koncel-Kedziorski, Yejin Choi, and Hannaneh Hajishirzi. Mathqa: Towards interpretable math word problem solving with operation-based formalisms. arXiv preprint, arXiv:1905.13319, 2019.
Stella Biderman, Hailey Schoelkopf, Quentin Gregory Anthony, Herbie Bradley, Kyle O'Brien, Eric Hallahan, Mohammad Aflah Khan, Shivanshu Purohit, USVSN Sai Prashanth, and Edward Raff eta.al. Pythia: A suite for analyzing large language models across training and scaling. In International Conference on Machine Learning, 2023.
Mayee F. Chen, Nicholas Roberts, Kush Bhatia, Jue Wang, Ce Zhang, Frederic Sala, and Christopher Ré. Skill-it! a data-driven skills framework for understanding and training language models. In Neural Information Processing Systems, 2023.
Mayee F. Chen, Michael Y. Hu, Nicholas Lourie, Kyunghyun Cho, and Christopher Ré. Aioli: A unified optimization framework for language model data mixing. In International Conference on Learning Representations, 2025.
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.
Elvis Dohmatob, Mohammad Pezeshki, and Reyhane Askari-Hemmat. Why less is more (sometimes): A theory of data curation. In International Conference on Learning Representations, 2026.
A. Engel and C. Van den Broeck. Statistical mechanics of learning. In Cambridge University Press, 2022.
Simin Fan, Matteo Pagliardini, and Martin Jaggi. Doge: Domain reweighting with generalization estimation. In International Conference on Machine Learning, 2024.
Dan Hendrycks, Collin Burns, Steven Basart, Andy Zou, Mantas Mazeika, Dawn Song, and Jacob Steinhardt. Measuring massive multitask language understanding. arXiv preprint, arXiv:2009.03300, 2020.
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 Neural Information Processing Systems, 2021.
Rik Koncel Kedziorski, Subhro Roy, Aida Amini, Nate Kushman, and Hannaneh Hajishirzi. Mawps: A math word problem repository. In Conference of the North American Chapter of the Association for Computational Linguistics, 2016.
Jeffrey Li, Alex Fang, and Georgios Smyrnis et.al. Datacomp-lm: In search of the next generation of training sets for language models. In Advances in Neural Information Processing Systems, 2024.
Zhenghao Lin, Zhibin Gou, Yeyun Gong, Xiao Liu, Yelong Shen, Ruochen Xu, Chen Lin, Yujiu Yang, Jian Jiao, Nan Duan, and Weizhu Chen. Rho-1: Not all tokens are what you need. In Neural Information Processing Systems, 2024.
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 International Conference on Learning Representations, 2025.
Wei Liu, Weihao Zeng, Keqing He, Yong Jiang, and Junxian He. What makes good data for alignment? a comprehensive study of automatic data selection in instruction tuning. In International Conference on Learning Representations, 2024.
Bruno Loureiro, Cedric Gerbelot, Hugo Cui, Sebastian Goldt, Florent Krzakala, Marc Mezard, and Lenka Zdeborova. Learning curves of generic features maps for realistic datasets with a teacher-student model. In Advances in Neural Information Processing Systems, 2021.
Pan Lu, Liang Qiu, Kai-Wei Chang, Ying Nian Wu, Song-Chun Zhu, Tanmay Rajpurohit, Peter Clark, and Ashwin Kalyan. Dynamic prompt learning via policy gradient for semi-structured mathematical reasoning. In International Conference on Learning Representations, 2023.
Shenyun Miao, Chaochun Liang, and Keh-Yih Su. A diverse corpus for evaluating and developing english math word problem solvers. In Association for Computational Linguistics, 2020.
Jinlong Pang, Na Di, Zhaowei Zhu, Jiaheng Wei, Hao Cheng, Chen Qian, and Yang Liu. Token cleaning: Fine-grained data selection for llm supervised fine-tuning. In International Conference on Machine Learning, 2025.
Keiran Paster, Marco Dos Santos, Zhangir Azerbaijan, and Jimmy Ba. Openwebmath: An open dataset of high-quality mathematical web text. In International Conference on Learning Representations, 2024.
Arkil Patel, Satwik Bhattamishra, and Navin Goyal. Are nlp models really able to solve simple math word problems? In Conference of the North American Chapter of the Association for Computational Linguistics, 2021.
Mansheej Paul, Surya Ganguli, and Gintare Karolina Dziugaite. Deep learning on a data diet: Finding important examples early in training. In M. Ranzato, A. Beygelzimer, Y. Dauphin, P.S. Liang, and J. Wortman Vaughan (eds.), Advances in Neural Information Processing Systems, volume 34, pp. 20596–20607. Curran Associates, Inc., 2021.
Ziheng Qin, Kai Wang, Zangwei Zheng, Jianyang Gu, Xiangyu Peng, Zhaopan Xu, Daquan Zhou, Lei Shang, Baigui Sun, Xuansong Xie, and Yang You. Infobatch: Lossless training speed up by unbiased dynamic data pruning. In International Conference on Learning Representations, 2024.
Daria Soboleva, Faisal Al-Khateeb, Joel Hestness, and Jacob Robert Steeves Nolan Dey Opentensor: Robert Myers. Slimpajama: A 627b token, cleaned and deduplicated version of redpajam. https://www.cerebras.ai/blog/slimpajama-a-627b-token-cleaned-and-deduplicated-version-of-redpajama, 2023.
Ben Sorscher, Robert Geirhos, Shashank Shekhar, Surya Ganguli, and Ari S. Morcos. Beyond neural scaling laws: beating power law scaling via data pruning. In Advances in Neural Information Processing Systems, 2022.
Jiaxing Wang, Yong Li, Jingwei Zhuo, Xupeng Shi, Weizhong Zhang, Lixing Gong, Tong Tao, Pengzhang Liu, Yongjun Bao, and Weipeng Yan. Dynams: Dynamic margin selection for efficient deep learning. In International Conference on Learning Representations, 2023.
Jiaxing Wang, Deping Xiang, Jin Xu, Mingyang Yi, Guoqiang Gong, Zicheng Zhang, Haoran Li, Pengzhang Liu, Zhen Chen, Ke Zhang, Ju Fan, and Qixiang Jiang. Tandem: Bi-level data mixture optimization with twin networks. In Neural Information Processing Systems, 2025.
Jiaxing Wang, Deping Xiang, Jin Xu, Zirui Liu, Zicheng Zhang, Guoqiang Gong, Jun Fang, Chao Liu, Pengzhang Liu, Tongxuan Liu, Ke Zhang, and Qixia Jiang. Blade: Scalable bi-level adaptive data selection for llm training. arXiv preprint arXiv:2606.18650, 2026.
Tingyu Xia, Bowen Yu, Kai Dang, An Yang, Yuan Wu, Yuan Tian, Yi Chang, and Junyang Lin. Rethinking data selection at scale: Random selection is almost all you need. arXiv preprint, arXiv:2410.09335, 2024.
Sang Michael Xie, Hieu Pham, Xuanyi Dong, Nan Du, Hanxiao Liu, Yifeng Lu, Percy Liang, Quoc V Le, Tengyu Ma, and Adams Wei Yu. Doremi: Optimizing data mixtures speeds up language model pretraining. In Neural Information Processing Systems, 2023.
Longhui Yu, Weisen Jiang, Han Shi, Jincheng YU, Zhengying Liu, Yu Zhang, James Kwok, Zhenguo Li, Adrian Weller, and Weiyang Liu. Metamath: Bootstrap your own mathematical questions for large language models. In International Conference on Learning Representations, 2024a.
Zichun Yu, Spandan Das, and Chenyan Xiong. Mates: Model-aware data selection for efficient pretraining with data influence models. In Neural Information Processing Systems, 2024b.
Xiang Yue, Xingwei Qu, Ge Zhang, Yao Fu, Wenhao Huang, Huan Sun, Yu Su, , and Wenhu Chen. Mammoth: Building math generalist models through hybrid instruction tuning. In International Conference on Learning Representations, 2024.
Peiyuan Zhang, Guangtao Zeng, Tianduo Wang, and Wei Lu. Tinyllama: An open-source small language model. arXiv preprint, arXiv:2401.02385, 2024.
A APPENDIX
A.1 TWO-TEACHER MIXTURE WITH HETEROGENEOUS DIFFICULTY
We instantiate data mixture in a two-domain teacher–student model. A mixture w determines how the total of P training examples is allocated across the two domains, with . All examples are then used jointly to fit one regularized logistic-regression student. We characterize its learning curves using the multi-environment state-evolution framework of Loureiro et al. (2021).
Heterogeneous-difficulty setup. We consider two domains with orthogonal teachers satisfying and . The training set contains examples. A mixture policy assigns examples to domain , giving the domain-specific sample ratio ; here . Examples from domain are generated according to and . Both domains share a student with normalized field . Define the logistic margin loss . The trained student is
where is the regularization coefficient. Domain 1 is isotropic, with . We make domain 2 harder by introducing nuisance variance orthogonal to its teacher:
where controls the nuisance level. Since projects onto the teacher direction, has eigenvalue 1 along and eigenvalue in every orthogonal direction. The nuisance therefore leaves the labeling rule and Bayes boundary unchanged while increasing the finite-sample difficulty of estimating .
State-evolution structure. We summarize the trained student using a finite set of order parameters. The overlap measures the alignment of the student with the teacher of domain , while is its normalized squared norm. We further introduce the response parameter , which measures how sensitively the fitted student changes under a small perturbation to examples from domain . To enforce the definitions of these order parameters in the saddle-point derivation, we introduce the associated dual variables , , and , analogous to Lagrange multipliers. These are auxiliary quantities rather than additional model parameters. The resulting self-consistent equations consist of two coupled parts. The loss-side equations determine from through the domain-specific logistic loss, while the model-side equations map the dual variables back to through the domain covariances. A joint fixed point of these equations determines the asymptotic properties of the trained student.
Loss-side equations. We specialize the general state-evolution equations of Loureiro et al. (2021) to the logistic loss and the two-domain covariance structure defined above. For domain k, let denote the variance of the effective student field. The covariance structure gives and
The additional term in arises from the component of orthogonal to , whose variance is amplified by the nuisance level . Let denote the conditional variance of the teacher field given the student field in domain . Specializing the loss-side saddle-point conditions yields
(8) where , and are scalar Gaussian expectations induced by the logistic loss and its proximal operator. Their explicit expressions are provided below. The domain difficulty first enters these equations through . By changing the effective field distribution of domain 2, the nuisance variance modifies its conjugate parameters and, consequently, its finite-sample learning dynamics.
Model-side update and spectral decomposition. The conjugate responses define the effective precision operator
The model-side update requires its inverse . We therefore decompose the parameter space into , , and . The -dimensional subspace contains directions orthogonal to both teachers and is referred to as the bulk.
The covariance eigenvalues in these subspaces are
\begin{array}{c|ccc}{{{\operatorname{span}(B_{1})}}}&{{{\operatorname{span}(B_{2})}}}&{{{\mathcal{B}}}} \\{{{\hline\mathbf{\Sigma}_{1}}}}&{{{1}}}&{{{1}}}&{{{1}}} \\{{{\mathbf{\Sigma}_{2}}}}&{{{1+\nu^{2}}}}&{{{1}}}&{{{1+\nu^{2}}}}\end{array}. \tag{10}Consequently, the eigenvalues of D are
The corresponding eigenvalues of are their reciprocals.
Using this decomposition, the model-side updates become
Together, the loss-side and model-side updates form a closed finite-dimensional system for any mixture policy w and sample ratio .
Target readout. For a target example from domain k, the normalized student field can be written as
where and . The first term is aligned with the teacher, while the second represents the orthogonal component of the student. The corresponding signal-to-noise ratio is .
Let denote the domain proportions of the target. Its target loss is
Thus, solving the closed state-evolution system determines the target loss of any training mixture w against any target mixture . Dependence on , , and is suppressed for readability.
Large-budget limit: an analytic target-matching argument. Panel (c) of Figure 1 is evaluated at a large but finite budget. We now identify its limiting optimum without extrapolating the numerical state evolution. Divide equation 3 by . If and is fixed, the normalized ridge contribution is and hence vanishes as . Under convergence of the empirical domain risks, the limiting student therefore minimizes
(17)
The target population risk and the endpoint induced by a training mixture are
Choosing makes the limiting training objective exactly the target objective. Consequently,
so target matching is a global optimum. This argument is analytic and does not depend on the nuisance level . The location in mixture space of the matching optimum is therefore independent of difficulty, although the population minimizer and attained target loss generally still depend on through .
If the target risk has a unique minimizer and the baseline induces a different population minimizer, the inequality in equation 19 is strict. These conditions hold in the nondegenerate two-teacher setting considered here: the Gaussian covariances are full rank, the mixed logistic population risk is strictly convex at its finite optimum, and distinct teachers do not share a stationary point of their individual risks. Two regimes follow:
• No gap ( ): matching returns the baseline, so for all and no reallocation lowers the endpoint—acceleration only.
• With a correctable composition gap ( ): the baseline minimizes a differently weighted population risk. Under the nondegeneracy conditions above, the two weightings induce different minimizers, and hence —advancement.
Thus the numerical curve at in panel (c) approximates an exactly target-matched population optimum; it is not the sole evidence for that endpoint.
Consequences for acceleration and advancement. At finite sample ratios, the unequal field variances in Equation (5) cause the two domains to be learned at different rates. Allocating more data to the harder domain can therefore reduce target loss at small , as in Figure 1(b). When the baseline already matches the target, this advantage vanishes with increasing budget and is acceleration. When the target composition differs from the baseline, equation 19 instead gives a strictly better population endpoint under the stated nondegeneracy conditions, which is the advancement effect in panel (c).
Logistic integrals. For completeness, we specify the Gaussian expectations in Equations (6) to (8). Let with , , and
Define
The required integrals are
Reduction checks and numerical solution. When , the two domains have identical covariance, , and . The system then reduces to the isotropic two-teacher logistic state evolution. We solve the fixed-point equations using a nonuniform composite quadrature for the Gaussian expectations. At large sample ratios, approaches zero and becomes sharply concentrated, causing fixed Gauss–Hermite grids to under-resolve the integrands. Refining the grid around the shrinking transition layer avoids this numerical artifact. The isotropic reduction at and agreement with finite-dimensional simulations provide independent checks of the solution.
A.2 SELECTION UNDER MATCHED AND SHIFTED TARGETS
Selection starts from candidate examples and retains a fraction , leaving a training budget . We first consider a matched target and then extend the model to a shifted target, where label consistency provides an additional selection signal. We write the target-error learning curve as , where is the angle between the training and target teachers; dependence on the fixed in the shifted-target policy is suppressed.
A.2.1 MATCHED TARGET: CLASSICAL MARGIN SELECTION
Let , , be both the training and target teacher. The candidates are generated by and . Writing the teacher margin as (and for candidate ), margin selection retains , where
is the retained fraction and is the standard Gaussian density. The selected set is . We use the spherical max-margin student
This has the same direction as the usual minimum-norm hard-margin solution; the spherical form makes the normalization used by the replica equations explicit.
Rather than repeating the replica calculation, we use the arbitrary-margin single-teacher equations of Sorscher et al. (2022, Eqs. 66–67). For a truncated Gaussian margin distribution, they reduce to their Eqs. 68–69. The retained examples have sample ratio and conditional margin density
In the high-dimensional limit, the empirical selection threshold and retained margin distribution concentrate at and , respectively. The cited equations depend on the product of the sample ratio and margin density. Substituting therefore gives , exactly the exposure induced by selecting from the candidate set. Thus the normalized student–teacher overlap and maximum stability satisfy
The factor of 2 uses the symmetry between positive and negative teacher margins, allowing the z-integral to be restricted to . The target error is . We solve Equations (28) and (29) by adaptive quadrature; recovers the standard unpruned perceptron equations. These curves give the matched-target selection result in Figure 1(e).
A.2.2 SHIFTED TARGET: CONSISTENCY-AWARE SELECTION
We now let the target teacher differ from the training teacher. Applying a target-margin rule alone is insufficient: labels still come from the training teacher, so examples near the target boundary may carry labels that conflict with the target. We therefore model the additional signal used by target-aware selectors through a consistency filter. This remains selection rather than label correction: inconsistent examples are removed, and no label is changed.
Setup and selection rule. Let the training and target teachers be and , with and
We take in this shifted-target analysis; the matched endpoint is handled separately above. For an example , define
so is jointly standard Gaussian with correlation . Let denote label consistency. We rank candidates by the single target-aware score
When , holds almost surely and this score reduces to the matched-target margin rule above. We retain the lowest-scoring fraction . Equivalently, for a threshold , a consistent example is retained when , whereas an inconsistent one is retained only when , where . The threshold is determined by
where and are the standard Gaussian density and cdf. Unlike a lexicographic “consistency first, margin second” rule, this score changes the selected distribution continuously as varies. The two terms nevertheless retain distinct roles: consistency makes the gap correctable, whereas margin controls finite-budget informativeness. We write for the resulting selection indicator. Panel (f) uses .
Applied to the candidates, retains examples and hence uses sample ratio , as in the matched-target case.
Conditional field and truncated moments. The selected student is again the spherical max-margin solution, with ; let denote its maximum stability. Hence and are normalized cosine overlaps. For , Gaussian conditioning gives
where
Let , , and
These are the truncated Gaussian moments generated by the active hard-margin constraints. For any , denote expectation under the normalized selected distribution by
Finite-budget saddle-point equations. The replica-symmetric, max-margin limit gives the following closed system for :
The target error is . These equations generate the curves in Figure 1(f); numerical quadrature and finite-dimensional hard-margin simulations use the same candidate set and policy.
An interior point on the score path. The score in equation 32 itself contains an explicit interior policy for every finite . Consider the threshold . A consistent example is then retained when , whereas an inconsistent example would have to satisfy and is therefore discarded up to a measure-zero boundary. The corresponding retained fraction is
Thus is an interior point on the same -parameterized policy path used in panel (f), rather than a certificate supplied by a separate consistency-only rule. More generally, corresponds to and contains no inconsistent examples, while corresponds to and retains a positive-measure set of inconsistent examples near the target boundary.
Large-budget endpoint of the score path. At , multiplying each retained input by its training label gives signed fields and . In the plane, the local support is therefore a wedge bounded by the two teacher decision boundaries. The truncation changes its radial extent but not its tangent cone at the intersection of the boundaries. As the sample ratio grows, the active constraints approach both sides of this wedge. Within this isotropic model, the direction maximizing the angular margin to the two sides is their bisector; an orthogonal component cannot improve the margin because it carries no systematic label signal. This support-geometry characterization gives
By contrast, full retention preserves all labels from B, so its large-sample solution aligns with B and has target overlap . Consequently,
Thus the family contains a fixed interior policy that strictly beats full retention at the endpoint. The particular value is not needed for existence: every defines a nontrivial through equation 42. Consistency supplies the endpoint shift, whereas the margin term locates that shift on the continuous selection path and controls which consistent constraints are retained.
The same argument clarifies the two sides of the threshold. For any fixed , the selected support has the same agreement wedge near the origin and hence the same bisector endpoint. Once , the cutoff admits inconsistent examples in an open neighborhood of the intersection. Any separating direction with a component orthogonal to then violates some training-label constraint in the population support; the asymptotic direction therefore returns to . Thus, within this idealized model, the support-level prediction is
Finite candidate sets smooth this sharp support-level transition.
Why the finite-budget curve has an interior optimum. The finite-budget tradeoff is now explicit. At the learner uses the full candidate set and approaches the training teacher. Near , the score has removed the inconsistent constraints and the learner approaches the improved bisector endpoint in equation 44. If is reduced too far at fixed , however, the retained training ratio vanishes and target accuracy returns to chance. Continuity of the saddle equations then implies that, for all sufficiently large but finite , a maximum is attained at some
and exceeds the value at . The optimum lies near the point where the last inconsistent constraints disappear. For the parameters of panel (f), this is . As , the small- sample-efficiency penalty disappears for every fixed , so the smooth finite-budget peak need not converge to a unique optimizer. Instead it can broaden into the improved plateau in equation 45. What persists is the advancement: the fixed interior policy remains strictly better than full retention in the large-budget limit.
A.3 FORMALIZING PROPOSITION 1: BI-LEVEL OPTIMALITY UNDER NO GAP
We now formalize Proposition 1 for mixture and selection. For mixture, the reference policy is the target-matching allocation . When , the resulting optimality statement is exactly the no-gap conclusion of Proposition 1. For selection, the corresponding baseline is the uniform soft allocation , whose operational counterpart is uniform random hard selection. The connection holds in the large-sample limit.
Domain-level mixture. We begin with data mixture, where the allocation variable assigns training exposure across domains. Throughout this section the losses are population quantities, written to distinguish them from the empirical, seen-data losses measured by the -test (Section 4).
Let denote a data example (including its label, when applicable), and let be the loss of model on that example. For domain , define
A mixture policy can be realized either by sampling unit-weight examples from each domain, or by using directly as weighting coefficients on the domain losses. For an additive per-example loss, the empirical risk under the sampling-based implementation satisfies
(47)
Assuming i.i.d. sampling within each domain and uniform convergence of the empirical domain risks to their population counterparts, the sampling-based objective converges uniformly to the loss-weighted population objective. Thus, the two implementations induce the same limiting population problem. At finite P, they may differ because must be rounded and the empirical domain averages fluctuate, but these differences vanish as for every k. This domain-level equivalence is distinct from the example-level soft relaxation introduced below. We therefore state the bi-level mixture result directly in the loss-weighted population form.
Proposition 2 (Target-matching optimality for mixture). Consider the bi-level mixture problem
where is the target domain composition. Suppose and hence for every . Then the target-matching allocation is a global minimizer of equation 48. In particular, if the target weights are uniform, then is globally optimal.
Proof. Under the no-gap condition, the training and target population losses coincide within every domain. When , the inner problem becomes
which is exactly the outer target objective viewed as a function of . Therefore, its value at cannot exceed its value at the model induced by any other mixture :
Thus, is a global minimizer of the outer objective.
Setting thus recovers the mixture instantiation of Proposition 1.
The assumption is a distribution-level condition. It implies equality of the corresponding population losses but does not assert equality between individual training and target examples. This distinction becomes important for data selection, where exposure is allocated at the level of individual sample rather than domains.
Example-level selection. We next express selection as a per-example bi-level problem. Let be the candidate pool. A hard selection policy is represented exactly by binary indicators in
For the population-level argument, we consider the continuous relaxation
The relaxed bi-level problem is:
Here, selection reweights individual examples in the finite candidate pool, whereas evaluation is performed on the target distribution as a whole. We therefore define the no-gap condition as . The inner objective is a weighted loss over the selected examples, while the outer objective is the target population loss. Under uniform selection, the former converges to the latter as , which motivates the asymptotic result below.
Proposition 3 (Asymptotic optimality of uniform selection). Suppose the candidate and target examples are drawn from the same distribution, . Assume that empirical risk minimization is consistent over the model class (e.g., via uniform convergence). Then the uniform soft allocation is a global minimizer of equation 53 in the large-sample limit.
Proof. Under the no-gap condition, the population training and target objectives coincide:
For the uniform allocation , the inner objective becomes
As , consistency of empirical risk minimization implies that approaches the set of population target minimizers. Hence, in the large-sample limit, for every admissible allocation ,
Therefore, no alternative selection allocation achieves a better limiting target endpoint than uniform selection.
The allocation is an analytical reference rather than a literal subset: it reproduces the empirical risk of the full candidate pool while satisfying the same total weight constraint. Its hard-selection analogue is uniform random selection without replacement, under which every example has marginal inclusion probability . Conditional on the candidate pool, the resulting empirical objective is an unbiased estimator of the soft-allocation objective in equation 55 and concentrates around it as . Moreover, , so the result also rules out a lower limiting target loss from any hard selection policy. Thus, uniform random selection is the fixed-retention, asymptotic counterpart of the full-retention reference policy in Proposition 1: both induce the baseline distribution in the population limit. This correspondence does not imply finite-sample equivalence between the soft allocation and any particular random subset.

(a)

(b)
Figure 4: Curation gain versus the diagnostic in the solvable models. Each point varies the parameter that generates the train–target gap and reports the improvement of the optimized policy over the uncurated baseline. (a) Mixture: target-composition sweep. Gain is the reduction in target logistic loss. (b) Selection: teacher-angle sweep. Gain is the reduction in target classification error.
Connection to Proposition 1. The two results instantiate the same no-gap principle at different granularities. For mixture, target matching is optimal directly at the population level; setting recovers the mixture case of Proposition 1. For selection, full retention is the population reference, and uniform random hard selection approaches the same endpoint asymptotically. Thus, no gap rules out advancement in both cases, while still allowing finite-budget acceleration.
Relation to the empirical -test. The propositions above are stated in terms of population losses , whereas the -test of Section 4 is computed from the empirical, seen-data losses of a single baseline run. The two are connected by the same large-sample limit used in the proofs: when the baseline visits each example about once in the data-rich regime, the empirical training loss converges to its population counterpart, so the no-gap condition typically manifests as a vanishing empirical loss gap , and Propositions 2 and 3 predict that no allocation can advance the model. This correspondence breaks precisely in the endogenous regime, where repetition on under-resourced domains drives the empirical training loss below the population loss: the seen-data then becomes nonzero and detects a gap that a purely population statement would miss (Section A.4). The -test is thus a useful observable, finite-sample signature of the population condition these propositions characterize, but it is not equivalent to that condition.
A.4 MEASURING AND INTERPRETING
Measurement on seen training data. We evaluate on the examples used to train the uncurated baseline, rather than on a held-out sample from the training distribution. This distinction matters for an endogenous gap: when a domain is under-resourced, repeated exposure can reduce its loss on the seen examples without producing the same improvement on the target distribution. A held-out training split would not reveal this repetition-induced discrepancy. Because compares a finite collection of losses rather than distributions directly, it remains an operational diagnostic rather than a complete statistical test: distinct distributions can yield similar losses, and finite-sample fluctuations can produce a small nonzero value.
Relation to curation gain. Figure 4 evaluates the diagnostic in the two solvable models studied above. In mixture, varying the target composition changes while the train and target distributions remain matched within each domain. The gain from optimizing the mixture is zero at and increases as the composition gap grows. In selection, increasing the teacher angle enlarges the candidate–target mismatch, and the improvement achieved by target-aware selection over full retention increases correspondingly. Thus, despite their different allocation units and performance metrics, both models exhibit the same qualitative relation: a larger gap exposed by the uncurated baseline provides greater headroom for curation.
A.5 REAL-DATA EXPERIMENTAL DETAILS
This section collects the implementation details. Across settings, we evaluate all baselines within a shared protocol and report five independent runs. The diagnostic is measured at training budget.
A.5.1 DATA-MIXTURE EXPERIMENTS
Setup and evaluation. Following Chen et al. (2025), we use a 6B-token subset of SlimPajama (Soboleva et al., 2023), comprising ArXiv, Books, CommonCrawl, C4, GitHub, StackExchange, and Wikipedia. In the no-gap setting, both training and target weight all seven domains uniformly. In the exogenous-gap setting, CommonCrawl is held out as the target and the remaining six domains form the candidate training pool. The endogenous-gap setting retains the uniformly weighted target but restricts the available corpus to 300M tokens while preserving its original domain proportions, causing small domains to be repeatedly sampled. We report held-out perplexity for each target domain. For a multi-domain target, "Average" is the exponential of the mean domain loss, following Fan et al. (2024). for the exogenous-gap setting, the metric is CommonCrawl perplexity.
Shared training protocol. The main experiments train 160M-parameter GPT-style models (Biderman et al., 2023) for 40K steps. As summarized in Table 5. All three gap settings use the same batch size, context length, schedule, and number of steps, so the comparison changes the available data or target rather than the base training protocol. Mixture optimization and final-model training use the same model-training hyperparameters unless stated otherwise.
Table 5: Shared configuration for the data-mixture experiments.
| Configuration | 160M | 1.1B |
|---|---|---|
| Training steps | 40K | 40K |
| Batch size | 8 | 8 |
| Context length | 2048 | 2048 |
| Peak learning rate | ||
| Warmup steps | - | 500 |
| Weight decay | 0.01 | 0.01 |
| Gradient clipping | 1.0 | 1.0 |
Baselines and implementation. All methods use the shared protocol above. Uniform assigns equal exposure to the candidate domains and serves as the baseline policy. We compare it with RegMix (Liu et al., 2025), which fits global data mixing laws and predict the performance on other mixtures; DoGE (Fan et al., 2024), which updates domain weights using their estimated influence on the target objective; Skill-It (Chen et al., 2023) utilize the inter-domain dependencies to establish a local data mixing law that predicts the per-domain performance; Aioli (Chen et al., 2025) improves Skill-It by dynamically updating the relation matrix along model training; and TANDEM (Wang et al., 2025), which optimizes the mixture through a bi-level objective with twinned networks. We fit the RegMix mixing law using 128 independently trained 1M-parameter proxy models. For RegMix, DoGE, Skill-It, and Aioli, we adapt the public implementations to our common data interface and training pipeline. Method-specific choices otherwise follow the corresponding papers and released implementations. The degree of smoothing recommended in the original Skill-It and Aioli settings can yield nearly uniform allocations in our experiments, we adjust only their smoothing controls for each gap setting, using less smoothing in the endogenous- and exogenous-gap settings. The learned allocation is used to train the final model with the shared configuration above. Implementation and configuration will be released following internal approval.
Public implementations: RegMix, https://github.com/sail-sg/regmix; DoGE, https://github.com/Olivia-fsm/DoGE; and Skill-It and Aioli, https://github.com/HazyResearch/aioli.
A.5.2 DATA-SELECTION EXPERIMENTS
Setup and target construction. We use TinyLlama-1.1B (Zhang et al., 2024) as the base model and draw a 5B-token candidate pool from OpenWebMath (Paster et al., 2024). The in-distribution target is a held-out 0.3B-token OpenWebMath subset. The shifted target blends MetaMath (Yu et al., 2024a) and Mammoth (Yue et al., 2024). The main comparison retains of the candidate pool. Figure 3 additionally sweeps the retained fraction from 0.6 to 1.0.
Shared training protocol. All selection methods use the configuration in Table 6. They share the same base model, candidate pool, retained-token budget, and training protocol, so that only the selection rule and target distribution vary.
Table 6: Shared configuration for the data-selection experiments.
| Configuration | TinyLlama-1.1B |
|---|---|
| Candidate-training steps | 5000 |
| Batch size | 512 |
| Context length | 2048 |
| Learning rate | |
| Learning-rate schedule | Constant |
| Weight decay | 0.01 |
| Gradient clipping | 1.0 |
| Main retained fraction | 0.6 |
Baselines and implementation. The original pretrained checkpoint is denoted Base, while Base-CT continually pre-trains it on the full candidate pool and serves as the full-retention baseline. Random controls for the reduced token budget by drawing an equally sized subset. We compare three target-agnostic selectors—EL2N (Paul et al., 2021), which prioritizes examples with large prediction error; InfoBatch (Qin et al., 2024), which approximately preserves the expected full-data gradient; and Token-Cleaning (Pang et al., 2025), which applies a noisy-label cleaning criterion—with two target-aware selectors: RHO-1 (Lin et al., 2024), which ranks tokens by excess loss relative to the target distribution, and BLADE (Wang et al., 2026), which performs bi-level optimization for large-scale data selection. For EL2N, InfoBatch, and Token-Cleaning, we adapt their public implementations only as needed for our common data interface and training pipeline. For RHO-1 and BLADE, for which no public implementations are available, we implement the methods following their published descriptions. Method-specific settings otherwise follow the corresponding papers or released implementations, while every selected model is trained with the shared configuration in Table 6.
Evaluation. We report held-out target loss, which is evaluated on the distribution used to define and therefore reflects the train–target gap more directly than downstream accuracy. We additionally report accuracy on eight complementary mathematics benchmarks: GSM8K (Cobbe et al., 2021), MATH (Hendrycks et al., 2021), SVAMP (Patel et al., 2021), ASDiv (Miao et al., 2020), MAWPS (Kedziorski et al., 2016), TabMWP (Lu et al., 2023) for tabular reasoning, MathQA (Amini et al., 2019) for operation-based multiple-choice reasoning and MMLU-STEM (Hendrycks et al., 2020). This evaluation encompasses diverse question types like multiple-choice and open-ended questions.
A.6 COMPARISONS WITH STANDARD DEVIATION
Each real-world LLM training experiment is run 5 times independently. The results, including the standard deviation, are reported in Table Table 7, Table Table 8 and Table Table 9.
Public implementations: EL2N, https://github.com/mansheej/data_diet; InfoBatch, https://github.com/NUS-HPC-AI-Lab/InfoBatch; and Token-Cleaning, https://github.com/UCSC-REAL/TokenCleaning.
Table 7: Comparison of data mixture optimization methods in the no-gap regime (). The averaged target perplexity and standard deviation over 5 independent runs are reported.
| Methods | Arxiv | Book | C4 | CommonCrawl | Github | Stackexchange | Wikipedia | Average |
|---|---|---|---|---|---|---|---|---|
| Uniform | ||||||||
| RegMix | ||||||||
| DoGE | ||||||||
| Skill-It | ||||||||
| Aioli | ||||||||
| TANDEM |
Table 8: Comparison of data mixture optimization methods under endogenous () and exogenous () train-target gaps. The averaged target perplexity and standard deviation over 5 independent runs are reported.
| Methods | Endogenous Gap | Exogenous Gap | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Arxiv | Book | C4 | CommonCrawl | Github | Stackexchange | Wikipedia | Average | CommonCrawl | |
| Uniform | |||||||||
| RegMix | |||||||||
| DoGE | |||||||||
| Skill-It | |||||||||
| Aoili | |||||||||
| TANDEM | |||||||||
Table 9: Comparison of data selection methods with an in-distribution OpenWebMath target (no gap, , upper) and the shifted MetaMath–Mammoth reasoning target (with gap, , lower). Results on 8 downstream tasks and the averaged accuracy are reported. Each experiment is carried out 5 times.
| Train Tokens | GSM8K | MATH | SVAMP | ASDiv | MAWPS | TAB | MQA | MMLU-STEM | Avg. | |
|---|---|---|---|---|---|---|---|---|---|---|
| Selection without Gap | ||||||||||
| Base | - | 2.9 | 3.2 | 11.0 | 18.1 | 20.4 | 12.5 | 14.6 | 16.1 | 12.4 |
| Base-CT | 5B | |||||||||
| Random | 3B | |||||||||
| EL2N | 3B | |||||||||
| InfoBatch | 3B | |||||||||
| Token Cleaning | 3B | |||||||||
| RHO-1 | 3B | |||||||||
| BLADE | 3B | |||||||||
| Selection with Gap | ||||||||||
| Base | - | 2.9 | 3.2 | 11.0 | 18.1 | 20.4 | 12.5 | 14.6 | 16.1 | 12.4 |
| Base-CT | 5B | |||||||||
| Random | 3B | |||||||||
| EL2N | 3B | |||||||||
| InfoBatch | 3B | |||||||||
| Token Cleaning | 3B | |||||||||
| RHO-1 | 3B | |||||||||
| BLADE | 3B | |||||||||
A.7 LIMITATIONS AND FUTURE WORK
While our analytic characterization and empirical results provide a unified, gap-centric account of data curation, several challenges remain open for future research. The limitations of this paper are as follows: (1) Due to limited computational resources, our real-world experiments evaluate models up to 1.1 billion parameters. (2) Our analytic characterization relies on static high-dimensional limits that abstract away LLM training dynamics and data curriculum order. While our theory cleanly distinguishes finite-budget acceleration from genuine advancement, extending these solvable models to capture precise convergence speeds or detailed data consumption trajectories presents an interesting direction for future investigation.
A.8 NOTATION
Table 10: Summary of the notations used throughout this paper. Variables only used in theoretical analysis are grayed for better readability.
| Symbol | Meaning |
|---|---|
| Data and dimensions | |
| input dimension. | |
| number of training examples. | |
| total sample budget (samples per dimension). In high-dim limit , fixed. | |
| sample budget contributed by domain . | |
| input data. | |
| label generated by a teacher. | |
| number of domains. | |
| standard Gaussian density. | |
| Teachers, student, model | |
| teacher vector of domain . | |
| target teacher. | |
| teacher angle (exogenous gap) between and the target. | |
| student weights = model parameters (replica symbol). | |
| model parameters (). | |
| student–target overlap in Appendix A.2. | |
| Curation controls | |
| curation weights: mixture ratios or per-example keep weights. | |
| target mixture ratio. | |
| retained fraction of the candidate set. | |
| regularization coefficient in the mixture model. | |
| disagreement penalty in the selection policy. | |
| difficulty: nuisance variance orthogonal to a teacher (Appendix A.1) | |
| Order parameters (state evolution / replica) | |
| student–teacher overlap for domain . | |
| student self-overlap. | |
| response term. per domain in the multi-environment case. | |
| teacher-conditional variance in the loss integrals (, ). | |
| margin constraint parameter (hard-margin solver). | |
| student–training-teacher overlap; in the matched-target case it is also the target overlap. | |
| conjugate (hat) overlaps in the SE fixed point. | |
| Performance and diagnostic | |
| target performance at sample budget under allocation ; for selection we write . | |
| fixed target-performance level used to define acceleration. | |
| empirical train–target diagnostic on the baseline model (Section 4) | |