Topic 3 of 5 · 4 min read
Training compute, test-time compute and their limits
Goal: Explain how training and test-time compute each improve models and name one limit on each.
Models improve by spending more compute in two places, when they are trained and when they answer, and each has its own limits.
Check yourself · 1 of 3
What is test-time compute?
Compute means the amount of calculation done on chips. More of it is the main reason models got better over the last decade.
Training compute
Training is the one-off process of adjusting a model on huge amounts of text, code and other data. Research from 2020 (Kaplan and colleagues) found that error falls smoothly as you add parameters, data and training compute. A 2022 paper (Hoffmann and colleagues) showed that size and data should grow together: a model trained on too little data wastes its size.
Limits on training:
- Data. Epoch AI estimates how long the public stock of human-written text can last. Labs respond with filtered data, synthetic data and licensed sources, but quality is not free.
- Money and energy. Each larger run needs more chips, power and cash, so fewer organisations can afford the frontier.
Test-time compute
Test-time compute is thinking done while answering. "Reasoning" models write out a long chain of steps before the final answer, or try several answers and pick one. OpenAI's 2024 report on its o1 model showed accuracy rising with both training compute and thinking time. A 2024 study from Snell and colleagues found extra thinking can beat a larger model on some problems.
Limits on test-time compute:
- Cost and delay. Thinking tokens are billed and take time. A ten-second answer can become a two-minute one.
- Verifiability. It helps most where answers can be checked, such as maths and code. It helps less on open questions with no way to tell which attempt is best.
- Diminishing returns. Each extra doubling of thinking buys less.
Before and after
Before: "Bigger always means smarter, so wait for the next giant model."
After: "Gains come from three places: more training compute, better data, and more thinking at answer time. For my maths-heavy task, a reasoning model with more thinking may help now. For my open-ended writing task, extra thinking helps less, and a newer base model may matter more."
What goes wrong
- Treating one trend as a law. "Scaling laws" are patterns from past runs, not guarantees.
- Paying for thinking you do not need. Simple lookup tasks gain little from long reasoning and cost more.
- Assuming longer reasoning is always correct reasoning. A long chain can still reach a wrong answer with confident steps.
Examples
Picking where to spend
Your task checks invoice totals against purchase orders. Every answer can be verified by arithmetic, so a reasoning mode that thinks longer is worth testing. Your other task writes a brand story; no check exists, so extra thinking may only add cost.
A cost sketch
A standard answer uses 400 output tokens. The reasoning mode uses 6,000 thinking tokens plus 400 answer tokens. At the same price per token, it costs about 16 times as much and takes much longer. It must be right far more often to pay off.
Key points
- Compute is spent twice: once to train a model and again each time it answers.
- Scaling research found that error falls smoothly as parameters, data and compute grow, and that data should grow with size.
- Reasoning models use test-time compute: extra thinking at answer time that costs tokens and time.
- A limit on training is the supply of good data, energy and money; a limit on test-time compute is cost, delay and diminishing returns.
- Test-time compute helps most where an answer can be checked, such as maths and code.
Common mistakes
- Assuming bigger models always beat smaller ones with more thinking time.
- Turning on long reasoning for every request regardless of difficulty.
- Treating a scaling law as a guarantee about the future.
- Forgetting that thinking tokens are billed.
Check yourself · 2 of 3
Which one is a limit on scaling up training?
Check yourself · 3 of 3
Which task is most likely to gain from a reasoning mode that thinks longer?
Practice items, not counted towards your mastery.
Start here
- Measuring AI ability to complete long tasks (METR) (opens in a new tab)ArticleFree
Defines the 50% time horizon and reports a doubling time of about 7 months; read its limits section before quoting it.
- Epoch AI trends (opens in a new tab)ToolFree
Charts of training compute, cost and capability, with the data downloadable so you can check a claim yourself.
- AI Index Report (Stanford HAI) (opens in a new tab)ArticleFree
Yearly, sourced summary of AI performance, cost, investment and limits across the field.
More for this topic
- Scaling Laws for Neural Language Models (opens in a new tab)PaperFree
The paper behind "more compute, data and parameters give smooth loss gains".
- Scaling LLM Test-Time Compute Optimally (Snell et al., 2024) (opens in a new tab)PaperFree
Shows extra thinking at answer time can beat a larger model on some problems, and where it does not.
- Will we run out of data? (Epoch AI) (opens in a new tab)PaperFree
Estimates when training would use up the public human-written text, one limit on training compute.