Scaling laws
Measured patterns showing that an AI model's error falls in a predictable way as its size, its training data and the compute spent on it increase.
Scaling laws are measured relationships between how much you put into training an AI model and how well it performs. Researchers train many models of different sizes on different amounts of data, plot the results, and find that the model's error falls along smooth, predictable curves. With those curves in hand, a lab can estimate how good a much larger model will be before it spends the money to train it.
The best-known study, by Jared Kaplan and colleagues, appeared in January 2020. It found that language model performance improves as a power law with three inputs: the number of parameters, the size of the dataset and the compute used for training, with some trends holding across more than seven orders of magnitude. Details such as the width or depth of the network mattered little by comparison, and larger models learned more from each example. An earlier 2017 paper by Joel Hestness and colleagues, titled Deep Learning Scaling is Predictable, Empirically, had reported similar patterns.
In March 2022 Jordan Hoffmann and colleagues refined the picture. After training more than 400 models, they found that many large models of the time were undertrained. For the best result from a fixed compute budget, model size and training data should grow together, doubling the data each time the model doubles. Their model Chinchilla, with 70 billion parameters and four times more data than the 280-billion-parameter Gopher, outperformed it across a wide range of tasks on the same compute budget.
Scaling laws are observations, not laws of nature. Moore's law, Gordon Moore's 1965 observation about the number of components on a chip, is the obvious parallel: an empirical trend that described an industry, not a law of physics. Scaling laws measure prediction error on test data, not usefulness in a particular job. They also explain why AI companies spend so heavily on chips and data centres: the curves gave them a reason to expect that larger training runs would pay off.
Scaling laws are equations, fitted to experimental results, that describe how an AI model's error falls as you increase its size, its training data and the compute used to train it. The improvement follows a smooth power-law curve, so researchers can predict the performance of a larger model from smaller experiments before they commit the money to train it. It comes from a 2022 paper that trained more than 400 language models to find the best split of a fixed compute budget. The answer was to scale model size and training data equally: each time you double the parameters, double the training tokens. A 70-billion-parameter model trained this way, Chinchilla, beat much larger models that had been trained on less data. No. Scaling laws are patterns measured over a range of experiments, and nothing guarantees they continue beyond it. They measure prediction error, not usefulness for a particular task. Each step down a power-law curve also takes many times more input than the last, so gains get more expensive. Treat claims that scaling alone will deliver a specific capability as forecasts, not facts.Common questions
What are scaling laws in AI?
What is the Chinchilla scaling law?
Do scaling laws mean AI will keep getting better forever?
Search for "Scaling Laws for Neural Language Models", "Chinchilla compute-optimal training" and "neural scaling law" to read the core work. The original arXiv papers are readable in their abstracts and conclusions even without the maths, and encyclopedia summaries collect the later research. Treat bold forecasts built on scaling curves, from enthusiasts and doomsayers alike, with care: the curves describe past experiments, and extending them years ahead is a judgement, not a measurement.Finding more
Working out what this means for your business?
Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.