TL;DR
This paper challenges the prevailing view that predicting an LLM's downstream task performance during training is unreliable. By modeling log accuracy directly from the training budget rather than using intermediate proxy metrics, the authors demonstrate that downstream benchmark performance follows a simple, highly predictable power law. This direct approach avoids compounding errors and significantly outperforms traditional two-stage scaling frameworks.
What Problem Does This Paper Address?
When training Large Language Models (LLMs), researchers rely heavily on scaling laws to predict final model quality from smaller, cheaper test runs. Traditionally, these laws focus on proxy metrics like pretraining loss or perplexity. Predicting actual performance on downstream benchmarks (like solving math problems or answering trivia) has long been considered too noisy and unpredictable.
To get around this, previous works used "two-stage" methods: first mapping the training budget to a proxy metric (like loss), and then mapping that proxy to benchmark accuracy. However, the authors argue that this multi-stage pipeline introduces compounding errors, leading to high variance and poor predictions. This paper addresses the challenge of directly and reliably forecasting downstream benchmark accuracy straight from the pretraining compute budget (FLOPs).
Methods
The core proposal is a direct scaling law for downstream performance. Instead of modeling raw accuracy, which often exhibits an erratic "S-shape," the authors model log accuracy as a power law of the training compute ($C$):
$$-\log(Q) = \frac{A}{C^\alpha}$$
Where $Q$ is the normalized accuracy, and $A$ and $\alpha$ are benchmark-specific coefficients.
The authors extend this direct framework in two significant ways:
- Across Token-to-Parameter Ratios (TPRs): They adapt the standard Chinchilla scaling law to predict log accuracy as a function of both parameters ($N$) and dataset size ($D$), intentionally omitting an irreducible error term since a perfect benchmark score (1.0) is theoretically achievable.
- Repeated Sampling ($pass@k$): For coding tasks where a model gets multiple attempts, they derive a novel functional form that accounts for inference compute (the number of samples $k$), demonstrating that the negative log pass rate scales linearly with $\log(k)$ for a fixed training budget.
To handle multiple-choice benchmarks, they introduce a normalization step to account for random guessing baselines ($Q_{random}$).
Datasets
- Pretraining Data: The primary models were trained on a high-quality modern mixture: 75% DCLM, 15% Stack v2 (code), and 10% OpenMathReasoning. To evaluate how data composition affects scaling behavior, they also ablated their results by training a suite of models purely on the classic C4 dataset.
- Evaluation Benchmarks: The framework was validated across 12 popular benchmarks covering diverse capabilities: ARC-Easy, ARC-Challenge, SciQ, PIQA, HellaSwag, WebQS, Winogrande, LAMBADA, TriviaQA, GSM8k, HumanEval, and LBPP.
Key Insights and Ideas
- Log-Accuracy is the Secret: While raw accuracy curves look non-linear and difficult to fit, transforming the target into log-accuracy reveals a clean, predictable power-law relationship against training FLOPs.
- Bypassing Proxies Eliminates Compounding Errors: Although proxy metrics like negative log-likelihood (NLL) or Brier scores correlate strongly with downstream performance, using them as an intermediate step in a two-stage model degrades extrapolation performance. Direct optimization from FLOPs-to-accuracy is cleaner and more robust.
- Predictability Requires a Threshold: Downstream performance is brittle and hard to predict below a certain task-specific compute threshold. Scaling laws only become reliable once the model's compute budget is large enough to push its performance safely above random chance.
Key Results
The authors validated their findings across an extensive suite of 130 experiments, scaling models up to 17 billion parameters and 350 billion tokens.
- Superior Extrapolation: The direct power law consistently beat both the Broken Neural Scaling Law (BNSL) and two-stage methods when extrapolating to larger compute budgets.
- Lower Error Rates: Averaged across all benchmarks, the direct power law achieved a Mean Relative Error (MRE) of just 1.96% and a Mean Absolute Error (MAE) of 0.015. In comparison, the traditional two-stage logistic method yielded a much higher MRE of 6.35%.
Limitations and Future Work
- Empirical vs. Mechanistic: The paper provides an empirical framework that shows that downstream metrics scale predictably, but it does not offer a mechanistic explanation of why these specific functional forms work.
- Data Mixture Dependencies: Scaling laws remain highly conditional on the training data. For instance, when switching to a C4-only dataset, the model's performance on math and coding tasks dropped to near-random chance, completely altering the scaling dynamics.
- Pretraining Scope Only: The study focused strictly on base pretraining checkpoints. How post-training phases—such as instruction tuning, alignment (RLHF), or test-time compute strategies—warp these downstream scaling properties remains an open area for future research.
Summary updated