Selection, five or more SFT runs on nested subsets (two seeds each), and per-item test scores. Takes: one call after the runs.
The loop
Which rows
trim(n) is the first n rows of one fixed order, so trim(64) sits inside trim(128) and every point on the curve comes from one order. Exact duplicates go last; with embed=, near duplicates too [9].
Selection pays most on large, noisy pools when the ranker knows the target [3][5]. To see what a ranker is worth on your data, run its curve and a random curve on the same sizes; the gap is the value.
How many rows
Three curve forms are fit, each point weighted by its noise,1 / (seed variance / k + item variance / test_n) [12]:
The form that best predicts the largest size from the others wins. Forms are compared by extrapolation, not in-sample fit [11].
N* is the smallest n past which one more doubling gains less than min_gain (default 0.01, one point):
min_gain is what a point is worth to you. It is not the test’s error bar: a threshold tied to the error bar makes N* grow with the test’s size on an identical curve (200, 500, 1,000 and 2,000 items gave 325, 813, 1,627 and 3,254 rows in our first version). The stop rule is progressive sampling’s [13], applied to a fitted curve.
How sure
- Range on N*. A bootstrap resamples test items (the same items at every size, a paired design) and seeds within each size, refits, and reports the 5 to 95% range [12]. The verdict is
saturatedonly when N* falls inside the sizes you trained in at least 90% of draws. - Can the test see
min_gain? The paired detectable gain between the two largest sizes is2.8 * sqrt(2 * seed_var / k + var(item diffs) / test_n)[12]. Ifmin_gainis smaller, the print says so: add items or seeds. - Forecasts. An N* past twice the largest size is labeled
forecast. Downstream scores often break from a clean curve [14], and about 15% of learning curves are ill-behaved [15]. - Other verdicts.
not identifiablemeans over 10% of refits failed, or the power exponent fell under 0.1 (fine-tuning exponents of 0.015 to 0.15 are reported in loss [17]).flatmeans no rising curve fits. Anything butsaturatedorflatkeeps every row.
References
- Xia et al. “Rethinking Data Selection at Scale: Random Selection is Almost All You Need.” arXiv:2410.09335, 2024.
- Diddee, Ippolito. “Chasing Random: Instruction Selection Strategies Fail to Generalize.” arXiv:2410.15225, 2024.
- Ivison et al. “Large-Scale Data Selection for Instruction Tuning.” arXiv:2503.01807, 2025.
- “Measuring Data Diversity for Instruction Tuning” (NovelSum). ACL 2025, arXiv:2502.17184.
- Xia et al. “LESS: Selecting Influential Data for Targeted Instruction Tuning.” arXiv:2402.04333, 2024.
- Lin et al. “Selecting Large Language Model to Fine-tune via Rectified Scaling Law.” ICML 2024, arXiv:2402.02314.
- Hestness et al. “Deep Learning Scaling is Predictable, Empirically.” arXiv:1712.00409, 2017.
- Yuan et al. “Scaling Relationship on Learning Mathematical Reasoning with Large Language Models.” arXiv:2308.01825, 2023.
- Abbas et al. “SemDeDup: Data-efficient learning at web-scale through semantic deduplication.” arXiv:2303.09540, 2023.
- Lin, Bilmes. “Multi-document Summarization via Budgeted Maximization of Submodular Functions.” NAACL 2010.
- Alabdulmohsin, Neyshabur, Zhai. “Revisiting Neural Scaling Laws in Language and Vision.” NeurIPS 2022, arXiv:2209.06640.
- Miller. “Adding Error Bars to Evals: A Statistical Approach to Language Model Evaluations.” arXiv:2411.00640, 2024.
- Provost, Jensen, Oates. “Efficient Progressive Sampling.” KDD 1999.
- Lourie, Hu, Cho. “Scaling Laws Are Unreliable for Downstream Tasks: A Reality Check.” arXiv:2507.00885, 2025.
- Yan, Mohr, Viering. “LCDB 1.1.” NeurIPS 2025 Datasets and Benchmarks, arXiv:2505.15657.
- “Data Repetition Beats Data Scaling in Long-CoT SFT.” arXiv:2602.11149, 2026.
- Zhang et al. “When Scaling Meets LLM Finetuning: The Effect of Data, Model and Finetuning Method.” ICLR 2024, arXiv:2402.17193.