[Paper Review] Limitations of Lazy Training of Two-layers Neural Networks
This paper investigates the limitations of lazy training in two-layer ReLU neural networks with quadratic activations, comparing random features (RF), neural tangent (NT), and fully trained (NN) regimes. It proves that when the number of neurons is less than the input dimension, the generalization risk can be unboundedly worse in RF and NT regimes compared to full training, even for simple quadratic functions, highlighting fundamental gaps in lazy learning performance under low overparameterization.
We study the supervised learning problem under either of the following two models: (1) Feature vectors ${\boldsymbol x}_i$ are $d$-dimensional Gaussians and responses are $y_i = f_*({\boldsymbol x}_i)$ for $f_*$ an unknown quadratic function; (2) Feature vectors ${\boldsymbol x}_i$ are distributed as a mixture of two $d$-dimensional centered Gaussians, and $y_i$'s are the corresponding class labels. We use two-layers neural networks with quadratic activations, and compare three different learning regimes: the random features (RF) regime in which we only train the second-layer weights; the neural tangent (NT) regime in which we train a linearization of the neural network around its initialization; the fully trained neural network (NN) regime in which we train all the weights in the network. We prove that, even for the simple quadratic model of point (1), there is a potentially unbounded gap between the prediction risk achieved in these three training regimes, when the number of neurons is smaller than the ambient dimension. When the number of neurons is larger than the number of dimensions, the problem is significantly easier and both NT and NN learning achieve zero risk.
Motivation & Objective
- To analyze the generalization performance of two-layer neural networks under three training regimes: random features (RF), neural tangent (NT), and fully trained (NN).
- To investigate whether lazy training (NT) and random features (RF) can efficiently approximate functions that require full network training, particularly in low overparameterized settings.
- To identify conditions under which the NT and RF regimes fail to achieve optimal risk, even for simple target functions like quadratic forms.
- To establish theoretical bounds on the prediction risk gap between the three regimes, especially when the number of neurons is smaller than the input dimension.
Proposed method
- Analyzes two supervised learning problems: (1) regression with Gaussian features and quadratic target functions, and (2) binary classification with mixture-of-Gaussians features and class labels.
- Compares three training regimes: RF (only second-layer weights trained), NT (linearized around initialization), and NN (all weights trained), under quadratic activation functions.
- Derives exact expressions for the prediction risk in each regime using functional analysis and matrix optimization, particularly focusing on the Frobenius norm and trace of kernel matrices.
- Uses eigendecomposition of the target function's Hessian and the data covariance to characterize the optimal network weights and minimize risk.
- Applies the Cauchy-Schwarz inequality to bound the risk in the NN regime and derives the optimal solution as the projection onto the top-r singular subspaces of the target matrix.
- Establishes that the optimal risk in the NN regime is determined by the sum of squares of the largest r singular values of the target matrix Δ.
Experimental results
Research questions
- RQ1Can the random features (RF) and neural tangent (NT) regimes achieve the same generalization risk as full network training (NN) for simple quadratic target functions?
- RQ2What is the fundamental gap in prediction risk between the RF, NT, and NN regimes when the number of neurons is smaller than the input dimension?
- RQ3Under what conditions does lazy training fail to capture the expressivity of fully trained two-layer networks?
- RQ4How does the relationship between the number of neurons and the input dimension affect the risk in the three training regimes?
- RQ5Is there a provable, potentially unbounded, performance gap between lazy training and full training in two-layer ReLU networks with quadratic activations?
Key findings
- When the number of neurons is smaller than the input dimension, the prediction risk in the RF and NT regimes can be unboundedly worse than in the fully trained NN regime, even for simple quadratic target functions.
- For the same quadratic target function, the risk in the NT regime is bounded away from zero when the number of neurons is less than the input dimension, while the NN regime can achieve zero risk when the number of neurons exceeds the dimension.
- When the number of neurons is larger than the input dimension, both the NT and NN regimes achieve zero prediction risk, indicating that overparameterization closes the gap between lazy and full training.
- The optimal risk in the NN regime is determined by the sum of squares of the r largest singular values of the target matrix Δ, where r is the minimum of the number of neurons and the input dimension.
- The RF and NT regimes are fundamentally limited in their ability to represent quadratic functions when the number of neurons is small, due to their linearized nature and fixed first-layer weights.
- The paper establishes a theoretical separation between the expressivity of full training and lazy training, showing that lazy learning cannot always efficiently approximate functions that are easily representable by fully trained networks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.