Chinchilla's lesson: how did it reshape architecture and training choices after 2022?
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
Hoffmann et al. (Chinchilla, 2022) argued GPT-3 was severely under-trained. Walk through what they actually showed and how it changed architecture / training choices over the following two years.
Chinchilla (Hoffmann et al., 2022) showed that for a fixed compute budget the optimal mix is about 20 training tokens per parameter, not the ~1.7 tokens-per-param that GPT-3 had.
Imagine you have a fixed amount of flour to bake bread. You can either make one giant loaf or several smaller, more-kneaded ones. For a long time, AI labs were making giant loaves and not kneading them enough. Chinchilla showed that the same flour split into smaller loaves and kneaded much longer makes better bread. So instead of growing models forever, the field started training smaller models on much more data. And then they noticed something else: once you bake the bread, you serve it to customers for years. A smaller loaf is cheaper to slice every single time someone orders one. So even though it costs more flour-time to knead the smaller loaf, you save money every day forever after. That is why a 2026 8-billion-parameter model trained on 15 trillion tokens beats a 2020 175-billion-parameter model trained on 300 billion tokens.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
6 min: Chinchilla's compute-optimal ratio of 20 tokens-per-param + how it differed from Kaplan + GPT-3 was under-trained + the methodological fix + architectural shape barely changed + post-2022 the field walked PAST optimum + inference cost dominates training cost + Llama-1 to Llama-3 progression + where Chinchilla still applies.
| Model | Year | Params | Tokens | Tokens/Param | Regime |
|---|---|---|---|---|---|
| GPT-3 | 2020 | 175B | 300B | ~1.7 | Pre-Chinchilla, severely under-trained |
| Chinchilla | 2022 | 70B | 1.4T | 20 | Compute-optimal |
| Llama-1 7B | 2023 | 7B | 1T | ~143 | First step past Chinchilla |
| Llama-2 7B | 2023 | 7B | 2T | ~285 | Walking past Chinchilla |
| Llama-3 8B | 2024 | 8B | 15T | ~1875 | Far past Chinchilla, inference-optimized |
| Llama 3.1 405B | 2024 | 405B | 15.6T | ~39 | Past Chinchilla for the frontier dense model |
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Reading Chinchilla as a recipe to FOLLOW. The field followed it for about a year and then deliberately walked past it; modern Llama 3.1 8B trains at ~1875 tokens per param, almost 100x the Chinchilla ratio.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.