# 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.

AI and LLM interview question Q019, LLM fundamentals. Intermediate, common (our estimate). From Venkat R. Murty's free Interview Kit: https://designervenkat.online/interview/ai/what-are-scaling-laws

## Say it in 30 seconds

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.

## Say it in 2 minutes

A scaling law is a pattern found by measuring. Researchers train many language models of different sizes, on different amounts of text, and record how wrong each one is on new text. When they plot the results, the error falls along a smooth curve. Each doubling of model size or training text lowers the error by a steady fraction, so a team can estimate what a bigger run will achieve before it pays for it.

The 2020 study that set this out fitted a power law to model size, text and compute. In 2022 the Chinchilla paper changed the advice. It found that large models were often trained on too little text, and that size and text should grow together: double the model, double the text. A 70 billion parameter model trained that way beat much larger models on many tests.

Today a growing limit is the supply of good text. A 2026 paper says training compute is increasingly outpacing the availability of high-quality data. Repeating the same text helps only up to a point. So I would count the unique, clean tokens we have before asking for more compute.

So scaling laws describe a trend and promise nothing. They tell you what a bigger run should gain and where the budget is best spent, but they can't tell you where enough good data will come from.

## 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.

- **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.

*Diagram, Three dials move the error: 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.*
1. A bigger model lowers the error, with less gain each time.
2. More training text lowers it too, on a similar curve.
3. More compute buys lower error, if size and text keep pace.
4. Pick the split that gives the most gain for the budget.

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:

```text
 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.

*Diagram, When the good text runs out: 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.*
1. The plan needs more unique text than the team has.
2. Option one: train on the same text again.
3. Option two: spend the compute on a bigger model.
4. Past a point, extra passes stop helping.
5. The 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." Better: Only while text and compute keep pace with the size. Chinchilla showed that size and text must move together.
- Trap: "Just add more data." Better: Good text is scarce and needs cleaning. Count the unique tokens first, then decide.
- Trap: "Scaling always pays off." Better: Gains 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?

A. Model B has 14B parameters, so plan on about 280B training tokens.
B. Model B has 14B parameters, so the old 140B tokens will do.
C. Stop training when the error on held-out text stops falling, and keep the saved copy of the model from that point.
D. Check the unique token count against the plan before we buy more compute.

**Answer:** B. Doubling the model doubles the text. Keeping 140B tokens for a 14B model breaks that rule, and the bank has only 90B clean tokens to begin with.

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

A. Repeat the same 90B tokens for many more passes
B. Spend the extra compute on model capacity once repeats stop helping
C. Pick the model size first and ignore the text budget
D. Stop measuring the loss so the run finishes sooner

**Answer:** B. The 2026 paper finds that past a point, repeating text is counterproductive, and compute is better spent on model capacity.

## Can you answer these from memory?

**Flash cards**

- **What is a scaling law?** A measured pattern: error falls in a predictable, power-law way as size, text or compute grows.
- **What are the three dials?** Model size (parameters), training text (tokens) and compute, the total training work.
- **What did Chinchilla change?** Size and training text should grow together: double the model, double the text.
- **Why is a scaling law no guarantee?** It describes a trend. It doesn't say where enough good text will come from.
- **What does the 2026 paper warn about?** Repeating the same text stops helping past a point. Compute then goes to model capacity.
- **Why does Chinchilla matter?** A 70B model trained on more text beat much larger models such as Gopher (280B).

## Likely follow-up questions

- Q018 What are parameters (weights)? https://designervenkat.online/interview/ai/what-are-parameters-weights
- Q015 What is pretraining? https://designervenkat.online/interview/ai/what-is-pretraining
- Q020 What is compute-optimal (Chinchilla-style) training? (full answer coming)
- Q021 What is perplexity? https://designervenkat.online/interview/ai/what-is-perplexity
- Q023 What is a hallucination, and why does it happen? https://designervenkat.online/interview/ai/what-is-an-ai-hallucination
- Q024 What is a knowledge cutoff? https://designervenkat.online/interview/ai/what-is-a-knowledge-cutoff
