Skip to main content
QUICK REVIEW

[Paper Review] High-dimensional Asymptotics of Feature Learning: How One Gradient Step Improves the Representation

Jimmy Ba, Murat A. Erdogdu|arXiv (Cornell University)|May 3, 2022
Stochastic Gradient Optimization TechniquesComputer Science11 citations
TL;DR

This paper analyzes the first gradient step on the first-layer weights in a two-layer neural network under high-dimensional asymptotics, showing that even one step induces a rank-1 spike in the weight matrix, aligning with the linear component of the teacher model. This alignment enables ridge regression on the updated features to surpass random features and, for sufficiently large learning rates, even outperform optimal linear models on the input, demonstrating early feature learning's power in the proportional limit.

ABSTRACT

We study the first gradient descent step on the first-layer parameters $\boldsymbol{W}$ in a two-layer neural network: $f(\boldsymbol{x}) = \frac{1}{\sqrt{N}}\boldsymbol{a}^ opσ(\boldsymbol{W}^ op\boldsymbol{x})$, where $\boldsymbol{W}\in\mathbb{R}^{d imes N}, \boldsymbol{a}\in\mathbb{R}^{N}$ are randomly initialized, and the training objective is the empirical MSE loss: $\frac{1}{n}\sum_{i=1}^n (f(\boldsymbol{x}_i)-y_i)^2$. In the proportional asymptotic limit where $n,d,N o\infty$ at the same rate, and an idealized student-teacher setting, we show that the first gradient update contains a rank-1 "spike", which results in an alignment between the first-layer weights and the linear component of the teacher model $f^*$. To characterize the impact of this alignment, we compute the prediction risk of ridge regression on the conjugate kernel after one gradient step on $\boldsymbol{W}$ with learning rate $η$, when $f^*$ is a single-index model. We consider two scalings of the first step learning rate $η$. For small $η$, we establish a Gaussian equivalence property for the trained feature map, and prove that the learned kernel improves upon the initial random features model, but cannot defeat the best linear model on the input. Whereas for sufficiently large $η$, we prove that for certain $f^*$, the same ridge estimator on trained features can go beyond this "linear regime" and outperform a wide range of random features and rotationally invariant kernels. Our results demonstrate that even one gradient step can lead to a considerable advantage over random features, and highlight the role of learning rate scaling in the initial phase of training.

Motivation & Objective

  • To understand how the first gradient update on the first-layer weights improves representation learning in two-layer neural networks.
  • To characterize the impact of this update on kernel ridge regression performance in the proportional asymptotic regime (n, d, N → ∞ at same rate).
  • To determine under what learning rate scalings the updated features can surpass random features and linear models.
  • To establish a theoretical foundation for non-kernel behavior in early training, linking it to feature adaptation.

Proposed method

  • Analyzes the first gradient descent step on the first-layer weights W in a two-layer ReLU or erf-activated neural network with random initialization.
  • Uses a student-teacher framework with a single-index teacher model f* to isolate the effect of feature learning.
  • Employs high-dimensional asymptotic analysis in the proportional limit (n, d, N → ∞ with n/d, N/d → constant) to derive deterministic equivalents for prediction risk.
  • Derives the structure of the updated weight matrix as a rank-1 spike plus noise, showing alignment with the linear component of f*.
  • Computes the prediction risk of ridge regression on the conjugate kernel after one gradient step, using spectral analysis and random matrix theory.
  • Considers two scalings of the learning rate: small η (Gaussian equivalence) and large η (beyond linear regime), deriving risk bounds in each case.

Experimental results

Research questions

  • RQ1Does the first gradient step on the first-layer weights induce a structured change in the representation, beyond random features?
  • RQ2Can this single update lead to a performance gain over random features and linear models in the high-dimensional regime?
  • RQ3How does the learning rate scale affect the ability of the updated features to generalize beyond the linear regime?
  • RQ4What is the precise statistical behavior of the kernel after one gradient step, and how does it relate to the teacher model's structure?

Key findings

  • The first gradient update on W induces a rank-1 spike in the weight matrix, causing alignment with the linear component of the teacher model f*.
  • For small learning rates, the trained features achieve Gaussian equivalence, and the prediction risk improves over random features but remains bounded by the linear model's risk.
  • For sufficiently large learning rates, the ridge estimator on the updated features can exceed the performance of any linear model on the input, demonstrating a departure from the linear regime.
  • The prediction risk after one step is upper-bounded by 10τ* + C′(√τ*·√(d/n) + d/n), where τ* is the norm of the nonlinear component of f*, showing dependence on the teacher's nonlinearity.
  • The improvement is due to the alignment of the top singular vector of the kernel matrix with the training labels, driven by the rank-1 update.
  • The results establish that even one gradient step enables feature learning that is statistically significant and can outperform fixed kernel methods.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.