TL;DR
While we’ve long known that pretraining loss scales predictably with compute, downstream benchmark performance has often been dismissed as too noisy to model. This paper proves otherwise, demonstrating that a simple power law can accurately forecast benchmark accuracy directly from the training budget. This approach outperforms complex two-stage methods and provides a reliable roadmap for scaling model capabilities.
What Problem Does This Paper Address?
In the world of Large Language Models (LLMs), "Scaling Laws" are the crystal balls researchers use to predict how a giant model will perform based on experiments with tiny ones. Traditionally, these laws focus on proxy metrics like cross-entropy loss or perplexity. However, a model with low loss isn't always a model that can solve math problems or write code effectively.
Predicting downstream task performance (like accuracy on the Bar Exam or a coding benchmark) has historically been considered unreliable. Critics often point to "emergent abilities"—capabilities that seem to appear out of nowhere—as evidence that downstream scaling is non-linear and unpredictable. Previous attempts to solve this used a "two-stage" approach: first predicting loss from compute, then predicting accuracy from loss. The authors of this paper argue that this two-stage process is prone to "compounding errors," where small inaccuracies in the first step explode in the second.
Methods
The authors propose a direct framework to model scaling. Instead of using loss as a middleman, they map training FLOPs (compute) directly to benchmark accuracy.
- The Power Law for Log-Accuracy: They found that for a fixed token-to-parameter ratio, the relationship between accuracy ($Q$) and compute ($C$) is best described by: $$-\log(Q) = \frac{A}{C^\alpha}$$ This simple two-parameter formula effectively captures the "S-curve" behavior of model improvement—slow progress at first, a rapid rise, and eventual saturation.
- Normalization: To account for multiple-choice benchmarks where random guessing yields a baseline score (e.g., 25% for four options), they apply a transformation to "zero out" random-guess performance before fitting the law.
- Multi-Variable Scaling: They extend the law to account for both model parameters ($N$) and dataset size ($D$) independently, allowing them to predict performance even when the ratio of data to parameters changes.
- Inference Compute: For coding tasks, they derive a formula to predict
pass@k(the probability of getting a correct answer in $k$ attempts), showing that even "repeated sampling" follows a predictable power law.
Datasets
The researchers conducted an exhaustive suite of 130 experiments.
- Training Data: A primary mixture consisting of 75% DCLM (web data), 15% Stack v2 (code), and 10% OpenMathReasoning. They also used the C4 dataset for ablation studies to see how data composition affects the laws.
- Evaluation Benchmarks: They tested 12 popular benchmarks covering general knowledge, reasoning, math, and code, including:
- Reasoning/Knowledge: ARC (Easy & Challenge), SciQ, PIQA, HellaSwag, Winogrande, TriviaQA.
- Linguistic: LAMBADA.
- Math/Code: GSM8k, HumanEval, LBPP, WebQS.
Key Insights and Ideas
- Direct is Better than Two-Stage: The "aha moment" is that while two-stage models often look like a better fit on existing data, they are terrible at extrapolation (predicting the future). The direct power law is much more stable when forecasting models up to 6.7x larger than the training set.
- Log-Accuracy is the Natural Scale: By modeling the negative log of accuracy, the researchers found a near-linear relationship in log-log space. This suggests that benchmark progress isn't a series of "breaks" or "emergences," but a smooth, predictable climb.
- Data Mixture is a Constant, Not a Variable: The scaling laws hold regardless of the dataset (DCLM vs. C4), but the coefficients change. For example, a model trained on C4 will still follow a scaling law on math benchmarks, but its absolute performance will be much lower because the data lacks math content.
- No "Irreducible Error" Needed: Unlike pretraining loss, which has a theoretical floor (the entropy of the language), accuracy has a ceiling (100%). The authors found they didn't need a "floor" term in their equations to get accurate results.
Key Results
- High Predictive Accuracy: The proposed power law achieved a Mean Relative Error (MRE) of less than 2% on validation sets.
- Successful Extrapolation: When training on small models (up to 2.5B parameters) and predicting the performance of a 17B parameter model, the law remained highly accurate.
- Stability: The direct power law was found to be significantly more robust to the "FLOPs threshold"—it requires less training data to "settle" into a predictable trend compared to other methods like the Broken Neural Scaling Law (BNSL).
- Code Scaling: They successfully predicted
pass@krates, showing that increasing inference compute (more samples) scales just as predictably as increasing training compute.
Limitations and Future Work
- The "Scale Threshold": Scaling laws only become reliable after a certain minimum compute threshold. If a model is too small to even begin understanding a task, the law won't fit.
- Beyond Pretraining: This study focused on base models. The authors acknowledge that instruction tuning and RLHF (Reinforcement Learning from Human Feedback) likely reshape these scaling curves, which remains an open area for research.
- Metric Sensitivity: While aggregate benchmarks are smooth, individual "all-or-nothing" tasks within a benchmark can still show non-monotonic behavior.
- Mechanistic Gap: The paper provides a robust empirical formula but does not yet explain the mechanistic reason why these specific exponents ($\alpha, \beta$) appear across different tasks.
Summary updated