Scaling laws

The single most consequential fact in modern AI: model loss falls as a smooth power law as you add compute, data, and parameters. On a log-log plot it's a straight line — predictable enough to bet hundreds of billions on.
01The answer, then the intuition
A straight line you can bank on
You'd expect intelligence to be unpredictable. The surprise of the last five years is that, at least for next-token loss, it isn't. Plot a model's loss against the compute used to train it, on log-log axes, and the points fall on a straight line across many orders of magnitude. Double, then re-double the compute, and the loss keeps dropping by the same predictable fraction.
That line is a scaling law, and its flatness is why the industry looks the way it does: a lab can forecast, before spending a dollar, roughly how good the next model will be. Drag the compute budget and watch loss slide down the curve — the same ratio for every factor of ten:
The scaling law — loss vs training compute
Illustrative power law (Kaplan/Chinchilla form). Loss is on a relative scale; the straightness is the point.
02Mechanics
Three knobs, one line
- Three resources. Loss falls as a power law in each of parameters $N$, training tokens $D$, and compute $C \approx 6ND$. More of any one helps — but only if the others keep up.
- Compute-optimal (Chinchilla). For a fixed compute budget, there's a best split between model size and data — grow both together, roughly 20 tokens per parameter. Early models like GPT-3 were too big for their data; Chinchilla showed a smaller, better-fed model wins. This is the rule that reshaped how labs train.
- Predictability. Because the curve is smooth, labs run small "scaling experiments," fit the line, and extrapolate to forecast a giant model's loss before committing the budget. Training frontier models is an engineering plan, not a leap of faith.
- What the loss hides. Smoothly falling loss can still produce emergent jumps in specific abilities — a capability that's absent, then suddenly present, as scale crosses a threshold. The aggregate is predictable; the surprises live in the details.
The catch is baked into the shape: a power law with a small exponent means diminishing returns. Each equal step down in loss costs another full factor of ten in compute. The line is friendly to forecasting and brutal to budgets.
04The math
expand ▾The power law, and its price
04The math
expand ▾The power law, and its price
Empirically, loss follows a power law in compute (and similarly in $N$ and $D$):
Taking the log makes it a straight line — slope $-\alpha_C$ — which is why log-log plots are the field's native language. The full Chinchilla form separates the contributions and an irreducible floor $E$:
The small exponent is the whole economic story. With $\alpha_C \approx 0.05$, every $10\times$ in compute multiplies loss by $10^{-0.05} \approx 0.89$ — a fixed ~11% cut per decade. Constant progress therefore demands exponentially growing spend: to keep the loss falling in a straight line, the compute (and the bill) must rise geometrically. Predictable, and relentless.
05The code
expand ▾The same cut, every decade
05The code
expand ▾The same cut, every decade
Loss across five orders of magnitude of compute — note the identical ratio at every step.
scaling.py
alpha = 0.050 # compute exponent (illustrative, Kaplan-ish)
Cc = 1e21
def loss(C): return (Cc / C) ** alpha
prev = None
for C in [1e21, 1e22, 1e23, 1e24, 1e25]:
L = loss(C)
ratio = "" if prev is None else f" (x{L/prev:.3f} per 10x)"
print(f"C={C:.0e} -> loss {L:.4f}{ratio}")
prev = L
# C=1e+21 -> loss 1.0000
# C=1e+22 -> loss 0.8913 (x0.891 per 10x)
# C=1e+23 -> loss 0.7943 (x0.891 per 10x)
# C=1e+24 -> loss 0.7079 (x0.891 per 10x)
# C=1e+25 -> loss 0.6310 (x0.891 per 10x) <- 10x the spend, same 11% gain
07Going deeper
expand ▾The primary sources
07Going deeper
expand ▾The primary sources
Kaplan et al. (2020) — Scaling Laws for Neural Language Models · the original power laws.
Hoffmann et al. (2022) — Chinchilla · compute-optimal training, 20 tokens/parameter.
Wei et al. (2022) — Emergent Abilities of LLMs · when smooth loss hides sudden jumps.
Epoch AI — Trends in Machine Learning · measured compute, data, and cost trajectories.
"First Principles — how AI actually works", chapter "Scaling laws", by The Catch. CC-BY 4.0. Hosted at TheCatch.AI / Tech Stack / AI Principles.