Unit 2 · Architecture
Lesson 08 · Available to read
Scaling Laws: Why Bigger Models (Usually) Get Smarter
How loss falls predictably with parameters, data and compute, what 'compute-optimal' means, and the debate over emergence.
Why have AI labs spent ever-larger sums training ever-larger models? Because of one of the most surprising empirical findings in the field: language-model performance improves predictably with scale. This lesson explains those scaling laws, the famous correction that changed how models are trained, and the debate about "emergent" abilities.
Three ingredients
Three quantities define the scale of a training run:
- N — parameters: the number of weights in the model.
- D — data: the number of training tokens.
- C — compute: the total arithmetic, measured in floating-point operations (FLOPs).
They're tied together by a handy rule of thumb for transformers:
C ≈ 6 × N × D
Each token passing through each parameter costs about 2 FLOPs forward and 4 backward. Example: a 70-billion-parameter model trained on 1.4 trillion tokens needs about 6 × 70×10⁹ × 1.4×10¹² ≈ 5.9 × 10²³ FLOPs.
The power law
In 2020, researchers at OpenAI (Kaplan et al.) trained many models across several orders of magnitude and found that test loss followed a power law in each ingredient, when the others weren't a bottleneck:
L(C) ≈ a · C^(−α)
On a log–log plot a power law is a straight line, which makes it easy to fit on small, cheap models and extrapolate to big, expensive ones.
The exponents are small. With α around 0.05, ten times more compute multiplies the loss by 10^(−0.05) ≈ 0.89 — about an 11% reduction. Progress is reliable but expensive: every constant improvement needs a multiplicative increase in resources. That's why frontier training runs cost so much.
Why does this matter? Labs can predict how good a model will be before training it, choose the model size for a budget, and decide whether a bigger run is worth it. Lower loss also tends to come with better downstream abilities, though the link is looser than the loss curve itself.
Chinchilla: you're training it wrong
The 2020 analysis suggested putting most extra compute into bigger models. In 2022, DeepMind's Chinchilla paper (Hoffmann et al.) redid the analysis more carefully and reached a different conclusion: parameters and data should grow together, in roughly equal proportion. Their compute-optimal recipe works out to about 20 training tokens per parameter.
By that standard, many models of the day were too big and undertrained. To prove it, they trained Chinchilla — 70B parameters on 1.4T tokens — with about the same compute as their earlier Gopher model (280B parameters, 300B tokens). Chinchilla beat Gopher on most benchmarks while being four times smaller, and therefore cheaper to run.
Beyond compute-optimal
"Compute-optimal" minimises training cost for a given loss. But a model is trained once and then run millions of times. So many labs now deliberately over-train smaller models — on far more than 20 tokens per parameter — to get a model that's slightly worse than optimal for its training budget but much cheaper and faster at inference. Some open models have been trained on hundreds of tokens per parameter.
Two newer pressures shape scaling today:
- Data limits. High-quality human-written text is finite. Labs filter harder, train on multiple epochs of the best data, use more code and multilingual text, and increasingly generate synthetic data.
- Test-time compute. Reasoning models (Lesson 14) spend extra compute at inference by thinking step by step before answering. Performance on hard problems also improves with this kind of compute, giving a second axis to scale.
Emergent abilities — or a measurement mirage?
Some abilities seem to appear suddenly: small models score near zero on a task, then above some scale performance jumps. These were dubbed emergent abilities.
A 2023 critique argued that many of these jumps are partly an artefact of all-or-nothing metrics. If a task is scored by exact match — say, all digits of a multiplication must be right — a model whose per-digit accuracy improves smoothly will still look like it suddenly "gets it". Measured with continuous metrics such as per-token log-likelihood, the same models often improve gradually.
The honest summary: underlying capability usually grows smoothly, but usable abilities — the ones that need many steps to all go right — can still appear abruptly from a user's point of view. Both perspectives matter when forecasting what larger models will do.
Why bigger is only "usually" smarter
- Scaling laws describe loss, not every behaviour. Some failure modes don't shrink with scale, and some get worse (e.g. more convincing errors).
- Data quality and mixture can beat raw size (Lesson 10).
- Post-training (Lessons 11–12) and inference techniques can make a smaller model more useful than a bigger raw one.
- Each step up the curve costs multiplicatively more, so efficiency improvements — better architectures, data and training recipes — matter as much as size.
The takeaway
Loss falls as a smooth, predictable power law in parameters, data and compute; for a fixed budget there is a compute-optimal balance (roughly 20 tokens per parameter in the Chinchilla analysis), and whether new abilities 'emerge' suddenly depends partly on how you measure them.
Practice
0 of 7 attempted
- 1Recall
Name the three quantities that scaling laws relate to model loss, and write the rule of thumb that connects them.
Saved in this browser
- 2Calculate
Estimate the training compute for a 7-billion-parameter model trained on 2 trillion tokens. How many tokens per parameter is that, and how does it compare with the Chinchilla recipe?
Saved in this browser
- 3Calculate
Suppose loss follows L(C) = a · C^(−0.05). By what factor does loss change if compute increases 100×?
Saved in this browser
- 4Explain in your own words
In your own words, what did the Chinchilla paper change about how models are trained?
Saved in this browser
- 5Multiple choice
Why might a lab train a model on far more tokens than the compute-optimal amount?
- 6Explain in your own words
Explain how an exact-match metric can make smooth improvement look like a sudden emergent ability. Use a 5-digit addition example.
Saved in this browser
- 7Apply
Your team has a fixed training budget. One engineer wants the biggest model that fits; another wants a smaller model trained longer. List the questions you would ask to decide.
Saved in this browser