Home » Scaling Laws, Carefully

How the Kaplan and Chinchilla Scaling Laws Disagree on Model Size and Data

By

–

Scaling Laws, Carefully

Two papers, two answers to the same question: if you have a fixed pile of computing power, do you spend it on a bigger model or on more training data? A blog post titled “Scaling Laws, Carefully,” published June 24, walks through how researchers got from one answer to the other.

The starting observation is plain. Training loss falls in a predictable way as model size, dataset size and compute go up, following a power-law curve that shows as a straight line on a log-log plot. That predictability is what makes the idea useful. A common workflow is to fit a scaling law on a handful of small runs, then extrapolate to estimate the tokens and compute a larger model will need.

Early groundwork

None of this began with large language models. Amari and colleagues derived four types of learning curves in 1992 using a Bayesian approach. Their setup was a simplified binary classification task, but the post says it pointed in a useful direction for predicting loss empirically.

Hestness and colleagues followed in 2017 across neural machine translation, image classification, language modeling and speech recognition. They found that generalization error follows a power law in each. Changing the architecture shifted the curve’s offset without changing its exponent, which suggested the slope belongs to the problem rather than the model. Rosenfeld and colleagues in 2020 then modeled error as a joint function of model size and data size.

Kaplan: bigger models first

Kaplan and colleagues (2020) brought the idea into language modeling. Their models ranged from 768M to 1.5B non-embedding parameters, trained on 22M to 23B tokens. Test loss scaled as a power law with model size, dataset size and training compute, and they found that larger models need fewer steps and fewer data points to reach a given loss.

Their compute-optimal recommendation proved the most contested part. Model size, they concluded, should grow faster than dataset size. For a tenfold increase in compute, they suggested a model about 5.5 times larger but only about 1.8 times more training tokens.

Chinchilla: balance the two

The Chinchilla paper (Hoffmann and colleagues, 2022) reached a different answer with a more careful design. It scanned more than 400 models from 70M to over 16B parameters, trained on 5B to 500B tokens, and fitted the results three ways. All three agreed.

The headline demonstration used the same compute budget as Gopher, a 280B-parameter model trained on 300B tokens. Chinchilla had 70B parameters and 1.4T tokens. It was four times smaller, saw about four times more data, and beat Gopher across the board.

So the advice flipped. For every doubling of model size, double the training tokens too. Train a smaller model on more data rather than a huge one stopped before convergence.

The post offers two reasons the papers diverged. Kaplan’s experiments used mostly small models, while Chinchilla’s reached more than ten times larger scales, and a small error in a log-log fit grows when extrapolated. Embedding parameters also matter at small sizes, where they are a non-negligible share of the total, so whether they are counted changes the result.

Sources

Get breaking stories first on our Telegram channel.

More stories by

Most read

AI Tools

Artificial Intelligence

Business

World News