Scaling Laws for Neural Language Models
1. Research problem
Model quality improved with scale, but there was no quantitative law telling practitioners how to allocate compute among parameters, data, and training time.
2. Motivation
The authors wanted empirical scaling laws that make large training runs predictable rather than exploratory.
3. Previous approaches
Earlier work noted that bigger models performed better; no systematic power-law fits across compute, dataset size, and parameter count existed for language models.
4. Core contribution
Showed that cross-entropy loss follows smooth power laws in compute, dataset size, and parameter count, and gave a compute-allocation recommendation favoring large models trained on fewer tokens.
5. Mathematical formulation
L(N) = (N_c/N)^alpha_N plus irreducible loss, with analogous laws in dataset size D and compute C; fits are made on models from small to billion-parameter scale.
6. Methodology
Train many transformer language models over a grid of sizes, datasets, and compute budgets, fit power laws, and extrapolate.
7. Architecture
Decoder-only transformers trained on a WebText-like mixture.
8. Experimental setup
Large grid of language-model training runs with loss measured on held-out text.
9. Datasets
WebText2-style web text corpora used for training and evaluation.
10. Results
Provided accurate predictive laws and guided the design of ever-larger models for several years.
11. Limitations
The recommended token-to-parameter allocation was later shown suboptimal; laws describe loss, not downstream capabilities; extrapolations can fail at new scales.
12. Critical analysis
Transformative as an empirical methodology, but its specific compute prescription was corrected by Chinchilla.
13. Implementation tasks
- 1.Train a grid of small language models and fit a power law of loss versus parameters.
- 2.Compare fitted predictions with held-out larger runs.
- 3.Estimate the irreducible loss term and discuss identifiability.
14. Follow-up work
- 1.Training Compute-Optimal Large Language Models (Hoffmann et al., 2022)
- 2.Language Models are Few-Shot Learners (Brown et al., 2020)
15. Open research questions
- 1.Do scaling laws hold for downstream tasks as they do for loss?
- 2.How should laws be fit when data quality changes with scale?