What are AI scaling laws?
Scaling laws are empirical relationships showing that a language model's training loss falls predictably, following a power law, as its parameter count, training data and training compute grow.
They are also called neural scaling laws. They describe a smooth fall in loss, while emergent abilities are task skills that seem to appear suddenly beyond a certain scale; both may reflect the same phenomenon seen through different metrics.
- Topic
- Machine learning, models and training
- Also known as
- Neural scaling laws, Chinchilla scaling
- Origin
- 2020
How AI scaling laws work
- Models of different sizes are trained with different amounts of data and compute; on logarithmic axes the results form roughly straight lines.
- From these lines one estimates which model size and how much data give the lowest loss for a given compute budget.
- The 2022 Chinchilla study showed parameters and tokens should grow together; its 70 billion parameter model was trained on 1.4 trillion tokens.
- Coefficients depend on architecture, data and tokeniser and are re-measured in each new setting.
In more detail
Data-constrained scaling and repeated data
Power-law scaling assumes unlimited unique high-quality tokens. Data-constrained scaling laws (2023) show that once high-quality human text is exhausted, repeating tokens yields diminishing returns after roughly four epochs, making data curation, deduplication and carefully filtered synthetic data critical bottlenecks.
The power-law form and the gap between the 2020 and Chinchilla results
The scaling law is commonly written as loss equal to an irreducible floor plus two terms that shrink as powers of parameter count and data size. A 2020 study advised giving most extra compute to model size, whereas the 2022 Chinchilla study, using learning-rate schedules matched to each run length, showed parameters and data should grow almost equally.
Commonly confused terms
| Term | How it differs |
|---|---|
| Test-time compute scaling laws | Pre-training scaling laws predict cross-entropy loss reduction from model parameters, dataset tokens and training FLOPs; test-time (inference) scaling laws measure accuracy gains obtained by allocating extra reasoning tokens, search or sampling compute during inference. |
| Grokking | Grokking is a delayed training phenomenon in which a model suddenly generalises on validation data long after memorising the training set, whereas scaling laws describe cross-model loss curves across orders of magnitude of compute. |
Why AI scaling laws matter for on-premises AI
Most organisations do not train from scratch, yet scaling laws shape two decisions. The first is model choice: a smaller model trained longer on more data can come close to a larger one trained with the same compute and runs far more cheaply in-house. The second is expectations: growing a model lowers loss but each step returns less, so hardware investment is weighed against those diminishing returns.
Choosing a model for its own servers, a bank compares two sizes from the same model family on its test set and picks the smaller, which delivers most of the performance on half the hardware.
Common questions
Are scaling laws the same for every model?
No. The general trend is similar but coefficients vary with architecture, data and tokeniser and are re-measured experimentally in each setting.
Is a bigger model always better?
Loss usually falls but returns diminish. For a given enterprise task a well-trained smaller model can be the better choice on cost and speed.
Related terms
- Model training
- Pre-training
- AI parameter count
- Training data
- Emergent abilities
- AI frontier model
- Small language model (SLM)
Sources
In the glossary: Glossary, R to Z