TL;DR
Modern AI runs on predictable scaling laws for model size and dataset size, yet curating high-quality data remains a dark art of manual guesswork and expensive trial-and-error. This paper proves that data curation itself follows a clean power law: the more small-scale "ablation" experiments you run to find a good data recipe, the predictably better your final model gets. By bringing data curation into the math of scaling laws, you can systematically split your compute budget between finding better data and training a bigger model—unlocking performance for half the compute of traditional methods.
What Problem Does This Paper Address?
If you want to build a frontier AI model today, you’re hitting a wall: we are running out of high-quality human text, even as compute keeps getting cheaper. Because what you feed a model matters immensely, AI labs spend massive amounts of compute—often matching or exceeding the cost of the final training run itself—testing different "data recipes" (combinations of quality filters, deduplication strengths, and domain mixtures like code vs. math) on smaller proxy models.
Until now, this process has been purely heuristic. Engineers had no principled way to answer basic questions like: If we run 100 more small data experiments, how much better will our final model actually get? Or more importantly: With a fixed budget of GPU hours, should we spend our remaining compute making the final model bigger, or searching for a cleaner dataset?
Methods
The authors reframe the messy trial-and-error of data curation into a clean mathematical framework:
- Data Ablation as Zero-Order Optimization: When engineers test $K$ different data recipes and pick the winner based on validation loss, they are performing zero-order optimization—optimizing a black-box function by sampling outputs without being able to take gradients through the training pipeline. Drawing on classic optimization theory, the authors show that whether you use standard Random Search or Bayesian Optimization (specifically GP-UCB), the gap between your best-found recipe and the theoretical ideal shrinks as a power law ($AK^{-\alpha}$) as $K$ increases.
- Extending Chinchilla Scaling Laws: Classic "Chinchilla" scaling laws predict pretraining loss based on model parameters ($N$) and training tokens ($D$). The authors introduce $K$ (number of ablation runs) directly into the data term: $\frac{B + CK^{-\gamma}}{D^\beta}$. Intuitively, better data curation acts like a token-efficiency multiplier—it strips away "noise," making every training token count for more without changing the fundamental learning rate of the model.
- Tokens-Per-Parameter (TPP) Matching: In practice, you don't run 200 experiments at full scale; you run them on tiny proxy models. To ensure the winning recipe on a tiny model is still the winner at massive scale ("rank consistency"), the authors enforce TPP matching: keeping the ratio of training tokens to parameters ($D/N$) identical between the tiny proxy runs and the final target run.
Datasets
Rather than introducing a new benchmark, the authors evaluate data curation dynamics across existing datasets spanning four distinct stages of LLM training:
- Pretraining: Ablating language filter thresholds, deduplication, and mixing ratios starting from the DCLM baseline mixed with FineWebEdu, evaluated via validation loss on The Pile.
- Supervised Fine-Tuning (SFT): Mixing domains within the Tulu 3 SFT Mixture.
- Direct Preference Optimization (DPO): Tuning mixtures of HHH and HelpSteer.
- Reinforcement Learning (GRPO): Mixing math reasoning problems from MATH and GSM8K.
Key Insights and Ideas
- Data Curation Joins the "Bitter Lesson": Rich Sutton’s famous "bitter lesson" states that general methods leveraging scaled compute eventually beat human-crafted heuristics. This paper shows data curation is the next domino to fall—turning "dirty data work" into a third predictable scaling axis alongside pretraining and inference-time compute.
- Why Proxy Experiments Fail (and How to Fix Them): Under-training a tiny proxy model (using a much smaller token-to-parameter ratio than your final run) scrambles the leaderboard of which data recipes are best. Matching the TPP ratio locks those rankings in place, even across different architectures (like using a Llama-3 proxy for an OLMo target).
- The Curation Phase Transition: Spending compute on data experiments isn't always worth it! Below a critical compute threshold ($\sim 10^{18}$ FLOPs), the overhead of running proxy tests outweighs the gains—you're better off pouring every FLOP into the main training run. Above that threshold, optimal curation effort ($K^*$) takes off as a power law of your total budget.
- Diagnosing Pipeline Bottlenecks: Fitting small-scale scaling curves reveals where to focus engineering effort. For example, tweaking deduplication beats language filtering if you only run 5 tests, but language filtering has a steeper power law and wins out if you can afford 20+ runs.
Key Results
- Universal Power-Law Fit: Across pretraining (roughly 6,000 runs spanning 250 recipes on 60M–600M OLMo models), SFT, DPO, and GRPO, the best-recipe performance tracks a power law with $R^2 > 0.98$, accurately predicting returns on held-out, larger experiment budgets.
- 2× Compute Efficiency: When jointly optimizing model size, token count, and data curation budget ($N, D, K$), the new curation-aware Pareto frontier strictly beats the standard Chinchilla baseline at scale. At a budget of $10^{20}$ FLOPs (with a fixed 300M model), balancing data quality and quantity achieves the exact same validation loss that requires 2× the compute under standard Chinchilla allocation.
Limitations and Future Work
- Scale of Pretraining Validation: Because mapping out optimization landscapes required running ~6,000 separate trainings across 250 recipes, pretraining models were capped at 600M parameters. Validating the extended Chinchilla equation at 10B+ parameter scales remains an open next step.
- Choosing Proxy Model Size: While TPP matching tells you how long to train a proxy model once its size is picked, there is still no mathematical rule for picking the smallest viable proxy model ($N_{\text{proxy}}$) before scaling laws break down.
- Synthetic Data Integration: Beyond filtering existing data, labs also spend compute generating synthetic data. Discovering whether a unified scaling law governs both ablation search and synthetic generation is a prime question for future work.
Summary updated