II · THE IDEA · ARTIFICIAL INTELLIGENCE
Feature Learning: The Lazy-to-Rich Transition
▶ Listen · narrated
Two networks can post the same falling loss while one rebuilds its internal features — the patterns its hidden units respond to — and the other never touches them. Width and scaling decide which happens.
At a glance
- Lazy regime
- Hidden features barely move; the output layer does the fitting
- Rich regime
- Hidden representations reorganise to suit the data
- The dials
- Width, depth, initialisation size, output multiplier, step size
- Diagnostic
- How far the hidden layer's similarity structure moves
- Caution
- A continuum with two named ends, not two separate boxes
Think of a committee asked to settle a single number by vote. In a small committee each member has real influence, so shifting the answer means changing individual minds. Enlarge it to thousands of members and each vote counts for very little. Now the answer can move a long way while no individual has meaningfully changed their view — thousands of people each nudging slightly is enough.
A very wide neural network is the large committee. Each hidden unit computes some feature of the input — some pattern it responds to — and the output is a weighted sum across all of them. Because there are so many units, that sum has to be scaled down to stay a sensible size, so any single unit's influence on the answer is small. Training adjusts each weight in proportion to how much it affects the error. A weight with little influence gets only a small adjustment. The overall prediction still improves plenty, because millions of small adjustments add up. But the individual features stay almost exactly as the random start left them.
That is the lazy regime: the network fits the data by reweighting features it happened to start with, never by improving them. The rich regime is the opposite, and you reach it by forcing the weights to travel further — for instance by starting them smaller, so the network begins far from any good answer and has to reorganise on the way. Both regimes can reach a low training error. Only the second leaves you with internal representations worth reusing.
Under the standard parameterisation, a one-hidden-layer network's output is a sum over width-many units divided by a factor that grows with width, which keeps the output at order one at initialisation. Gradient descent updates each weight in proportion to its influence on the loss, and that influence carries the same width-dependent factor. The consequence: total per-parameter displacement over training shrinks as width grows, while the change in the network's function stays at order one, because many small displacements add. In the infinite-width limit the hidden features freeze exactly and the dynamics reduce to gradient descent on a linear model over a fixed random feature map — the kernel, or lazy, regime. Training is then a convex problem in the output weights alone.
The rich, feature-learning regime is reached by breaking that balance. Shrinking the initialisation scale, dividing the output by a larger constant, or otherwise starting the network's function near zero all force the parameters to travel further to fit the targets, and large parameter movement necessarily changes the hidden representation. Learning rate interacts directly: a rate tuned at one width can correspond to a different effective regime at another, which is the practical motive for width-aware scaling rules that hold the regime fixed as models grow.
Depth complicates rather than extends the picture. The lazy analysis relies on each layer's update being small and on cross-layer interaction terms being negligible. In a deep network the correct update to one layer depends on the current state of every other layer, and width alone does not obviously suppress that coupling. Depth tends to favour feature movement, but the extent depends on architecture and does not reduce to a single formula.
The workable diagnostic is representational. Build the matrix of pairwise similarities between hidden activations over a fixed probe set, once at initialisation and once after training, and compare. Small change indicates near-lazy behaviour; substantial change indicates feature learning. Two caveats. The regime is not binary: intermediate runs are common, and different layers of one network can sit at different points. And none of this predicts generalisation on its own — a lazy network can achieve low test error, and a rich network can learn features that overfit. What the distinction does predict is whether the learned representation is useful downstream, for fine-tuning or layer reuse.
Look closer
The measurement that separates the regimes
Take a trained network's hidden layer and, for every pair of training inputs, record how similar their hidden representations are. That table of pairwise similarities is the layer's similarity structure. You can compute it twice: once at initialisation, when the weights are still random, and once after training. In a lazy run the two tables come out close to identical, even though the loss has dropped a long way. In a rich run they differ substantially, because the layer no longer describes the inputs the way random weights did. The loss curve alone will not tell you which of the two happened. You have to look inside.
Each weight moves less as width grows
Add more hidden units and each one carries a smaller share of the load. Under the usual scaling, the total change in any single weight over the whole of training shrinks as width grows, while the change in the network's output stays roughly the same size, because far more weights are each contributing a little. That is the arithmetic of laziness. The function moves; the parts that build it barely do. So a very wide network can fit its training data well while its hidden layer remains, in effect, a fixed random feature map with a trained linear layer bolted on top.
Depth and initial scale push the other way
The lazy limit is not inevitable. Shrink the weights at initialisation, or divide the output by a larger constant so the network starts nearer to zero, and the same architecture will move its features substantially before it fits the data. Depth matters too: in a deep network the update to one layer depends on what every other layer is currently doing, and that coupling between layers does not fade as tidily as the single-hidden-layer arithmetic suggests. Two networks of identical width, trained on identical data, can sit at opposite ends of the continuum purely because of how their weights were scaled at the start.
The story
Take a network with a single hidden layer and make it very wide. Train it with gradient descent — the standard procedure that nudges every weight a little, each step, in whichever direction reduces the error. The loss falls and the network fits its training data. Then look inside. The hidden layer is almost exactly as it was before training began. Its features — the patterns each hidden unit responds to — were fixed by the random starting weights and were never revised. All the fitting happened in the final layer, which simply chose how strongly to count each of the random features it was handed for free.
This is called the lazy regime, and the cause is arithmetic rather than mystery. It helps to walk through it in steps. The network's output is a sum over all its hidden units. Keep adding units without adjusting anything and that sum grows without bound, so the standard scaling divides it by a factor that grows with the width. The wider the network, the smaller each unit's share of the output. Now recall what gradient descent does: it moves each weight in proportion to that weight's effect on the error. A weight with a tiny share of the output has a tiny effect on the error, so it receives a tiny nudge. Here is the step that makes the whole thing work. Multiply a tiny nudge by an enormous number of units and the output still moves plenty — many small contributions add up, which is why the loss falls. But inspect any single unit and almost nothing has happened to it. Push the width to infinity, under this scaling, and the features freeze exactly. The network then behaves like linear regression — a straight weighted sum — over a fixed set of random functions. The function the network computes changes a great deal; the parts that build it barely move at all.
None of this shows up in the loss curve, which is why the distinction is easy to miss. The instrument that does work is the hidden layer's similarity structure: for every pair of training inputs, record how alike their hidden representations are, giving a table of pairwise similarities. Compute that table twice — once at initialisation, when the weights are still random, and once after training. In a lazy run the 2 tables come out close to identical, even though the loss has dropped a long way. In a rich run they differ substantially, because the layer no longer describes the inputs the way random weights did. To know which happened, you have to look inside.
The frozen limit is convenient for theory, which is why it drew so much attention. A network whose features never move is a linear model in disguise, and linear models can be reasoned about: training becomes a well-understood fitting problem over a fixed set of basis functions, and whole chapters of classical mathematics apply. It gave the field its first rigorous handle on what gradient descent does to a heavily overparameterised network — one with far more weights than data points.
The trouble is that feature learning was supposed to be the point. A network beats a hand-designed feature map because it can decide, from the data, what its intermediate layers should describe. A model that keeps its initial random features and only reweights them has given up the very property that made deep learning interesting. So the lazy limit is both an achievement — a genuinely tractable description of a wide network — and a warning that the description may fit something other than the networks people actually train.
The other end is the rich regime. Here the hidden layers reorganise. Feed the network the same inputs before and after training and their internal representations will have shifted: inputs the task treats as equivalent come to sit closer together, and inputs it must tell apart move further apart. The similarity table changes, and it changes to reflect the labels rather than the random starting draw. This is what people usually mean by learning features.
What decides where a given run lands? Not width alone. The size of the starting weights matters just as much. Start them smaller and the network begins far from any fit, so the weights must travel a long way before the loss can fall — and travelling reorganises features. An output multiplier does similar work: divide the network's output by a larger constant and the internal weights must move more to produce the same predictions. The learning rate interacts with all of this; a rate tuned at one width can put a network of another width into a different regime. Depth complicates the arithmetic further. In a deep network the right update for one layer depends on what every other layer is currently doing, and that mutual dependence — each layer's correct move shifting as its neighbours move — is exactly what the single-hidden-layer analysis assumes away. Width alone does not obviously suppress it. Two networks of identical width, trained on identical data, can therefore sit at opposite ends purely because of how their weights were scaled at the start.
The honest summary is that lazy and rich are the 2 ends of a continuum with unmapped ground between them. Runs in the middle move their features somewhat. Some layers of a single network can be lazier than others. Whether the successful networks people actually deploy sit near the rich end, the lazy end, or somewhere between is not settled — there is no agreed threshold where one regime becomes the other, and the answer likely depends on architecture, data and training schedule. What is firm is the mechanism: the standard scaling makes each weight's movement shrink as width grows, and anything that forces the weights to travel further before the loss can fall pushes a network out of laziness.
Why it mattered then
The infinite-width limit arrived as a rare gift to theory. Neural networks had resisted analysis because training changes the function and the features at the same time, and both changes are nonlinear — small causes need not have small, proportional effects. Showing that a wide enough network, under a particular scaling, keeps its features fixed removed that difficulty at a stroke. Training reduced to fitting a linear model — a straight weighted sum — over a fixed set of random features, and a great deal of established mathematics suddenly applied. It gave the field its first rigorous handle on what gradient descent does to a heavily overparameterised network. But it also raised an awkward question, which is why the topic did not simply close. The tractable limit turned out to be the one where no features are learned, and feature learning is precisely what separates a deep network from a fixed-feature method. So the limit may describe a neighbouring object rather than the one in use. That tension turned lazy-versus-rich from a technical result into a research programme: not just proving what the limit is, but working out which scalings, depths and initialisations escape it.
Why it matters now
The practical version of this question is how to set training knobs when you enlarge a model. Under the standard scaling, each weight's movement shrinks as width grows. So the learning rate that trained your small model well is the wrong one for a model 10 times wider, and using it anyway can quietly push the large network towards laziness. Scaling rules for initialisation, learning rate and output multipliers all try to hold a model in the same regime as it grows, so that tuning done cheaply at small scale still applies to the expensive large run. It also changes what you should measure. A falling loss curve cannot tell you whether a network is adapting its representations or merely reweighting random ones — and those 2 networks behave differently when you fine-tune them, prune them, or reuse their intermediate layers for another task. If you care about reusable features, the loss is the wrong instrument. You need to compare the hidden layer's similarity structure — the table of how alike each pair of inputs looks to that layer — before and after training. The distinction is diagnostic, not decorative.
The surprising detail
Two networks can reach the same training loss by different means, and the one with the tidier loss curve may have learned nothing reusable. A lazy network has, in effect, done linear regression over random features it was given at the start. Its intermediate layers carry no more information about the task after training than they did when the weights were first drawn. That is a strange kind of success: the model fits, yet the part people normally want to reuse — the internal representation — was never trained. It is also why the infinite-width limit is at once the most tractable case and the least representative one. The regime that mathematics finds easiest to describe is precisely the regime in which the interesting phenomenon has been switched off.
What is disputed
The mechanism is clear but the map is not. Where any particular trained network sits between the lazy and rich ends is not settled, and there is no single agreed threshold at which one becomes the other — they are ends of a continuum rather than categories. Whether the large models deployed in practice sit closer to the rich end is disputed, and the answer likely depends on architecture, data and training schedule rather than being one fact about deep learning. Claims here should be read as descriptions of limits and tendencies, not as measurements of real systems.
Remember this
Under the standard scaling, width shrinks how far each weight moves, so a very wide network can fit its data while its features stay random. Feature learning depends on the scaling you choose, not on training alone.
Test yourself
You train two networks of the same architecture on the same data to the same final training loss. One was initialised with noticeably smaller weights than the other. Without looking at test accuracy, what would you measure to find out which network learned features, and why does the loss not answer it?
Measure the hidden layer's similarity structure — the table of pairwise similarities between the hidden representations of your training inputs — once at initialisation and once after training, and compare them. In the network initialised with small weights you would expect a substantial change, because the weights had further to travel before the network could fit anything, and travelling reorganises features. In the other you may find the two tables nearly identical. The loss cannot distinguish the cases because the final layer can drive the loss down by reweighting a fixed random feature map, without any of the earlier layers changing. Loss measures the function the network computes; feature learning is a claim about how the network computes it. The practical stakes appear later, when you try to fine-tune the model or reuse its intermediate layers: a lazy network's representations carry no more task information than they did at initialisation.
Go deeper
- [1810.01044] Topological insulators vs. topological Dirac semimetals in honeycomb compounds · arxiv.org
- [1912.04486] To Balance or Not to Balance: A Simple-yet-Effective Approach for Learning with Long-Tailed Distributions · arxiv.org
Image: Original diagram, The Daily Triptych. Licence: Original work. Source.