[Paper Review] Neural Networks Efficiently Learn Low-Dimensional Representations with SGD
This paper demonstrates that stochastic gradient descent (SGD) with weight decay efficiently learns low-dimensional representations in two-layer ReLU neural networks, even when the input dimension $d$ is large. It proves that the first-layer weights converge to the $k$-dimensional principal subspace spanned by the true model's directions, enabling generalization bounds independent of network width and sample complexity linear in $d$ for single-index models—outperforming kernel methods.
We study the problem of training a two-layer neural network (NN) of arbitrary width using stochastic gradient descent (SGD) where the input $\boldsymbol{x}\in \mathbb{R}^d$ is Gaussian and the target $y \in \mathbb{R}$ follows a multiple-index model, i.e., $y=g(\langle\boldsymbol{u_1},\boldsymbol{x} angle,...,\langle\boldsymbol{u_k},\boldsymbol{x} angle)$ with a noisy link function $g$. We prove that the first-layer weights of the NN converge to the $k$-dimensional principal subspace spanned by the vectors $\boldsymbol{u_1},...,\boldsymbol{u_k}$ of the true model, when online SGD with weight decay is used for training. This phenomenon has several important consequences when $k \ll d$. First, by employing uniform convergence on this smaller subspace, we establish a generalization error bound of $O(\sqrt{{kd}/{T}})$ after $T$ iterations of SGD, which is independent of the width of the NN. We further demonstrate that, SGD-trained ReLU NNs can learn a single-index target of the form $y=f(\langle\boldsymbol{u},\boldsymbol{x} angle) + ε$ by recovering the principal direction, with a sample complexity linear in $d$ (up to log factors), where $f$ is a monotonic function with at most polynomial growth, and $ε$ is the noise. This is in contrast to the known $d^{Ω(p)}$ sample requirement to learn any degree $p$ polynomial in the kernel regime, and it shows that NNs trained with SGD can outperform the neural tangent kernel at initialization. Finally, we also provide compressibility guarantees for NNs using the approximate low-rank structure produced by SGD.
Motivation & Objective
- To understand how SGD in wide two-layer neural networks learns low-dimensional structures when the target depends on $k \ll d$ directions.
- To establish generalization guarantees for SGD-trained networks that are independent of network width.
- To demonstrate that SGD-trained ReLU networks can learn certain polynomial targets with sample complexity linear in $d$, outperforming kernel methods.
- To provide compressibility guarantees based on the low-rank structure induced by SGD.
Proposed method
- Analyzes training dynamics of a two-layer ReLU neural network with arbitrary width $m$ using online SGD and weight decay.
- Models the target as a multiple-index function $y = g(\langle \mathbf{u}_1, \mathbf{x} \rangle, \dots, \langle \mathbf{u}_k, \mathbf{x} \rangle)$ with Gaussian input and noisy link function.
- Proves that the first-layer weights of SGD converge to the $k$-dimensional principal subspace spanned by $\mathbf{u}_1, \dots, \mathbf{u}_k$.
- Uses uniform convergence on the low-dimensional subspace to derive generalization error bounds of $\mathcal{O}(\sqrt{kd/T})$ after $T$ iterations.
- Applies sub-Gaussian and sub-exponential concentration inequalities to control the behavior of random features and gradient updates.
- Leverages Rademacher complexity and symmetrization to bound the generalization gap and establish sample complexity results.
Experimental results
Research questions
- RQ1Does SGD in wide two-layer ReLU networks converge to the principal subspace spanned by the true model's directions when $k \ll d$?
- RQ2Can the generalization error of SGD-trained networks be bounded independently of network width?
- RQ3Can SGD-trained ReLU networks learn degree-$p$ polynomial targets with sample complexity linear in $d$, in contrast to the $d^{\Omega(p)}$ requirement in kernel methods?
- RQ4What is the compressibility of SGD-trained networks, and how does it relate to generalization?
Key findings
- The first-layer weights of SGD-trained two-layer ReLU networks converge to the $k$-dimensional principal subspace spanned by the true model's directions $\mathbf{u}_1, \dots, \mathbf{u}_k$.
- Generalization error after $T$ iterations is bounded by $\mathcal{O}(\sqrt{kd/T})$, independent of network width $m$.
- For single-index models with monotonic $f$ and polynomial growth, SGD achieves sample complexity linear in $d$ (up to log factors), outperforming kernel methods requiring $d^{\Omega(p)}$ samples.
- The low-rank structure induced by SGD enables compressibility guarantees, linking model complexity to the compressed representation's size.
- SGD-trained ReLU networks can learn certain degree-$p$ polynomial targets more efficiently than the neural tangent kernel at initialization.
- The convergence to the principal subspace enables improved feature learning, leading to better generalization than random features.
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.