High-dimensional Asymptotics of Feature Learning: How One Gradient Step Improves the Representation

preprint2022arXivOpen access

Abstract

We study the first gradient descent step on the first-layer parameters W\boldsymbol{W} in a two-layer neural network: f(x)=1Na⊤σ(W⊤x)f(\boldsymbol{x}) = \frac{1}{\sqrt{N}}\boldsymbol{a}^\topσ(\boldsymbol{W}^\top\boldsymbol{x}), where W∈Rd×N,a∈RN\boldsymbol{W}\in\mathbb{R}^{d\times N}, \boldsymbol{a}\in\mathbb{R}^{N} are randomly initialized, and the training objective is the empirical MSE loss: 1n∑i=1n(f(xi)−yi)2\frac{1}{n}\sum_{i=1}^n (f(\boldsymbol{x}_i)-y_i)^2. In the proportional asymptotic limit where n,d,N→∞n,d,N\to\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∗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 W\boldsymbol{W} with learning rate ηη, when f∗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∗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.

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.