[Paper Review] On the Connection Between Learning Two-Layers Neural Networks and Tensor Decomposition
This paper establishes a computational hardness result for learning two-layer ReLU-like neural networks with polynomial activation functions by reducing the problem to tensor decomposition. Under a complexity-theoretic assumption that no polynomial-time algorithm can outperform sum-of-squares methods for 3-tensor decomposition, the authors prove that no efficient learning algorithm can generalize better than the trivial predictor (mean response) when the number of hidden units $ r $ satisfies $ d^{3/2} \ll r \ll d^2 $, under standard Gaussian data and random isotropic weights.
We establish connections between the problem of learning a two-layer neural network and tensor decomposition. We consider a model with feature vectors $\boldsymbol x \in \mathbb R^d$, $r$ hidden units with weights $\{\boldsymbol w_i\}_{1\le i \le r}$ and output $y\in \mathbb R$, i.e., $y=\sum_{i=1}^r σ( \boldsymbol w_i^{\mathsf T}\boldsymbol x)$, with activation functions given by low-degree polynomials. In particular, if $σ(x) = a_0+a_1x+a_3x^3$, we prove that no polynomial-time learning algorithm can outperform the trivial predictor that assigns to each example the response variable $\mathbb E(y)$, when $d^{3/2}\ll r\ll d^2$. Our conclusion holds for a `natural data distribution', namely standard Gaussian feature vectors $\boldsymbol x$, and output distributed according to a two-layer neural network with random isotropic weights, and under a certain complexity-theoretic assumption on tensor decomposition. Roughly speaking, we assume that no polynomial-time algorithm can substantially outperform current methods for tensor decomposition based on the sum-of-squares hierarchy. We also prove generalizations of this statement for higher degree polynomial activations, and non-random weight vectors. Remarkably, several existing algorithms for learning two-layer networks with rigorous guarantees are based on tensor decomposition. Our results support the idea that this is indeed the core computational difficulty in learning such networks, under the stated generative model for the data. As a side result, we show that under this model learning the network requires accurate learning of its weights, a property that does not hold in a more general setting.
Motivation & Objective
- To investigate the computational complexity of learning two-layer neural networks with polynomial activations under natural data distributions.
- To determine whether efficient learning algorithms exist for such models in high-dimensional regimes where the number of hidden units $ r $ scales between $ d^{3/2} $ and $ d^2 $.
- To establish a formal connection between the learning problem and tensor decomposition, showing that the latter is the computational bottleneck.
- To provide evidence that existing algorithms based on tensor decomposition are not just heuristic but potentially optimal under complexity-theoretic assumptions.
- To demonstrate that accurate weight recovery is necessary for learning, a property not guaranteed in more general settings.
Proposed method
- Reduces the problem of learning a two-layer neural network to the problem of decomposing a symmetric tensor of order three, constructed from the network's weight vectors.
- Uses a generative model with i.i.d. standard Gaussian feature vectors $ \mathbf{x} \sim \mathcal{N}(0, I_d/d) $, and output $ y = \sum_{i=1}^r \sigma(\mathbf{w}_i^T \mathbf{x}) $, where $ \sigma $ is a low-degree polynomial.
- Employs a complexity-theoretic assumption: no polynomial-time algorithm can achieve $ \epsilon $-accuracy in 3-tensor decomposition beyond what is achievable by the sum-of-squares (SoS) hierarchy.
- Constructs a noisy version of the network output by expressing it as a sum of tensor moments, with an error term bounded via Hölder’s inequality and inner product decay.
- Uses the fact that for $ \delta $-correlated weights (small pairwise inner products), the non-diagonal terms in the tensor expansion are small, enabling a controlled approximation.
- Applies a reduction argument: if an efficient learning algorithm existed for the neural network, it could be used to solve the hard tensor decomposition problem, contradicting the assumption.
Experimental results
Research questions
- RQ1Can two-layer neural networks with polynomial activations be learned in polynomial time under standard Gaussian data and random isotropic weights?
- RQ2Is tensor decomposition the fundamental computational barrier to learning such networks?
- RQ3What is the regime of model complexity (in terms of $ r $ and $ d $) where learning becomes computationally intractable?
- RQ4Does the trivial predictor (mean of $ y $) remain optimal when $ r \ll d^2 $ and $ r \gg d^{3/2} $, under the stated assumptions?
- RQ5Can the necessity of accurate weight recovery be formally established under this generative model?
Key findings
- Under the assumption that no polynomial-time algorithm can outperform the sum-of-squares hierarchy for 3-tensor decomposition, no efficient learning algorithm can generalize better than the trivial predictor when $ d^{3/2} \ll r \ll d^2 $.
- The hardness result holds even with access to infinite samples and exact expectations, indicating it is purely computational, not statistical.
- The connection between two-layer network learning and tensor decomposition is not coincidental—existing algorithms with guarantees are indeed based on tensor decomposition, suggesting it is the core computational challenge.
- For polynomial activations of degree 3, the network output can be expressed as a sum of tensor moments, with the main term corresponding to the network and a small error term bounded by $ \delta^{k(p-1)} $, where $ \delta $ controls weight correlation.
- The error term in the output approximation is bounded by $ (\delta^m r)^{p-1} \sum_k c_k \sum_i |\langle \mathbf{w}_i, \mathbf{x}_j \rangle|^{p(\ell - (p-1)k)} $, showing that it is negligible when $ \delta $ is small and $ r $ is not too large.
- The paper proves that accurate weight recovery is necessary for learning under this model, a property that does not hold in more general settings where the data distribution is not constrained.
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.