Pick the Mixture, Not the Samples: Combinatorial Data Selection for LLMs
Organizations: Carnegie Mellon University · University of California, Santa Cruz
Abstract
Data selection for LLM fine-tuning faces two facts about real training: data pools draw from many distinct domains, and evaluation spans diverse tasks. As a result, the same sample helps different tasks differently, and samples interact during training so that a subset's value is not the sum of its parts. Current data-selection methods leave these realities largely unaddressed. We formalize them as Combinatorial Data Selection (CDS), a framework that separates attribution (how samples are scored) from selection (which subset to pick) and models the non-additive interactions among samples. On a real instruction-tuning data pool, we find substantial cross-domain complementarity (joint utility exceeds the sum of singletons), alongside redundancy within domains. Inspired by this, we propose Mixture-then-Select, a two-stage algorithm that first decides how many samples to take from each domain, then ranks samples within each domain by attribution score. Theoretically, the gap to the optimal subset is linear in the selection size and independent of data pool size. Empirically, Mixture-then-Select outperforms strong baselines by 20 to 54%, is robust across attribution methods, and works across different models and data pool sizes. The framework also extends to the data purchasing problem under a budget constraint when sample prices vary. Our findings suggest that allocating selection across domains offers a promising path toward more efficient and effective data selection for modern LLMs.
Figures & tables
| Direction | Method | Interactions | Size | Budget | Guarantee | Mixture |
| Data attribution | Data Shapley ( Ghorbani and Zou, 2019 ) | ✗ | ✗ | ✗ | ✗ | ✗ |
| Per-sample scores | ✗ | ✗ | ✗ | ✗ | ✗ | |
| Data selection and distillation | Dataset distillation ( Wang et al., 2020 ; Zhao et al., 2021 ) | ✗ | ✓ | ✗ | ✗ | ✗ |
| -DPP ( Kulesza and Taskar, 2011 ) | ✗ | ✓ | ✗ | ✗ | ✗ | |
| DoReMi ( Xie et al., 2023 ) / RegMix ( Liu et al., 2025 ) | ✗ | ✗ | ✗ | ✗ | ✓ | |
| Stratified | ✗ | ✓ | ✗ | ✗ | ✓ |
| Selection | Attribution | Qwen3-8B | Qwen3-8B | Llama-3.2-3B |
|---|---|---|---|---|
| Panel A. Full leaderboard: MtS vs. 11 baselines, each with its native attribution. | ||||
| MtS | Oracle | |||
| Stratified | Oracle | |||
| Oracle | ||||
| Method | IFEval | MMLU | GSM8K | ARC-C | HumanEval |
|---|---|---|---|---|---|
| MtS ∗ | 0.5048 | 0.7254 | 0.8062 | 0.5857 | 0.8049 |
| RegMix | 0.4822 | 0.7136 | 0.7959 | 0.5558 | 0.7703 |
| DoReMi | 0.4802 | 0.7149 | 0.8016 | 0.5316 | 0.7622 |
| LESS † | 0.4484 | 0.7213 | 0.7930 | 0.5486 | 0.7512 |
| Method | GPU-hr | ||
|---|---|---|---|
| Stratified | 1k | ||
| Stratified | 5k | ||
| EL2N | 1k | ||
| MtS | 1k | ||
| MtS | 5k | ||
| Full data | 50k |
| Method | |||
|---|---|---|---|
| Additive LP | |||
| MtS | |||
| Oracle | |||
| MtS Additive LP | |||
| Optimality recovery |
Appendix figures & tables32 assets
Supplementary material from the paper’s appendix.
Appendix
| Symbol | Description |
|---|---|
| Data catalog | |
| Cost of sample | |
| Selection budget | |
| True utility of subset | |
| Individual value of sample | |
| Pairwise interaction ( : substitutes, : complements) |
| Form / quantity | Form | Raw value | Ratio vs. entrywise |
|---|---|---|---|
| Entrywise (centered) | (baseline) | ||
| Spec-Main | |||
| component breakdown | N/A | ||
| vs. on benchmarks | (all benchmarks) | N/A |
| Variant | Evaluations | loss vs. exact | Guarantee |
|---|---|---|---|
| Exact IA-Greedy | 0% | ||
| Lazy IA-Greedy | avg | 0 to 1.3% | empirical |
| Stochastic IA-Greedy | 2 to 5% |
| Setting | Specification |
|---|---|
| Data | Alpaca ( Taori et al., 2023 ) , GSM8K ( Cobbe et al., 2021 ) , HumanEval ( Chen et al., 2021 ) , ARC-Easy ( Clark et al., 2018 ) . |
| Split | training and held-out samples per domain; training and evaluation samples total. |
| Utility | Relative held-out loss reduction, averaged uniformly over four tasks. |
| Pythia-1B | Full fine-tuning; epochs; learning rate . |
| Qwen3-1.7B/8B | LoRA rank , , projections; epochs; learning rate . |
| Precision / hardware | bf16; NVIDIA L40S ( GB). |
| Method | Wall-clock | GPU-hours |
|---|---|---|
| Mixture-then-Select (calibration step, 8 domain fine-tunes in parallel) | hr | |
| LESS extract_train (80 chunks, 8 GPUs parallel) | hr | |
| DEITA (scoring) | hr | |
| EL2N (scoring) | hr | |
| Facility Location (embedding + greedy) | hr | |
| Superfiltering (scoring) | hr |
| Method | select | train (5-seed) | total | vs. MtS m=1000 | ||
|---|---|---|---|---|---|---|
| (GPU-hr) | (GPU-hr) | (GPU-hr) | ||||
| Stratified (oracle) | ||||||
| Greedy (oracle) | ||||||
| Random | ||||||
| -DPP | ||||||
| Superfiltering |
| Base model | Cross-domain | Tasks complementary | ||
|---|---|---|---|---|
| Pythia-1B (full FT) | 0/60 (0%) | |||
| Qwen3-1.7B (LoRA) | 0/60 (0%) agg; 60/60 HE | (HumanEval) | ||
| Qwen3-8B (LoRA) | 38/60 (63%) |
| Eval task | Positive % | Mean | Per-task |
|---|---|---|---|
| Alpaca (instruction) | |||
| GSM8K (math) | |||
| HumanEval (code) | |||
| ARC (reasoning) |
| Method | ||||
|---|---|---|---|---|
| Random | ||||
| Greedy-by-Value | ||||
| EL2N ( Paul et al., 2021 ) | ||||
| Facility Location | ||||
| CRAIG ( Mirzasoleiman et al., 2020 ) | ||||
| LESS ( Xia et al., 2024 ) |
| Diagnostic | Result |
|---|---|
| Triplet variance explained (approximately 100 triplets) | 90% |
| Singleton-only prediction MAE | 0.014 |
| Singleton + pairwise prediction MAE | 0.004 |
| Cross-task-group Pearson correlation (4,998 pair edges) | 0.903 |
| Proxy | AUC | |||
|---|---|---|---|---|
| Gradient cosine ( M dim) | N/A | |||
| Calibrated predictor (Ridge) | ||||
| Calibrated predictor (GBR) |
| Method | |||||||
|---|---|---|---|---|---|---|---|
| Mixture-then-Select | |||||||
| D1 (set-level) | |||||||
| Stratified | |||||||
| (Mixture-then-Select Strat) | |||||||
| (paired ) | (loss) | tie | (tie) | (tie) | (tie) |
| Variant | Features | mean std | vs. Full |
|---|---|---|---|
| D1 Full ( features) | domain-hist + + -mean + -std | ||
| D1 -only | domain-histogram only ( features) | ||
| D1 -stats only | mean + std of ( features) |
| Condition | Status | ||
|---|---|---|---|
| Oracle, , | tie | ||
| Oracle, , | ✓sig | ||
| Oracle, , | ✓sig | ||
| Oracle, , , lr | trending | ||
| Oracle, | ✓sig | ||
| LESS, | ✓sig (paired, ) |
| Budget | MtS | Strat | Greedy | ||
|---|---|---|---|---|---|
| EL2N attribution ( seeds per cell) | |||||
| ( ) | |||||
| ( ) | |||||
| ( ) | |||||
| LESS attribution ( seeds per cell) | |||||
| ( ) | |||||
| Domain assignment | Measurement | Result |
|---|---|---|
| Original eight domains | Utility gain over Stratified | 4.3% |
| Four coarsened domains | Utility gain over Stratified | 3.5% |
| Eight utility-derived clusters | Utility gain over Stratified | 3.2% |
| 20% corrupted labels | Four-task composite change |
| Assignment approach | Mean Jaccard |
|---|---|
| Perturbed labels, no reassignment | 0.403 |
| Combined embedding and utility similarity | 0.806 |
| Embedding similarity to domain averages | 0.762 |
| Utility-profile similarity to domain averages | 0.749 |
| Ambiguous samples | Method | Held-out utility | Equal4 |
|---|---|---|---|
| 10% | Stratified | 0.2886 | 0.6336 |
| MtS, | 0.2957 | 0.6506 | |
| 30% | Stratified | 0.28856 | 0.62933 |
| MtS, | 0.29746 | 0.64454 |
| Method | vs. Stratified | |||
|---|---|---|---|---|
| Mixture-then-Select | 8 | 15 | ( ) | |
| Stratified | 8 | 5 | N/A | |
| Mixture-then-Select- | 4 | 5 | ( ) | |
| Stratified- | 4 | 5 | N/A |
| Method | math | code | QA | dlg | rsn | nlp | cpx | crv | agg |
|---|---|---|---|---|---|---|---|---|---|
| Mixture-then-Select | |||||||||
| Stratified | |||||||||
| Greedy (oracle) | |||||||||
| Greedy + EL2N | |||||||||
| LESS | |||||||||
| Superfiltering |
| Method | Uniform | math 3 | code 3 | reason 3 | complex 3 |
|---|---|---|---|---|---|
| Mixture-then-Select | |||||
| Stratified | |||||
| Greedy (oracle) | |||||
| Greedy + EL2N | |||||
| LESS | |||||
| Superfiltering |
| Model | IFEval | MMLU | GSM8K | ARC-C |
|---|---|---|---|---|
| Qwen3-8B | 0.4894 | 0.7061 | 0.7973 | 0.5660 |
| Qwen2-72B base | 0.3777 | 0.8376 | 0.8764 | 0.6348 |
| Method | Mean | Std | vs. Strat | (paired) |
|---|---|---|---|---|
| Mixture-then-Select (Qwen + Llama ) | ||||
| Stratified (Llama within-domain) | N/A | N/A | ||
| Random (Qwen-selection-transfer) | ||||
| Facility Location (transfer) | ||||
| DEITA (transfer) † | ||||
| -DPP (transfer) |
| Method | math | code | gen. qa | dialog | reason. | nlp | cmplx | creative | agg |
|---|---|---|---|---|---|---|---|---|---|
| Mixture-then-Select | |||||||||
| Stratified | |||||||||
| LESS | |||||||||
| EL2N |
| LoRA | (MG Strat) | paired | ||
|---|---|---|---|---|
| 50K | 16 | 0.099 | 0.001 | 10 |
| 100K | 8 | 0.036 | 0.062 | 5 |
| 200K | 8 | 0.053 | 0.001 | 5 |
| Setting | Specification |
|---|---|
| Pool | Math, code, general QA; five vendors per cluster, samples per indivisible bundle ( samples total). |
| Prices / budgets | One price per cluster, independently; budgets of ; ten price/utility shuffles shared across methods. |
| Training | Llama-3.2-3B-Instruct, LoRA rank , three epochs, learning rate ; five training seeds. |
| Candidate allocations | All feasible cluster counts , selecting the top vendors by individual utility within each cluster. |
| Additive LP | Maximizes , where is five-seed held-out utility from training on that cluster alone. |
| Joint-aware MtS | Scores the same feasible allocations by measured joint-training utility. |
| inst | Add. LP | MtS (joint-aware) | Oracle | MtS Add | Recovery | |
|---|---|---|---|---|---|---|
Data Selection
Data selection chooses informative, representative, or reliable examples to improve model training and evaluation while reducing data, compute, or labeling costs.
See all 85 papers