[Paper Review] Provable Guarantees for Nonlinear Feature Learning in Three-Layer Neural Networks
This paper establishes provable guarantees for nonlinear feature learning in three-layer neural networks trained via layer-wise gradient descent. It demonstrates that three-layer networks can learn nonlinear features like $x^T A x$, enabling a sample complexity improvement over two-layer networks—achieving $d^4$ sample complexity for quadratic feature functions, while two-layer networks require $d^{Ω(p)}$ samples. This provides the first explicit optimization-based depth separation for nonlinear feature learning.
One of the central questions in the theory of deep learning is to understand how neural networks learn hierarchical features. The ability of deep networks to extract salient features is crucial to both their outstanding generalization ability and the modern deep learning paradigm of pretraining and finetuneing. However, this feature learning process remains poorly understood from a theoretical perspective, with existing analyses largely restricted to two-layer networks. In this work we show that three-layer neural networks have provably richer feature learning capabilities than two-layer networks. We analyze the features learned by a three-layer network trained with layer-wise gradient descent, and present a general purpose theorem which upper bounds the sample complexity and width needed to achieve low test error when the target has specific hierarchical structure. We instantiate our framework in specific statistical learning settings -- single-index models and functions of quadratic features -- and show that in the latter setting three-layer networks obtain a sample complexity improvement over all existing guarantees for two-layer networks. Crucially, this sample complexity improvement relies on the ability of three-layer networks to efficiently learn nonlinear features. We then establish a concrete optimization-based depth separation by constructing a function which is efficiently learnable via gradient descent on a three-layer network, yet cannot be learned efficiently by a two-layer network. Our work makes progress towards understanding the provable benefit of three-layer neural networks over two-layer networks in the feature learning regime.
Motivation & Objective
- To understand whether three-layer neural networks can learn nonlinear hierarchical features, unlike two-layer networks that are limited to linear features.
- To establish provable sample complexity improvements for three-layer networks in statistical learning settings with hierarchical structure.
- To demonstrate an optimization-based depth separation, showing that certain functions are efficiently learnable by three-layer networks but not by two-layer networks via gradient descent.
- To formalize the role of nonlinear feature learning in reducing sample complexity and improving generalization.
Proposed method
- Proposes a general-purpose sample complexity theorem for layer-wise gradient descent in three-layer networks, linking test error to the quality of learned features.
- Analyzes the learned feature as a low-frequency component in the random feature kernel induced by the first layer.
- Uses the universality principle in high-dimensional probability to show that the network learns $x^T A x$ as a nonlinear feature for quadratic target functions.
- Establishes that the population loss depends on the learned feature, enabling sample complexity bounds when the target is a 1D function of this feature.
- Applies the framework to single-index models and functions of quadratic features, deriving explicit sample complexity bounds.
- Constructs a specific function $f^*(x) = \mathrm{ReLU}(x^T A x)$ that is learnable in $d^4$ samples by a three-layer network but not efficiently by any two-layer network.
Experimental results
Research questions
- RQ1Can three-layer neural networks learn nonlinear features such as $x^T A x$, and how does this affect sample complexity?
- RQ2Does learning such nonlinear features lead to provable sample complexity improvements over two-layer networks in specific function classes?
- RQ3Can a three-layer network learn a function that is not efficiently learnable by a two-layer network under gradient descent?
- RQ4What is the relationship between the hierarchical structure of the target function and the sample complexity of learning it via three-layer networks?
- RQ5How does the learned feature in a three-layer network relate to the underlying function structure, particularly in high-dimensional settings?
Key findings
- For single-index models $f^*(x) = g^*(w \cdot x)$, the algorithm achieves low test error in $d^2$ samples, with sample complexity independent of the degree of $g^*$.
- For functions $f^*(x) = g^*(x^T A x)$ with $g^*$ Lipschitz or degree-$p$ polynomial, the algorithm learns the target in $d^4$ samples, improving over existing two-layer network guarantees requiring $d^{\Omega(p)}$ samples.
- The learned feature in the three-layer network is approximately $x^T A x$, which is shown via high-dimensional universality principles and Gegenbauer polynomial expansions.
- The paper constructs an explicit function $f^*(x) = \mathrm{ReLU}(x^T A x)$ that is learnable in $d^4$ samples by a three-layer network, but cannot be efficiently approximated by any two-layer network without superpolynomial width or weight norm.
- This establishes the first optimization-based depth separation for nonlinear feature learning, proving that depth provides a provable benefit beyond representation.
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.