Context. A two-layer network with a frozen random first layer is a random-features model, and like the NTK and other fixed kernels it is essentially linear in the proportional regime and needs samples for a degree- polynomial even when it depends on few directions. Networks avoid this by learning features, but there was little exact theory of how a gradient step changes the representation. Two papers analyze one large first-layer step followed by a fit of the head: Ba et al. (2022) exactly, in the proportional limit, and Damian et al. (2022) for polynomial targets on an -dimensional subspace. At a random initialization the first gradient at each neuron is a fixed linear map of the neuron plus smaller terms, read off the Hermite expansion of the labels. Its first term, the target's linear part, makes the step a rank-one spike along ; its second, the average Hessian , maps each random neuron into the principal subspace once the linear part is subtracted. A step of order one leaves neurons nearly orthogonal and the features Gaussian-equivalent to a linear model, whose risk stays above the kernel floor; a step large enough to move every neuron by order one builds nonlinear features of the relevant directions, and the head is then fit on them as a random-features model.
Setting (Ba et al.). The network is with Gaussian and (mean-field scaling, so ), data , , and , . The activation has and , with . With fixed, one step of size is , and then ridge regression of on an independent sample gives risk . The target splits as , and for the risk results it is single-index, , with . The kernel floor (Proposition 1): ridge on the initial features, the NTK, or any inner-product or distance kernel has risk at least , because in this regime each is equivalent to linear regression on .
Ba et al.'s results. The step is rank one up to (Proposition 2). For , with , and the energy of the labels, label noise included, a spike appears iff (Theorem 3), with Label noise strengthens the spike and dilutes its overlap, and the effect is large: the printed Theorem 3 drops from although its own proof carries it, and at a simulation gives , overlap 0.167, against 3.92 and 0.171 from the formula with the noise term and 2.59 and 0.44 without (my check). After any fixed number of such steps, for odd , the risk equals that of the Gaussian-equivalent features (Theorem 5), so ; the gain is explicit through fixed-point equations, positive iff , and vanishes as (Theorem 7). For a large step and bounded , with , Theorem 11 gives, for above a constant, so one large step beats every kernel when ; for , and .
The first gradient is rank one, because a Hadamard product with a rank-one matrix loses a factor . Split , so with , the part, and the network's own output. The estimate used is where gets the norms , , gets only the sup norms, so against , and is small under mean-field scaling. The same induction keeps each neuron within of its start for any fixed number of steps at .
The spike is a BBP transition, and its overlap with is inherited from . with , which is plus an isotropic fluctuation of squared norm of order . Sylvester's determinant identity reduces the outlier equation to a determinant of resolvent quadratic forms, whose entries converge to Marchenko-Pastur transforms, leaving , with a root beyond the edge iff . The overlap is the classical spike overlap with times , so even as the spike points along only as well as does.
Small steps keep the neurons nearly orthogonal, which is the condition Gaussian equivalence needs. Hu and Lu's Lindeberg proof for random features uses the weights only through and pairwise overlaps (with each other and with ) of order , plus an bound on the ridge solutions, which the paper reproves for by leaving one neuron out. Step 1's columnwise bound gives the first: each neuron moves no more than the random overlaps it already had. In the equivalent model the prediction is a multiple of plus independent Gaussian noise, so the risk is at least .
The small-step gain is a rank-one perturbation of the random-features risk, computed without rotation invariance. The variance term is unchanged, since has Frobenius norm ; only the bias moves, and averaging over the sphere is no longer allowed because is aligned with it. So split the feature covariance into the random part plus a rank-two term and separate it by Sherman-Morrison-Woodbury. The remaining quadratic forms, such as , concentrate on , or times normalized traces, because and are independent of the second sample, and those traces are evaluated with linear pencils, so is a rational function of their limits.
A step of size shifts each neuron along by its own output weight, and an average of neurons is a Gaussian smoothing of . With the signal part of column of the update is order one, so near-orthogonality and Gaussian equivalence are lost. Keep the neurons with ; they share while their are independent, and a law of large numbers turns their average into . The rest of the update adds an error of order : every selected neuron inherits the error of as an estimate of . Since the Gaussian take every value, is free, which is why the bound involves and not ; for erf, , so reproduces the teacher.
Ridge on fresh data does as well as the oracle, up to a constant. Ridge on the trained features is kernel ridge regression in the finite-dimensional RKHS of , and once the empirical feature covariance concentrates (bounded , above a constant) ordinary KRR bounds give , with both terms controlled by Step 5's and a norm that the ridge range makes negligible. That gives Theorem 11 with the unoptimized constant 10.
Setting and results (Damian et al.). The target is , a degree- polynomial on a principal subspace (projector ), with Gaussian input and labels , . Assumption 2: has rank , with conditioning . The network is with a symmetric initialization (). Algorithm 1 subtracts (the empirical mean and linear fit) from the labels, takes one step on with and weight decay , redraws the biases, and runs gradient descent with weight decay on alone. Theorem 1: if and , then with probability 0.99 so samples and neurons, against for kernels. Theorem 2: for single-index targets, correlational query learners need tolerance , so under the heuristic . Theorem 3: a pretrained first layer transfers, so a new head fits any degree- target from samples with excess loss , independent of .
The first step replaces each neuron by a function of itself. Because , the gradient of neuron involves only the preprocessed labels, with , and the weight decay exactly cancels : No trace of the random initialization is left, and by homogeneity the question is what does to a uniform direction.
The population feature map is once the low-order parts are subtracted. Stein's lemma and the Hermite expansion of give, for unit , an asymptotic series in whose later terms carry more information about but are smaller by further powers of . Without preprocessing the order-one , the same for every neuron, would move all neurons one way; subtracting leaves , of order , as the leading term. Since maps into , every neuron lands in the principal subspace, and Assumption 2 makes the images span it. Ba et al.'s mechanism is the first term of this same expansion.
Estimating the Hessian term takes samples. The signal has size , and the empirical map must match the population one uniformly over neurons, so up to logs. The uniform bound combines truncation by hypercontractivity, a hyperplane-arrangement count (the sign patterns take at most values) and subgaussian tails; a leave-one-out split shows the new preactivations are at most on the training points, so puts them in and exactly undoes the size of .
Random biased ReLUs reproduce monomials on with bounded weights. For and , integration by parts gives plus an affine function, so for every there is with transferred to Gaussian biases by importance weighting. That is why the biases are redrawn: a ReLU with random bias acts, in expectation, like any power of its preactivation.
Random directions span every polynomial on , at a cost set by . Write each monomial as an average with the minimum-norm coefficient from the moment matrix of . That works once the moment matrix is nondegenerate on symmetric tensors over , which holds for the leading term because is a nondegenerate random vector in of smallest scale , with the smallest nonzero eigenvalue in absolute value ( need not be positive semidefinite); the remainder is absorbed using and . With Step 10, the dimension drops out, cancelling the , and summing over the Taylor tensors of represents it with second moment .
Finite width, ridge and generalization. Sampling neurons realizes the representation with training error and (Bernstein); ridge on is norm-constrained least squares, which gradient descent approximates; and a Rademacher bound gives . The factor is there because was built from the same sample, so the bound must hold uniformly over first layers; with fresh data it disappears. The is the square root of the label-noise fluctuation of the training loss.
Transfer follows from the polynomial representation, and the lower bound from targets with . Steps 10 to 12 used only as a degree- polynomial on , so a new head fits any with . For the lower bound take over unit vectors with pairwise overlap at most : , and Szörényi's argument eliminates at most candidates per query, which forces the tolerance bound. These functions have for , so the gradient's expansion starts at order : information exponent .
Consequences and limits. Both papers describe one mechanism: the first large gradient applies a fixed linear map to each random neuron, projecting the features onto the relevant directions, and the head is then fit on them as a random-features model. What this achieves depends on the learning-rate scale and on which Hermite term is nonzero. At the representation improves but stays Gaussian-equivalent and linear in , above . At , the maximal-update scale, a network beats every kernel with samples, whereas kernels on the sphere need to get past linear functions. With the Hessian term, samples replace , and the learned layer transfers to any target on the same subspace. The mechanism needs a nonzero low-order term: with the spike carries nothing about , and with correlational methods need . Nothing shows the is necessary: the CSQ bound at rules out only , and online SGD with a known link at information exponent 2 needs about samples (Ben Arous et al.). Limits: Gaussian inputs, one step with no further training of the first layer, fresh data for the head (Ba et al.) or exact cancellation of the initialization (Damian et al.), single-index teachers or polynomial targets, odd smooth or bounded activations; the large-step result is an upper bound for a large constant that helps only when is close to a Gaussian smoothing of the student's activation, and the and factors grow quickly with the degree.
Terms
- Kernel floor
- RF, NTK and rotation-invariant kernels have risk when
- Rank-one gradient
- ; the part loses through sup norms
- spike direction; ,
- BBP threshold
- spike in iff ; overlap , which is below 1 at finite
- Gaussian equivalence (GET)
- features act like when neurons are nearly orthogonal
- Large step
- neuron shifts by ; GET fails
- ; risk of the best neuron average
- average Hessian ; Assumption 2: rank , so
- Preprocessing
- subtract so the order-one term leaves the gradient
- uniform gradient error must beat the Hessian signal
Quiz
- Why is the first-step gradient close to the rank-one matrix in operator norm?A Hadamard product with is a diagonal sandwich, so its norm is at most . The sup norms are times smaller than the norms the mean part gets, so that term is smaller by .
- Why can a step of size , or any fixed number of them, not beat ?Near-orthogonality is what Hu and Lu's Gaussian-equivalence proof needs, and it survives small steps. The equivalent features are linear in plus independent noise, so the prediction is linear in up to noise and cannot capture .
- Why does Algorithm 1 subtract from the labels before the first step?By Stein's lemma the gradient map is . The term is order one and does not depend on , while the useful term is order , so it has to be removed first.
- What does the weight decay in the first step accomplish?. The new neuron is then a pure image of , approximately , so it lies in up to the remainder.
Sources
- Jimmy Ba, Murat A. Erdogdu, Taiji Suzuki, Zhichao Wang, Denny Wu, and Greg Yang. High-dimensional Asymptotics of Feature Learning: How One Gradient Step Improves the Representation. NeurIPS, 2022.
- Alex Damian, Jason D. Lee, and Mahdi Soltanolkotabi. Neural Networks can Learn Representations with Gradient Descent. COLT, 2022.