esc
  • WorkflowsPages
  • Case studiesPages
  • Machine Learning FoundationsLearn
  • AI EngineeringLearn
  • AI Guardrails & Red TeamingLearn
  • UI/UXLearn
  • Design SystemsLearn
  • Production System DesignLearn
  • AI papersPages
  • Interview KitPages
  • Book a callContact
  • Download ResumeContact
Let’s talk

I’ll build the agent for it.

What Are Scaling Laws?

How model size, training text and compute move a model's error, and why the 2022 Chinchilla paper changed how teams plan training, for your AI interview.

In short

Scaling laws are measured patterns: as you make a language model bigger, or train it on more text, its error falls in a steady, predictable way. Teams use them to decide how to split a fixed training budget between size and data.

10 min readIntermediateCommon · estimateFacts checked 26 November 2026

Say it out loud

Read it once, then say it without looking. Start with the short one; use the long one when they ask you to go deeper.

Scaling laws are patterns found by measuring many training runs. When you make a language model bigger, or train it on more text, its error falls in a steady, predictable way. The 2022 Chinchilla paper showed that size and text should grow together, so the large models of its day were undertrained. Today the limit is often good text itself, so I'd check the data supply before buying more compute.

What are scaling laws, in plain words?

A scaling law is a rule of thumb backed by measurements. Researchers train many models of different sizes, on different amounts of text, and record how wrong each one is. Then they fit a line through the results. When that line is a power law, each time you multiply the input by the same factor, the error shrinks by the same factor, so the curve is steady and predictable.

Think of a call centre manager adding staff to shorten the phone queue. The first few hires cut the wait a lot, and each hire after that helps a bit less. Past data tells the manager roughly how many people the queue needs. AI teams face the same pattern with three dials: model size, training text and compute.

Key words

Parameters
The numbers inside a model that it learns during training, also called weights.
Training tokens
The pieces of text a model reads while it learns. A token is roughly a word or part of one.
Compute
The total maths work spent on training. It is often counted in GPU hours (hours on graphics chips) or FLOPs (floating-point operations).
Loss
The error score on new text during training. Lower is better.

How do the three dials move the error?

In 2020 Kaplan and colleagues trained many language models and measured their loss. Their abstract says the loss follows a power law in model size, dataset size and the compute used, and that some trends cover more than seven orders of magnitude, a range of more than ten million times. Because it is a power law, a doubling cuts the error by the same fraction each time, so the gains shrink as you go.

Three dials move the error

Model size

parameters: the numbers it learns

Training text

tokens it reads while training

Compute

total maths spent on training

Error (loss)

a power law: each gain costs more

Split the budget

size and text grow together

  1. 1A bigger model lowers the error, with less gain each time.
  2. 2More training text lowers it too, on a similar curve.
  3. 3More compute buys lower error, if size and text keep pace.
  4. 4Pick the split that gives the most gain for the budget.
Model size, training text and compute all push the error down along a power-law curve. The last box is the goal: for a fixed budget, choose the split that gives the most gain.

Two things follow. Each dial helps less as it grows, and the dials depend on each other. Compute is the total work, and that work grows with both the model and the text it reads, so the three dials are linked. A huge model fed a small amount of text wastes budget, and so does a small model trained on a mountain of text.

What did the Chinchilla paper change?

In 2020 Kaplan and colleagues said the best use of a fixed budget was training very large models on a relatively modest amount of data. The 2022 Chinchilla paper argued that current large language models are undertrained for their size, which means they had too little text. It said this was a consequence of the recent focus on scaling language models whilst keeping the amount of training data constant.

  • “current large language models are significantly undertrained”

    Chinchilla paper, 2022

  • “for every doubling of model size the number of training tokens should also be doubled”

    Chinchilla paper, 2022

The paper tested its rule by training a 70 billion parameter model, Chinchilla, on the same compute budget as Gopher, a 280 billion parameter model, but with more text. Chinchilla beat Gopher and several other much larger models on a large range of tests.

How would you use the doubling rule to plan a bank's model?

A mid-size bank wants its own model to answer staff questions about policy. The numbers here are made up. Its archive holds 90 billion clean tokens. The team wants 7 billion parameters with 140 billion tokens, so it is already short before it scales up. It asks what the doubling rule means for the next two sizes.

Python
# Made-up numbers for a bank's policy-model plan.
ARCHIVE_TOKENS_B = 90  # billions of clean policy tokens the bank holds

def tokens_needed(params_b, base_params_b=7, base_tokens_b=140):
    # Doubling the size doubles the text, so the text grows in step with the size.
    return base_tokens_b * params_b / base_params_b

for params_b in (7, 14, 28):
    need = tokens_needed(params_b)
    gap = need - ARCHIVE_TOKENS_B
    print(f"{params_b:>2}B parameters need {need:>4.0f}B tokens, short by {gap:>4.0f}B")

Output

 7B parameters need  140B tokens, short by   50B
14B parameters need  280B tokens, short by  190B
28B parameters need  560B tokens, short by  470B

Read it as a planner would. Doubling to 14 billion parameters needs 280 billion tokens, and the bank has 90. Going to 28 billion needs 560. The compute-optimal rule says the text should keep pace with the size, so the bank shouldn't simply double its model. It has to find more clean text, or repeat what it has, and repeats help only up to a point.

Where do scaling laws break down?

A scaling law describes a trend and promises nothing more. It doesn't say a bigger model will win in your product, and it doesn't say where enough good text will come from.

OpenAI's GPT-4 technical report, from March 2023, says a core part of the project was building infrastructure that behaves predictably across a wide range of scales. It also says the team could predict some aspects of GPT-4's performance from models trained with no more than 1/1,000th of its compute.

When the good text runs out

Chinchilla plan

double the size, double the text

Not enough unique text

good text is scarce and running low

Option one

Repeat old text

more passes over the same text

Grow the model

Spend on capacity

a bigger model, past that point

Gains stop

extra repeats can hurt

Better use of compute

spent on model capacity

  1. 1The plan needs more unique text than the team has.
  2. 2Option one: train on the same text again.
  3. 3Option two: spend the compute on a bigger model.
  4. 4Past a point, extra passes stop helping.
  5. 5The compute goes to model capacity instead.
The plan needs more unique text than exists. Repeating the same text stops helping past a point, so spare compute goes to model capacity instead.
  • “Training compute is increasingly outpacing the availability of high-quality data.”

    2026 paper on data-limited training

  • “Beyond a point, further repetition is counterproductive and compute is better spent on model capacity.”

    2026 paper on data-limited training

The same 2026 paper adds that the widely used Chinchilla law assumes every training token is unique. That assumption limits how well the law guides training when good text is scarce, so the old advice needs care.

Tip

Asked what you would do when the data runs short? Say you would count the unique clean text first, find where repeats stop helping, and only then decide whether to buy compute or collect more data.

What does the interviewer want to hear?

A strong answer covers

  • A plain definition: a measured pattern where error falls as size, text and compute grow.
  • The three dials, and that the error follows a power law.
  • Chinchilla: size and training text should grow together.
  • The limit today: good text is scarce, so repeats stop helping.
  • A scaling law describes a trend. It guarantees nothing.
  • A worked number, such as doubling a model and its text.

Common traps

  • Trap"Bigger models always win."

    BetterOnly while text and compute keep pace with the size. Chinchilla showed that size and text must move together.

  • Trap"Just add more data."

    BetterGood text is scarce and needs cleaning. Count the unique tokens first, then decide.

  • Trap"Scaling always pays off."

    BetterGains shrink with each doubling, and repeats stop helping past a point.

Can you spot the wrong rule?

Spot the wrong rule

Which line in a bank's planning doc breaks the Chinchilla rule?

Quick check

The bank has 90B clean tokens and a bigger compute budget. Which move fits the 2026 paper's finding?

Can you answer these from memory?

Flash cards · tap a card to flip it

1 / 6

What will they ask next?

  1. Q018What are parameters (weights)?11 min
  2. Q015What is pretraining?11 min
  3. Q020What is compute-optimal (Chinchilla-style) training?Coming soon
  4. Q021What is perplexity?11 min
  5. Q023What is a hallucination, and why does it happen?11 min
  6. Q024What is a knowledge cutoff?10 min

Last updated on 26 November 2026

Planning a training run or a model budget?

I design and build AI products and agents, including the system behind them. Book a short call and tell me what you need to decide, and we'll see whether I can help.