Robots Atlas>ROBOTS ATLAS
Training

Chinchilla (Compute-Optimal Scaling)

2022ActivePublished: 7 May 2026Updated: 7 May 2026Published
Key innovation
Empirically demonstrated that for a fixed compute budget, model parameter count (N) and training token count (D) should scale at roughly equal rates — approximately 20 tokens per parameter — overturning the earlier Kaplan et al. recommendation of scaling N much faster than D.
Category
Training
Abstraction level
Pattern
Operation level
Training
Use cases
Planning LLM training under a fixed compute budgetChoosing (N, D) pairs for foundation model runsValidating whether a training plan is undertrainedReference point for over-training decisions

How it works

Hoffmann et al. ran over 400 training jobs across model sizes from 70M to 16B parameters and dataset sizes from 5B to 500B tokens. They fit three independent methods to the data: (1) IsoFLOP curves — for fixed C, vary N and D, find L's minimum; (2) parametric loss fit — fit L(N, D) = E + A/N^α + B/D^β; (3) IsoLoss curves. All three methods converged on the same conclusion: optimal N* and D* both scale as C^0.5, which translates to ~20 tokens per parameter. They then trained Chinchilla 70B on 1.4T tokens to verify the prediction — the model outperformed the 280B Gopher on MMLU (67.5% vs 60.0%) and most benchmarks.

Problem solved

Earlier Kaplan et al. (2020) scaling laws suggested favoring much larger models at the expense of training tokens for any given compute budget. This led to models like GPT-3 and Gopher, which were undertrained and suboptimal in resource allocation.

Components

IsoFLOP curvesEmpirical fitting method #1

Hoffmann et al.'s first method: for a fixed compute budget C, vary N and D, measure L, and find the (N*, D*) that minimizes loss. Repeated across multiple C values gives the optimal frontier.

Parametric loss surface L(N, D)Empirical fitting method #2

Second method: fit the loss surface as a sum of an irreducible loss E plus two power-law terms with parameters α, β, A, B. Hoffmann et al. report α ≈ 0.34, β ≈ 0.28.

Compute-optimal ratio (~20 tokens/param)Engineering rule of thumb

The main practical takeaway: for compute-optimal training, the number of training tokens should be approximately 20× the number of model parameters.

Compute approximation C ≈ 6 · N · DC ↔ (N, D) conversion

Standard approximation for dense-attention transformer training cost. Used to derive N* and D* for a given C: N* ≈ √(C/(6·20)), D* ≈ 20·N*.

Official

Chinchilla 70B (verification model)Validation experiment

Empirical verification of the prediction: 70B parameters trained on 1.4T tokens (ratio = 20:1) at the same compute budget as the 280B Gopher. Outperformed Gopher on MMLU at 67.5% vs 60.0%.

Implementation

Implementation pitfalls
Confusing compute-optimal with deployment-optimalHigh

Chinchilla optimizes training cost. For models served at scale (ChatGPT, Claude, Llama API), inference cost dominates — and a smaller model trained longer (over-training) is rational despite suboptimal compute.

Fix:Define the objective as training_cost + λ · inference_cost · usage_volume. For high-usage products, λ shifts the optimum toward smaller models trained on more data.
Naively applying the 20:1 ratio to new modalitiesHigh

The 20-ratio was measured on English language with curated web corpora. For code, vision, multimodal, or reasoning-heavy domains the α, β exponents differ — the effective optimal ratio can be different.

Fix:For a new domain, fit your own IsoFLOP curves on small models (up to ~1B params) before committing to a full-scale run.
Uncalibrated learning rate cooldownHigh

Hoffmann et al. noted that Kaplan-era fits were distorted because LR cooldown did not align with training duration. The same mistake still appears in replications.

Fix:LR cooldown should terminate exactly at the planned training horizon (D tokens). Do not use a fixed-horizon cooldown across different D values.
Treating the 20-ratio as an immutable law of natureMedium

Epoch AI's replications (2024) suggest the original Chinchilla fits may underestimate optimal D. Furthermore, dataset quality matters substantially — clean code, synthetic reasoning data, and image captions have different scaling dynamics.

Fix:Treat the 20-ratio as a rough baseline, not a law. Measure IsoFLOP curves for your own dataset / modality.

Evolution

Original paper · 2022 · NeurIPS 2022 · Jordan Hoffmann
Training Compute-Optimal Large Language Models
Jordan Hoffmann, Sebastian Borgeaud, Arthur Mensch, Elena Buchatskaya, Trevor Cai, Eliza Rutherford, Diego de Las Casas, Lisa Anne Hendricks, Johannes Welbl, Aidan Clark, Tom Hennigan, Eric Noland, Katie Millican, George van den Driessche, Bogdan Damoc, Aurelia Guy, Simon Osindero, Karen Simonyan, Erich Elsen, Jack W. Rae, Oriol Vinyals, Laurent Sifre
2020
Kaplan et al. — first scaling laws (context)

OpenAI publishes "Scaling Laws for Neural Language Models". Suggests scaling N much faster than D — retrospectively shown to be incorrect.

2022
Hoffmann et al. publish Chinchilla
Inflection point

DeepMind shows GPT-3 and Gopher are undertrained. Introduces the compute-optimal ratio of ~20 tokens/parameter and verifies it with 70B Chinchilla.

2023
Llama 1 and 2 — intentional over-training
Inflection point

Meta trains Llama-1 and Llama-2 well above Chinchilla-optimal (50+ tokens/parameter), intentionally trading compute-optimality for lower inference cost.

2024
Llama-3 — extreme over-training (~150 tokens/param)

Llama-3 is trained on 15T tokens — for the 8B model that is a ratio of ~1875, far beyond compute-optimal. The inference-cost-aware training era.

2024
Epoch AI — refit and critique of original Chinchilla

Epoch AI's independent replications suggest Hoffmann's original fits may underestimate optimal D — the effective ratio may exceed 20.

Hyperparameters (configurable axes)

Tokens-per-parameter ratio (D/N)Critical

Chinchilla ratio = 20. Llama-2 and Llama-3 train far above (50+, 100+) — this is intentional over-training to reduce inference cost.

~1.7
20
~28
~150–200
Compute-optimal N* for given CCritical

N* ∝ C^0.5 per Hoffmann et al.'s fit. For C = 6e23 FLOPs the optimum is ~70B parameters (Chinchilla).

Compute-optimal D* for given CCritical

D* ∝ C^0.5; in practice D* ≈ 20·N*. For Chinchilla, 1.4T tokens.

Learning rate cooldownHigh

Hoffmann et al. noted that Kaplan's original fits were distorted by an uncalibrated LR cooldown. In Chinchilla the cooldown spans the full training horizon — critical for replicability.

Hardware requirements

Primary

Compute-optimal scaling is a mathematical relationship between N, D, C, and L. It does not depend on a specific hardware architecture so long as FLOPs can be measured.

Good fit

Chinchilla was trained on DeepMind's TPU clusters. The entire IsoFLOP experiment (>400 runs) was conducted on TPUs.

Good fit

Later replications (Llama on A100/H100, Mistral) confirm Chinchilla scaling works equally well on GPUs. In practice, all modern GPU-trained LLMs use Chinchilla as a baseline.