Where Scaling Laws Come From
Solvable models, phases of compute-optimal scaling and the superposition explanation.
Why should loss fall as a power law at all, and what sets the exponent? No theory yet predicts the exponents of a real language model, but solvable models now reproduce much of the phenomenology: four distinct scaling regimes, exponents read off a spectrum, compute-optimal splits that depend on what bottlenecks training, and a geometric reason, superposition, for loss to fall like one over the width.
What you’ll learn
- Distinguish variance-limited from resolution-limited scaling in data and in model size, and explain why the first has exponent 1.
- Derive the loss of gradient flow on a linear model with power-law spectrum and target, its exponents in time and model size, and the compute-optimal allocation that follows.
- Describe the phases of compute-optimal scaling in the power-law random-features model and what decides between them.
- Explain how superposition makes loss scale like in the width , and assess the evidence that language models are in that regime.
Four regimes
The Artificial Intelligence course derives two classic stories: if prediction needs discrete "quanta" of skill used with Zipf frequencies, learning them in order gives power laws with (Michaud et al., 2023); if a network resolves a -dimensional data manifold with cells of size , the squared error falls like (Sharma & Kaplan, 2022). Both turn power-law structure in the data into power-law loss. Bahri et al. (2024) sorted the possibilities into four regimes:
| Regime | Scaling with data | Scaling with model size |
|---|---|---|
| Variance-limited | model fixed, : | data fixed, width : (for linear models, ) |
| Resolution-limited | model effectively infinite: , set by the data | data effectively infinite: , set by the data |
The proof is a second-order Taylor expansion: , and the variance is what shrinks. So the exponent 1 says nothing about the data; it is the law of large numbers approaching a limit that exists. Resolution-limited scaling is the interesting part. There, adding data or parameters lets the model carve the data manifold more finely, and the exponent depends on how the data's structure is spread across scales. In linear and random-feature models that structure is a spectrum: a -smooth kernel on a -dimensional manifold has eigenvalues decaying at least like , which is how dimension enters the exponents.
A solvable model
Take uncorrelated features with and (the eigenfunctions of a kernel, scaled by its eigenvalues), and a target whose task power in mode is , with (in kernel theory, capacity and source conditions). The model is trained from (Bordelon, Atanasov & Pehlevan, 2024).
Gradient flow on the population squared loss decouples into modes: , so and
Mode is learned once , so by time the first modes are learned and the loss is the leftover task power. Comparing the sum with an integral (substitute ):
A model that can represent only the top modes, trained to convergence, keeps the tail beyond . (With random features this holds for hard tasks, ; easy tasks give .)
Training costs compute . Balance the two bottlenecks, , so and :
Since , training time (in one-pass training, data) should grow faster than model size: the time and size exponents differ, against , because time resolves modes only as fast as their eigenvalues allow. Equal scaling, as in Chinchilla, corresponds to .
import numpy as np
a, b = 1.4, 1.4 # task-power and spectral exponents
k = np.arange(1, 10**7, dtype=float)
lam, power = k**-b, k**-a # eigenvalues, task power per mode
def loss(t): # gradient flow from w = 0
return np.sum(power * np.exp(-2 * lam * t))
ts = np.logspace(1, 4, 7)
slope = np.polyfit(np.log(ts), np.log([loss(t) for t in ts]), 1)[0]
# slope comes out near -0.29, matching -(a - 1) / b = -0.286Checking the time exponent numerically. The sum is cut at modes; with a shorter cut the missing tail biases the fitted slope.
A random-feature model has spectrum , and the target's coefficients are i.i.d., so its task power is also (). What exponent does the model predict for the compute-optimal loss, ?
Show the answer
0.17
. Along the way: in model size, in time, and against . With i.i.d. teacher coefficients, and the size exponent is , the " gives " rule of random-feature models.
Phases of compute-optimal scaling
Gradient flow ignores the optimizer's noise. Paquette, Paquette, Xiao & Pennington (2024) solved the power-law random-features model under one-pass SGD: inputs with in dimensions (data complexity ), labels with (target complexity ), and a model with a fixed random and trained parameters. Compute is , the analog of .
In this model, then, the Chinchilla-like even split holds across a large region of the phase plane rather than being a coincidence of language data, and the authors recovered it from simulated runs with Hoffmann et al.'s Approaches 1 and 2 ( and against a predicted ). It also shows why allocation rules from different toy models disagree, and why practice need not match any one of them: the answer depends on whether capacity, optimization noise or a poor representation is what holds the loss up, and in phases III and IV a better optimizer would change it.
Superposition and the 1/m law
All the models so far take a power law in the data as given and pass it on: no power-law spectrum, no power-law loss. Liu, Liu & Gore (2025) proposed a mechanism that does not need one. In the toy model of superposition (Elhage et al., 2022), sparse features with frequencies are embedded as vectors , , and read back through a ReLU. Using weight decay to tune how much superposition occurs, they found two regimes. With weak superposition the model represents about features and drops the rest, so the loss is the frequency mass of the unrepresented features, a power law only if the are: gives . With strong superposition far more than features are represented, at the price of interference between overlapping vectors, and the loss scales like their mean squared overlap.
Let be independent and uniform on the unit sphere in . Rotating so that changes nothing, so has the law of . The coordinates of are exchangeable and their squares sum to :
More precisely . However many features share the space, roughly isotropic directions interfere by each, so the interference loss scales like : exponent , for a broad class of frequency distributions.
In their toy models, strong superposition gave when frequencies were flat and about when they were very skewed. For open language models from about 100 million to 70 billion parameters (OPT, GPT-2, Qwen, Pythia), the rows of the output layer had mean squared overlaps close to , and the width-dependent part of the loss fell with exponent . Converting the parameter exponent of the Chinchilla law, as re-fitted by Besiroglu et al. (), with gives about . The evidence is suggestive, not decisive: it concerns width alone, rests on a toy model and on fits across different model families, and says nothing about the data exponent.
In the strong-superposition regime, why does the loss fall roughly like even when feature frequencies are not a power law?
- Because the model represents exactly features and drops the rest
- Because the loss is dominated by interference, and nearly isotropic unit vectors in have mean squared overlap
- Because weight decay shrinks the weights like
- Because the data manifold has dimension
Show the answer
B. Because the loss is dominated by interference, and nearly isotropic unit vectors in have mean squared overlap
Far more than features are kept, so the loss is dominated by interference, which scales with the squared overlaps of the feature directions: . That is a property of geometry in , not of the data distribution.
Key takeaways
- Variance-limited scaling (exponent 1 in , or in width) is the universal approach to a well-defined limit; resolution-limited scaling carries the data's structure and is what large-model scaling laws measure.
- For gradient flow with eigenvalues and task power : , for hard tasks, and the compute optimum , ; time and size exponents differ.
- In random-feature models, features and samples are dual (), the loss plateaus at the latent dimension, and nonlinearity extends spectral power laws.
- Under one-pass SGD the power-law random-features model has four phases set by capacity, embedding distortion and SGD noise; in a large region , a Chinchilla-like split.
- Strong superposition gives from the geometry of overlaps, , without power-law data; open models show width exponents near . What fixes real exponents remains open.
Check yourself
In the interactive lesson these are scored with your confidence, and what you miss comes back for review.
A small model of fixed size is trained on more and more data. Its loss approaches a limit as . Which regime is this, and what does the exponent tell you about the data?
- Resolution-limited; the data manifold has dimension 4
- Variance-limited; almost nothing, since exponent 1 comes from fluctuations around a well-defined limit shrinking like
- Resolution-limited; the spectrum decays like
- Variance-limited; the data follow a Zipf law
Show the answer
B. Variance-limited; almost nothing, since exponent 1 comes from fluctuations around a well-defined limit shrinking like
When the model is the bottleneck, more data only averages out noise: by a second-order expansion the excess loss is proportional to a variance of order . The exponent is universal; data-dependent exponents appear in the resolution-limited regimes.
In the gradient-flow model with spectrum , , and hard tasks, how should compute be split?
- Equally: and for any
- Mostly to model size:
- More to training time than to size: and
- Entirely to training time
Show the answer
C. More to training time than to size: and
Time resolves only modes while size resolves , so balancing the two bottlenecks needs , and . With the time exponent exceeds .
In the power-law random-features model trained by one-pass SGD, what separates the four phases of compute-optimal scaling?
- Which of model capacity, distortion from the random embedding, and SGD noise limits the loss at the compute-optimal point
- The choice of learning-rate schedule
- Whether the model is a transformer or an MLP
- Whether the data are repeated
Show the answer
A. Which of model capacity, distortion from the random embedding, and SGD noise limits the loss at the compute-optimal point
The loss splits into capacity, embedding-distortion and noise terms whose relative sizes depend on the data and target complexities . In phases where SGD noise binds, a different optimizer would change the optimal allocation.
In optimally regularized random-feature regression with spectrum , Maloney, Roberts & Sully found . What does this form imply?
- Only the number of features matters
- Loss is set by whichever of features and samples is scarcer, with the same exponent, so scaling them together is optimal
- Loss grows with because of overfitting
- The exponent depends on the regularization strength
Show the answer
B. Loss is set by whichever of features and samples is scarcer, with the same exponent, so scaling them together is optimal
The form is symmetric in and : features and samples are dual resources with the same exponent , set by the spectrum. When either approaches the latent size of the data, the loss plateaus.
Further reading
- Y. Bahri, E. Dyer, J. Kaplan, J. Lee & U. Sharma, "Explaining neural scaling laws," PNAS 121 (2024).
- A. Maloney, D. A. Roberts & J. Sully, "A solvable model of neural scaling laws," arXiv:2210.16859 (2022).
- B. Bordelon, A. Atanasov & C. Pehlevan, "A dynamical model of neural scaling laws," ICML (2024).
- E. Paquette, C. Paquette, L. Xiao & J. Pennington, "4+3 phases of compute-optimal neural scaling laws," NeurIPS (2024).
- Y. Liu, Z. Liu & J. Gore, "Superposition yields robust neural scaling," NeurIPS (2025).