VisualAI
Chapter 6 · How ChatGPT Was Made

Scaling Laws

The surprising engine of the AI boom: just make it bigger. More data, more parameters, more compute — predictably better.

7 minLesson 17 of 23

The engine behind the whole AI boom is an almost embarrassingly blunt idea: make it bigger, and it gets better — predictably better. Predictable enough to bet a billion dollars on.

Give a model more data, more parameters, and more compute, and its error falls along a smooth, almost boringly reliable curve. There's no magic threshold where understanding switches on — just a steady downhill slope. Push the sliders and watch the loss drop:

Scaling Dashboard

Move all three · toggle log–log

2.02.53.03.54.01×10×100×1,000×10,000×effective scale (data × params × compute)loss (lower = better)
diminishing returns — each 10× buys less

What that loss can write

rough grammar

“The cat sat on the and looked at window the happy.”

Data10×
Parameters (model size)10×
Compute10×
Loss2.80
Bottleneckbalanced

Multi-step arithmetic

locked — grow all three past 1,000×

Raise just one slider and the loss barely moves — the smallest ingredient is the bottleneck. Real labs grow all three together.

Loss falls as a power law of scale. Flip to log–log and the curve becomes a dead-straight line — that line is the 'scaling law'.
Try this

First raise only one slider — notice the loss barely budges. Now raise all three together and watch it dive. Flip to log–log to see the eerie straight line. And keep pushing past 1,000× until the locked skill suddenly switches on.

Bigger, but in balance

That “one slider barely helps” effect is real. A giant model starved of data, or a mountain of data fed to a tiny model, both stall — the weakest ingredient caps the result. The famous Chinchilla finding was exactly this: model size and data have to grow together, or you're wasting the compute.

Key idea

A scaling law says loss is a predictable power law of scale. That predictability is the quiet superpower: labs can forecast how good a model will be before spending months training it — which is how anyone justifies the cost of the next, bigger run.

The strangest twist is the locked skill you unlocked. While average loss glides down smoothly, specific abilities — arithmetic, translation, writing code — can stay near-useless and then appear almost suddenly once the model is big enough. These emergent abilities are part of why bigger models keep surprising even the people who build them.

The payoff

And that closes the loop. Scale built a base model that knows the world; fine-tuning gave it a job; RLHFgave it manners. Tokens in, an assistant out — that's how ChatGPT was made. Next we'll step outside the language-model story entirely and meet the other great ways a machine can learn.