Sam Babichenko

Reading notes / High-dimensional SGD

Feature learning from one gradient step

Ba et al., 2022; Damian et al., 2022

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 n≍dn\asymp d and needs n≳dpn\gtrsim d^p samples for a degree-pp 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 rr-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 X⊤yX^\top y; its second, the average Hessian H=E∇2f∗H=\mathbb E\nabla^2f^*, 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 f(x)=1Na⊤σ(W⊤x)f(x)=\frac1{\sqrt N}a^\top\sigma(W^\top x) with Gaussian W0W_0 and aa (mean-field scaling, so f0=o(1)f_0=o(1)), data x∼N(0,Id)x\sim N(0,I_d), y=f∗(x)+εy=f^*(x)+\varepsilon, and n/d→ψ1n/d\to\psi_1, N/d→ψ2N/d\to\psi_2. The activation has Eσ=0\mathbb E\sigma=0 and μ1=E[zσ(z)]≠0\mu_1=\mathbb E[z\sigma(z)]\ne0, with σ=μ1z+σ⊥\sigma=\mu_1z+\sigma_\perp. With aa fixed, one step of size η\eta is W1=W0+ηN G0W_1=W_0+\eta\sqrt N\,G_0, G0=1nX⊤[(1N(y−f0(X))a⊤)⊙σ′(XW0)],G_0=\frac1nX^\top\Big[\Big(\frac{1}{\sqrt N}\big(y-f_0(X)\big)a^\top\Big)\odot\sigma'(XW_0)\Big], and then ridge regression of aa on an independent sample gives risk R1(λ)R_1(\lambda). The target splits as f∗=μ0∗+μ1∗⟨x,β∗⟩+P>1f∗f^*=\mu_0^*+\mu_1^*\langle x,\beta^*\rangle+P_{>1}f^*, and for the risk results it is single-index, σ∗(⟨x,β∗⟩)\sigma^*(\langle x,\beta^*\rangle), with μ2∗=∥P>1f∗∥\mu_2^*=\|P_{>1}f^*\|. The kernel floor (Proposition 1): ridge on the initial features, the NTK, or any inner-product or distance kernel has risk at least μ2∗2−oP(1)\mu_2^{*2}-o_P(1), because in this regime each is equivalent to linear regression on xx.

Ba et al.'s results. The step is rank one up to log⁡2n/n\log^2n/\sqrt n (Proposition 2). For η=Θ(1)\eta=\Theta(1), with θ1=μ1ημˉ2/ψ1+μ1∗2\theta_1=\mu_1\eta\sqrt{\bar\mu^2/\psi_1+\mu_1^{*2}}, θ2=μ1μ1∗η\theta_2=\mu_1\mu_1^*\eta and μˉ2=∥f∗∥L22+σε2\bar\mu^2=\|f^*\|_{L^2}^2+\sigma_\varepsilon^2 the energy of the labels, label noise included, a spike appears iff θ1>ψ21/4\theta_1\gt\psi_2^{1/4} (Theorem 3), with s1(W1)→(1+θ12)(ψ2+θ12)θ1,∣⟨u1,β∗⟩∣2→θ22θ12(1−ψ2+θ12θ12(θ12+1)).s_1(W_1)\to\frac{\sqrt{(1+\theta_1^2)(\psi_2+\theta_1^2)}}{\theta_1},\qquad|\langle u_1,\beta^*\rangle|^2\to\frac{\theta_2^2}{\theta_1^2}\Big(1-\frac{\psi_2+\theta_1^2}{\theta_1^2(\theta_1^2+1)}\Big). Label noise strengthens the spike and dilutes its overlap, and the effect is large: the printed Theorem 3 drops σε2\sigma_\varepsilon^2 from μˉ2\bar\mu^2 although its own proof carries it, and at d=1000d=1000 a simulation gives s1=3.70s_1=3.70, 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 σ\sigma, the risk equals that of the Gaussian-equivalent features μ1Wt⊤x+μ2z\mu_1W_t^\top x+\mu_2z (Theorem 5), so R1≥μ2∗2R_1\ge\mu_2^{*2}; the gain R0−R1→δ≥0R_0-R_1\to\delta\ge0 is explicit through fixed-point equations, positive iff μ1μ1∗η≠0\mu_1\mu_1^*\eta\ne0, and vanishes as ψ2→∞\psi_2\to\infty (Theorem 7). For a large step η=ηˉN\eta=\bar\eta\sqrt N and bounded σ\sigma, with τ∗=inf⁡κEξ1(σ∗(ξ1)−Eξ2σ(κξ1+ξ2))2\tau^*=\inf_\kappa\mathbb E_{\xi_1}\big(\sigma^*(\xi_1)-\mathbb E_{\xi_2}\sigma(\kappa\xi_1+\xi_2)\big)^2, Theorem 11 gives, for n/dn/d above a constant, R1(λ)≤10τ∗+C(τ∗d/n+d/n),R_1(\lambda)\le10\tau^*+C\Big(\sqrt{\tau^*d/n}+d/n\Big), so one large step beats every kernel when 10τ∗<μ2∗210\tau^*\lt\mu_2^{*2}; for σ=σ∗=erf⁡\sigma=\sigma^*=\operatorname{erf}, τ∗=0\tau^*=0 and R1=O(d/n)R_1=O(d/n).

Step 1

The first gradient is rank one, because a Hadamard product with a rank-one matrix loses a factor n\sqrt n. Split σ′=μ1+σ⊥′\sigma'=\mu_1+\sigma'_\perp, so G0=A+B+CG_0=A+B+C with A=μ1nNX⊤ya⊤A=\frac{\mu_1}{n\sqrt N}X^\top ya^\top, BB the σ⊥′\sigma'_\perp part, and CC the network's own output. The estimate used is ∥(ya⊤)⊙M∥=∥diag⁡(y) Mdiag⁡(a)∥≤∥y∥∞∥a∥∞∥M∥:\|(ya^\top)\odot M\|=\|\operatorname{diag}(y)\,M\operatorname{diag}(a)\|\le\|y\|_\infty\|a\|_\infty\|M\|: where AA gets the ℓ2\ell^2 norms ∥y∥≈n\|y\|\approx\sqrt n, ∥a∥≈1\|a\|\approx1, BB gets only the sup norms, so ∥B∥=O(log⁡2n/n)\|B\|=O(\log^2n/n) against ∥A∥≍1/n\|A\|\asymp1/\sqrt n, and CC is small under mean-field scaling. The same induction keeps each neuron within O(log⁡2N/N)O(\log^2N/\sqrt N) of its start for any fixed number of steps at η=Θ(1)\eta=\Theta(1).

Step 2

The spike is a BBP transition, and its overlap with β∗\beta^* is inherited from uu. W1≈W0+ua⊤W_1\approx W_0+ua^\top with u=ημ1nX⊤yu=\frac{\eta\mu_1}{n}X^\top y, which is ημ1μ1∗β∗\eta\mu_1\mu_1^*\beta^* plus an isotropic fluctuation of squared norm of order d/nd/n. Sylvester's determinant identity reduces the outlier equation to a 2×22\times2 determinant of resolvent quadratic forms, det⁡(I2+(∥a∥2110)(u⊤a⊤W0⊤)Q0(x)(uW0a))=0,Q0=(W0W0⊤−x)−1,\det\Big(I_2+\begin{pmatrix}\|a\|^2&1\\1&0\end{pmatrix}\begin{pmatrix}u^\top\\a^\top W_0^\top\end{pmatrix}Q_0(x)\begin{pmatrix}u&W_0a\end{pmatrix}\Big)=0,\qquad Q_0=(W_0W_0^\top-x)^{-1}, whose entries converge to Marchenko-Pastur transforms, leaving 1+θ12(1+xm(x))=01+\theta_1^2(1+xm(x))=0, with a root beyond the edge iff θ14>ψ2\theta_1^4\gt\psi_2. The overlap is the classical spike overlap with u/∥u∥u/\|u\| times cos⁡2(u,β∗)=θ22/θ12\cos^2(u,\beta^*)=\theta_2^2/\theta_1^2, so even as η→∞\eta\to\infty the spike points along β∗\beta^* only as well as X⊤y/nX^\top y/n does.

Step 3

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 ∥W∥=O(1)\|W\|=O(1) and pairwise overlaps (with each other and with β∗\beta^*) of order polylog/d\mathrm{polylog}/\sqrt d, plus an ℓ∞\ell^\infty bound on the ridge solutions, which the paper reproves for W0+ΔW_0+\Delta 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 ξ1=⟨β∗,x⟩\xi_1=\langle\beta^*,x\rangle plus independent Gaussian noise, so the risk is at least E(σ∗(ξ1)−c ξ1)2≥μ2∗2\mathbb E(\sigma^*(\xi_1)-c\,\xi_1)^2\ge\mu_2^{*2}.

Step 4

The small-step gain is a rank-one perturbation of the random-features risk, computed without rotation invariance. The variance term is unchanged, since W1⊤W1−W0⊤W0W_1^\top W_1-W_0^\top W_0 has Frobenius norm O(1)O(1); only the bias moves, and averaging β∗\beta^* over the sphere is no longer allowed because W1W_1 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 u⊤X~⊤Φ0R0Φ0⊤X~uu^\top\tilde X^\top\Phi_0R_0\Phi_0^\top\tilde Xu, concentrate on θ12\theta_1^2, θ2\theta_2 or θ22\theta_2^2 times normalized traces, because uu and aa are independent of the second sample, and those traces are evaluated with linear pencils, so δ\delta is a rational function of their limits.

Step 5

A step of size N\sqrt N shifts each neuron along β∗\beta^* by its own output weight, and an average of neurons is a Gaussian smoothing of σ\sigma. With η=ηˉN\eta=\bar\eta\sqrt N the signal part of column ii of the update is ηN[A1]i=ηˉμ1μ1∗(1nX⊤X)β∗⋅Nai ≈ ciβ∗,ci=ηˉμ1μ1∗Nai∼N(0,(ηˉμ1μ1∗)2),\eta\sqrt N[A_1]_i=\bar\eta\mu_1\mu_1^*\big(\tfrac1nX^\top X\big)\beta^*\cdot\sqrt Na_i\ \approx\ c_i\beta^*,\qquad c_i=\bar\eta\mu_1\mu_1^*\sqrt Na_i\sim N\big(0,(\bar\eta\mu_1\mu_1^*)^2\big), order one, so near-orthogonality and Gaussian equivalence are lost. Keep the neurons with Nai≈α\sqrt Na_i\approx\alpha; they share κ=ηˉμ1μ1∗α\kappa=\bar\eta\mu_1\mu_1^*\alpha while their wi0w_i^0 are independent, and a law of large numbers turns their average into fˉ(x)=Eξ2σ(κξ1+ξ2)\bar f(x)=\mathbb E_{\xi_2}\sigma(\kappa\xi_1+\xi_2). The rest of the update adds an error of order d/nd/n: every selected neuron inherits the error of X⊤y/nX^\top y/n as an estimate of μ1∗β∗\mu_1^*\beta^*. Since the Gaussian aia_i take every value, κ\kappa is free, which is why the bound involves τ∗\tau^* and not ηˉ\bar\eta; for erf, Eerf⁡(κξ1+ξ2)=erf⁡(κξ1/3)\mathbb E\operatorname{erf}(\kappa\xi_1+\xi_2)=\operatorname{erf}(\kappa\xi_1/\sqrt3), so κ=3\kappa=\sqrt3 reproduces the teacher.

Step 6

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 1Nσ(W1⊤x)\frac1{\sqrt N}\sigma(W_1^\top x), and once the empirical feature covariance concentrates (bounded σ\sigma, n/dn/d above a constant) ordinary KRR bounds give R1≤B1+B2+2B1B2+oP(1)R_1\le B_1+B_2+2\sqrt{B_1B_2}+o_P(1), with both terms controlled by Step 5's ∥f∗−fr∥2\|f^*-f_r\|^2 and a norm ∥fr∥H2=Θ(Nr)\|f_r\|^2_{\mathcal H}=\Theta(N^r) that the ridge range makes negligible. That gives Theorem 11 with the unoptimized constant 10.

Setting and results (Damian et al.). The target is f∗(x)=g(⟨x,u1⟩,…,⟨x,ur⟩)f^*(x)=g(\langle x,u_1\rangle,\dots,\langle x,u_r\rangle), a degree-pp polynomial on a principal subspace S∗S^* (projector Π∗\Pi^*), with Gaussian input and labels y=f∗+ϵy=f^*+\epsilon, ϵ∼Unif{±ς}\epsilon\sim\mathrm{Unif}\{\pm\varsigma\}. Assumption 2: H=E∇2f∗H=\mathbb E\nabla^2f^* has rank rr, with conditioning κ=∥H†∥/r\kappa=\|H^\dagger\|/\sqrt r. The network is ∑jajReLU(wj⋅x+bj)\sum_ja_j\mathrm{ReLU}(w_j\cdot x+b_j) with a symmetric initialization (fθ0≡0f_{\theta_0}\equiv0). Algorithm 1 subtracts α+β⋅x\alpha+\beta\cdot x (the empirical mean and linear fit) from the labels, takes one step on WW with η1=O~(d)\eta_1=\tilde O(\sqrt d) and weight decay λ1=η1−1\lambda_1=\eta_1^{-1}, redraws the biases, and runs gradient descent with weight decay on aa alone. Theorem 1: if n≥Ω~(d2κ2r)n\ge\tilde\Omega(d^2\kappa^2r) and d≥Ω~(κr3/2)d\ge\tilde\Omega(\kappa r^{3/2}), then with probability 0.99 Ex,y∣fθ(T)(x)−y∣−ς ≤ O~(drpκ2pn+rpκ2pm+1n1/4),\mathbb E_{x,y}|f_{\theta^{(T)}}(x)-y|-\varsigma\ \le\ \tilde O\Big(\sqrt{\frac{dr^p\kappa^{2p}}{n}}+\sqrt{\frac{r^p\kappa^{2p}}{m}}+\frac1{n^{1/4}}\Big), so n≳d2rκ2+drpκ2pn\gtrsim d^2r\kappa^2+dr^p\kappa^{2p} samples and m≳rpκ2pm\gtrsim r^p\kappa^{2p} neurons, against dpd^p for kernels. Theorem 2: for single-index Hep\mathrm{He}_p targets, correlational query learners need tolerance τ≲(log⁡(qd)/d)p/4\tau\lesssim(\log(qd)/d)^{p/4}, so n≳dp/2n\gtrsim d^{p/2} under the heuristic τ≈n−1/2\tau\approx n^{-1/2}. Theorem 3: a pretrained first layer transfers, so a new head fits any degree-pp target g~(Π∗x)\tilde g(\Pi^*x) from NN samples with excess loss O~(rpκ2p/min⁡(m,N)+N−1/4)\tilde O(\sqrt{r^p\kappa^{2p}/\min(m,N)}+N^{-1/4}), independent of dd.

Step 7

The first step replaces each neuron by a function of itself. Because fθ0≡0f_{\theta_0}\equiv0, the gradient of neuron jj involves only the preprocessed labels, ∇wjL=−2ajgn(wj)\nabla_{w_j}L=-2a_jg_n(w_j) with gn(w)=1n∑iy^ixiσ′(w⋅xi)g_n(w)=\frac1n\sum_i\hat y_ix_i\sigma'(w\cdot x_i), and the weight decay λ1=η1−1\lambda_1=\eta_1^{-1} exactly cancels W(0)W^{(0)}: wj(1)=2η1aj gn(wj).w_j^{(1)}=2\eta_1a_j\,g_n(w_j). No trace of the random initialization is left, and by homogeneity the question is what w↦gn(w)w\mapsto g_n(w) does to a uniform direction.

Step 8

The population feature map is Hw/2πHw/\sqrt{2\pi} once the low-order parts are subtracted. Stein's lemma and the Hermite expansion of σ′\sigma' give, for unit ww, g(w)=E[f^∗(x) x σ′(w⋅x)]=C1−β2+w(C0−α)2π+Hw2π+∑k≥2(ck+1Ck+1(w⊗k)k!+ck+2 w Ck(w⊗k)k!),g(w)=\mathbb E[\hat f^*(x)\,x\,\sigma'(w\cdot x)]=\frac{C_1-\beta}{2}+\frac{w(C_0-\alpha)}{\sqrt{2\pi}}+\frac{Hw}{\sqrt{2\pi}}+\sum_{k\ge2}\Big(c_{k+1}\frac{C_{k+1}(w^{\otimes k})}{k!}+c_{k+2}\,w\,\frac{C_k(w^{\otimes k})}{k!}\Big), an asymptotic series in d−1/2d^{-1/2} whose later terms carry more information about f∗f^* but are smaller by further powers of d−1/2d^{-1/2}. Without preprocessing the order-one C1/2C_1/2, the same for every neuron, would move all neurons one way; subtracting α+β⋅x\alpha+\beta\cdot x leaves Hw/2πHw/\sqrt{2\pi}, of order d−1/2d^{-1/2}, as the leading term. Since HH maps into S∗S^*, 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.

Step 9

Estimating the Hessian term takes d2d^2 samples. The signal has size ∥Hw∥≳1/(κd)\|Hw\|\gtrsim1/(\kappa\sqrt d), and the empirical map must match the population one uniformly over neurons, sup⁡w∈Sd−1∥gn(w)−g(w)∥≲d ιp+1n,\sup_{w\in S^{d-1}}\|g_n(w)-g(w)\|\lesssim\sqrt{\frac{d\,\iota^{p+1}}{n}}, so n≳d2κ2n\gtrsim d^2\kappa^2 up to logs. The uniform bound combines truncation by hypercontractivity, a hyperplane-arrangement count (the sign patterns σ′(w⋅xi)\sigma'(w\cdot x_i) take at most ndn^d values) and subgaussian tails; a leave-one-out split shows the new preactivations are at most ι3/d\sqrt{\iota^3/d} on the training points, so η1≍d\eta_1\asymp\sqrt d puts them in [−1,1][-1,1] and exactly undoes the d−1/2d^{-1/2} size of HwHw.

Step 10

Random biased ReLUs reproduce monomials on [−1,1][-1,1] with bounded weights. For a∼Unif{±1}a\sim\mathrm{Unif}\{\pm1\} and b∼Unif[−1,1]b\sim\mathrm{Unif}[-1,1], integration by parts gives E[2(1−a)f′′(b)σ(ax+b)]=f(x)\mathbb E[2(1-a)f''(b)\sigma(ax+b)]=f(x) plus an affine function, so for every kk there is vk(a,b)v_k(a,b) with E[vk(a,b) σ(ax+b)]=xk(∣x∣≤1),sup⁡∣vk∣≲1,\mathbb E[v_k(a,b)\,\sigma(ax+b)]=x^k\quad(|x|\le1),\qquad\sup|v_k|\lesssim1, 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.

Step 11

Random directions HwHw span every polynomial on S∗S^*, at a cost set by κ\kappa. Write each monomial ⟨T,x⊗k⟩\langle T,x^{\otimes k}\rangle as an average Ew[zT(w)(gn(w)⋅x)k]\mathbb E_w[z_T(w)(g_n(w)\cdot x)^k] with the minimum-norm coefficient from the moment matrix of gn(w)⊗kg_n(w)^{\otimes k}. That works once the moment matrix is nondegenerate on symmetric tensors over S∗S^*, Ew⟨T,(Π∗gn(w))⊗k⟩2 ≳ (rdκ2)−k∥T∥F2,\mathbb E_w\langle T,(\Pi^*g_n(w))^{\otimes k}\rangle^2\ \gtrsim\ (rd\kappa^2)^{-k}\|T\|_F^2, which holds for the leading term because HwHw is a nondegenerate random vector in S∗S^* of smallest scale λmin⁡(H)/d\lambda_{\min}(H)/\sqrt d, with λmin⁡\lambda_{\min} the smallest nonzero eigenvalue in absolute value (HH need not be positive semidefinite); the remainder is absorbed using n≳d2rκ2n\gtrsim d^2r\kappa^2 and d≳κr3/2d\gtrsim\kappa r^{3/2}. With Step 10, the dimension drops out, η1−2k\eta_1^{-2k} cancelling the dkd^k, and summing over the Taylor tensors of f∗f^* represents it with second moment O~(rpκ2p)\tilde O(r^p\kappa^{2p}).

Step 12

Finite width, ridge and generalization. Sampling mm neurons realizes the representation with training error O~(rpκ2p/m)\tilde O(r^p\kappa^{2p}/m) and ∥a∗∥2≲rpκ2p/m\|a^*\|^2\lesssim r^p\kappa^{2p}/m (Bernstein); ridge on aa is norm-constrained least squares, which gradient descent approximates; and a Rademacher bound gives ∥a∗∥md/n=drpκ2p/n\|a^*\|\sqrt{md/n}=\sqrt{dr^p\kappa^{2p}/n}. The factor dd is there because W(1)W^{(1)} was built from the same sample, so the bound must hold uniformly over first layers; with fresh data it disappears. The n−1/4n^{-1/4} is the square root of the label-noise fluctuation of the training loss.

Step 13

Transfer follows from the polynomial representation, and the lower bound from targets with H=0H=0. Steps 10 to 12 used f∗f^* only as a degree-pp polynomial on S∗S^*, so a new head fits any g~(Π∗x)\tilde g(\Pi^*x) with N,m≳rpκ2pN,m\gtrsim r^p\kappa^{2p}. For the lower bound take Hep(v⋅x)/p!\mathrm{He}_p(v\cdot x)/\sqrt{p!} over ecϵ2de^{c\epsilon^2d} unit vectors with pairwise overlap at most ϵ\epsilon: Efvfw=(v⋅w)p≤ϵp\mathbb E f_vf_w=(v\cdot w)^p\le\epsilon^p, and Szörényi's argument eliminates at most 2/(τ2−ϵp)2/(\tau^2-\epsilon^p) candidates per query, which forces the tolerance bound. These functions have H=0H=0 for p≥3p\ge3, so the gradient's expansion starts at order d−(p−1)/2d^{-(p-1)/2}: information exponent pp.

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 η=Θ(1)\eta=\Theta(1) the representation improves but stays Gaussian-equivalent and linear in xx, above ∥P>1f∗∥2\|P_{>1}f^*\|^2. At η≍N\eta\asymp\sqrt N, the maximal-update scale, a network beats every kernel with n≍dn\asymp d samples, whereas kernels on the sphere need n≳d2n\gtrsim d^2 to get past linear functions. With the Hessian term, d2r+drpd^2r+dr^p samples replace dpd^p, and the learned layer transfers to any target on the same subspace. The mechanism needs a nonzero low-order term: with μ1∗=0\mu_1^*=0 the spike carries nothing about β∗\beta^*, and with H=0H=0 correlational methods need dp/2d^{p/2}. Nothing shows the d2d^2 is necessary: the CSQ bound at p=2p=2 rules out only n≲dn\lesssim d, and online SGD with a known link at information exponent 2 needs about dlog⁡2dd\log^2d 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 n/dn/d that helps only when σ∗\sigma^* is close to a Gaussian smoothing of the student's activation, and the κ\kappa and rpr^p factors grow quickly with the degree.

Terms

Kernel floor
RF, NTK and rotation-invariant kernels have risk ≥μ2∗2\ge\mu_2^{*2} when n≍dn\asymp d
Rank-one gradient
G0≈μ1nNX⊤ya⊤G_0\approx\frac{\mu_1}{n\sqrt N}X^\top ya^\top; the σ⊥′\sigma'_\perp part loses n\sqrt n through sup norms
u=ημ1nX⊤yu=\frac{\eta\mu_1}{n}X^\top y
spike direction; ∥u∥→θ1\|u\|\to\theta_1, ⟨u,β∗⟩→θ2=μ1μ1∗η\langle u,\beta^*\rangle\to\theta_2=\mu_1\mu_1^*\eta
BBP threshold
spike in W1W_1 iff θ14>ψ2\theta_1^4>\psi_2; overlap ≤θ22/θ12\le\theta_2^2/\theta_1^2, which is below 1 at finite ψ1\psi_1
Gaussian equivalence (GET)
features σ(W⊤x)\sigma(W^\top x) act like μ1W⊤x+μ2z\mu_1W^\top x+\mu_2z when neurons are nearly orthogonal
Large step η=ηˉN\eta=\bar\eta\sqrt N
neuron ii shifts by ηˉμ1μ1∗Nai β∗\bar\eta\mu_1\mu_1^*\sqrt Na_i\,\beta^*; GET fails
τ∗\tau^*
inf⁡κE(σ∗(ξ1)−Eξ2σ(κξ1+ξ2))2\inf_\kappa\mathbb E(\sigma^*(\xi_1)-\mathbb E_{\xi_2}\sigma(\kappa\xi_1+\xi_2))^2; risk of the best neuron average
H=E∇2f∗H=\mathbb E\nabla^2f^*
average Hessian =C2=C_2; Assumption 2: rank rr, so span(H)=S∗\mathrm{span}(H)=S^*
Preprocessing
subtract α+β⋅x\alpha+\beta\cdot x so the order-one C1/2C_1/2 term leaves the gradient
n≳d2rκ2n\gtrsim d^2r\kappa^2
uniform gradient error d/n\sqrt{d/n} must beat the Hessian signal ≈d−1/2\approx d^{-1/2}

Quiz

  1. Why is the first-step gradient G0G_0 close to the rank-one matrix μ1nNX⊤ya⊤\frac{\mu_1}{n\sqrt N}X^\top ya^\top in operator norm?
  2. Why can a step of size η=Θ(1)\eta=\Theta(1), or any fixed number of them, not beat ∥P>1f∗∥2\|P_{>1}f^*\|^2?
  3. Why does Algorithm 1 subtract α+β⋅x\alpha+\beta\cdot x from the labels before the first step?
  4. What does the weight decay λ1=η1−1\lambda_1=\eta_1^{-1} in the first step accomplish?

Sources