A Theory of Non-Linear Feature Learning with One Gradient Step in Two-Layer Neural Networks
Behrad Moniri, Donghwan Lee, Hamed Hassani, Edgar Dobriban
TL;DR
The paper addresses the inability of one-step feature learning in two-layer networks with fixed learning rates to capture nonlinear components of the target. By letting the gradient step size scale as ${\eta \asymp n^{\alpha}}$ with ${\alpha\in(0,1/2)}$, it shows the emergence of ${\ell}$ spectral spikes in the updated feature matrix, each corresponding to polynomial features of degree ${1,\ldots,\ell}$. The left singular vectors associated with these spikes align with monomial features ${( ilde{\mathbf{X}} \boldsymbol{\beta})^{\circ k}}$, enabling learning of higher-degree components via ridge regression, and the authors provide equivalence theorems to rigorously characterize training and test errors through Gaussian equivalence. They prove that for ${\ell=1}$ nonlinear features are not learned, while for ${\ell=2}$ the network can learn quadratic components, with implications for when nonlinear representations improve generalization in high-dimensional settings.
Abstract
Feature learning is thought to be one of the fundamental reasons for the success of deep neural networks. It is rigorously known that in two-layer fully-connected neural networks under certain conditions, one step of gradient descent on the first layer can lead to feature learning; characterized by the appearance of a separated rank-one component -- spike -- in the spectrum of the feature matrix. However, with a constant gradient descent step size, this spike only carries information from the linear component of the target function and therefore learning non-linear components is impossible. We show that with a learning rate that grows with the sample size, such training in fact introduces multiple rank-one components, each corresponding to a specific polynomial feature. We further prove that the limiting large-dimensional and large sample training and test errors of the updated neural networks are fully characterized by these spikes. By precisely analyzing the improvement in the training and test errors, we demonstrate that these non-linear features can enhance learning.
