All courses

Predict how loss and capabilities scale

Use scaling laws to predict loss improvements from more parameters, data or compute. Explain why lower loss implies broad capability gains and judge claims of emergent abilities and benchmark results critically.

Builds on: Compute-optimal training (Chinchilla), Emergent abilities vs smooth improvement, Prediction as compression

▶ Watch this lesson Start the whole course

What the animation says

A floor plus two gaps

Your team can afford ten times more training compute. How much lower will the loss be? Start by splitting today's loss of 2.10 into three parts. The floor, 1.69, is the text's own unpredictability. No model removes it. The parameter gap, 0.17, comes from having too few parameters. The data gap, 0.24, comes from training on too little data. Now grow only the parameters and keep the data fixed. Tap the piece that shrinks.

Ten times compute, in numbers

Each multiplicative step in a resource shrinks its gap by a fixed fraction. Spent well, ten times compute grows parameters and data each by the square root of ten, about 3.16. The parameter gap is multiplied by 3.16 to the minus 0.34, about 0.68. So 0.17 becomes 0.115. The data gap uses minus 0.28, about 0.72. So 0.24 becomes 0.174. Add the floor back: 1.98. The reducible gap fell from 0.41 to 0.29, about 29 percent. Spend another ten times. How much will loss drop this time?

Smooth loss, every skill

About 0.085. Same fraction, smaller gap: loss bends toward the floor and never stops abruptly. That loss is an average over every token: code, arithmetic, facts, arguments. Once easy patterns are learned, further drops must come from harder tokens. So skills improve broadly. Now take an exact-match answer of m tokens. Every token must be right. Accuracy is about e to the minus m times the per-token answer loss. A four-token answer's loss falls evenly: 0.8, 0.5, 0.2. What does accuracy look like?

The jump that isn't

Four percent, fourteen percent, forty-five percent. Plotted against log compute, that looks like a skill suddenly appearing. But look underneath: the answer-token loss improved steadily the whole time. The jump comes from the sharp metric, not from a sudden change in the model. When a paper reports an emergent ability, ask for the per-token loss or log-probability curve.

Is the 3-point win real?

Next claim: a new model scores 63 percent versus 60, on 200 questions. The standard error is the square root of 0.6 times 0.4, over 200. About 3.5 points. A three-point win is smaller than one standard error. It could easily be noise. Also check contamination: test items that leaked into training inflate the score. And ask whether the gain beats what the scaling trend already predicts for the extra compute. Three checks. Tap the one this claim already fails.

What does 10× more compute buy you?

Your team can afford 10× more training compute. Three questions follow. How much lower will the loss be? Which skills will get better? And when a paper reports a capability that *suddenly appears*, or a 3-point benchmark win, should you believe it? Scaling laws let you answer all three with arithmetic before you spend anything.

A floor plus two shrinking gaps

Loss has three parts: - **A floor**: the text's own unpredictability, which no model removes. - **A parameter gap**: loss from too few parameters. - **A data gap**: loss from too little data. Each *multiplicative* step in parameters shrinks the parameter gap by a fixed fraction. Each such step in data shrinks the data gap by a fixed fraction. Returns per FLOP diminish but never stop abruptly. 𝓛 averages over every token: code, arithmetic, facts, arguments. Once the easy patterns are learned, further drops must come from getting the harder tokens right. That is why lower loss means broadly better skills.

The fitted law and the task readout

$$\mathcal{L}(N,D)=E+\frac{A}{N^{\alpha}}+\frac{B}{D^{\beta}}$$ - Here $E, A, B, \alpha, \beta$ are fitted constants. They are not the attention pattern, the batch size or the KL coefficient. - Chinchilla fit: $E\approx1.69$, $\alpha\approx0.34$, $\beta\approx0.28$, in nats/token on their data. - Scaling $N$ by $s$ multiplies the parameter gap by $s^{-\alpha}$. Scaling $D$ by $s$ multiplies the data gap by $s^{-\beta}$. - Compute-optimal: roughly $N,D\propto\sqrt{C}$. - For exact match on an $m$-token answer with mean per-token answer loss $\ell$: accuracy $\approx e^{-m\ell}$. This is smooth in $\ell$ but can look sharp when plotted against $\log C$.

Predicting loss after 10× compute

Today: $\mathcal{L}=2.10=1.69+0.17_{\text{params}}+0.24_{\text{data}}$. Spend 10× compute optimally, so $N$ and $D$ each grow by $\sqrt{10}\approx3.16$. - Param gap: $0.17\times3.16^{-0.34}=0.17\times0.68\approx0.115$ - Data gap: $0.24\times3.16^{-0.28}=0.24\times0.72\approx0.174$ - New $\mathcal{L}\approx1.69+0.115+0.174=1.98$ The reducible gap fell from 0.41 to 0.29, about 29%. The next 10× removes roughly 29% of what is left, about 0.085.

Reading a claimed jump critically

Take a 4-token exact-match answer. Answer-token loss falls smoothly, 0.8 → 0.5 → 0.2, over three model sizes. Accuracy $e^{-4\ell}$ goes 4% → 14% → 45%. It looks like a jump, yet the logprob improved all along. Next, noise. With 200 questions at 60%, the standard error is $\sqrt{0.6\cdot0.4/200}\approx3.5$ points. A 3-point win is smaller than one standard error, so it could easily be noise. Then, contamination: test items that leaked into the training data inflate scores. Finally, ask whether the gain is more than the scaling trend already predicts for the extra compute.

What to remember

Loss falls as a power law toward a floor. Each 10× of compute removes a roughly fixed fraction of the reducible gap, which you can predict in advance. Skills improve because they are part of the averaged loss. Apparent jumps usually come from sharp metrics. Benchmark claims need error bars, contamination checks, and a comparison against the scaling trend.

On Bytewise this lesson comes in small steps with a check at the end, and the app brings it back right before you would forget it.