English

On the Connection Between Learning Two-Layers Neural Networks and Tensor Decomposition

Machine Learning 2018-10-11 v3 Data Structures and Algorithms Machine Learning

Abstract

We establish connections between the problem of learning a two-layer neural network and tensor decomposition. We consider a model with feature vectors xRd\boldsymbol x \in \mathbb R^d, rr hidden units with weights {wi}1ir\{\boldsymbol w_i\}_{1\le i \le r} and output yRy\in \mathbb R, i.e., y=i=1rσ(wiTx)y=\sum_{i=1}^r \sigma( \boldsymbol w_i^{\mathsf T}\boldsymbol x), with activation functions given by low-degree polynomials. In particular, if σ(x)=a0+a1x+a3x3\sigma(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 E(y)\mathbb E(y), when d3/2rd2d^{3/2}\ll r\ll d^2. Our conclusion holds for a `natural data distribution', namely standard Gaussian feature vectors x\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.

Keywords

Cite

@article{arxiv.1802.07301,
  title  = {On the Connection Between Learning Two-Layers Neural Networks and Tensor Decomposition},
  author = {Marco Mondelli and Andrea Montanari},
  journal= {arXiv preprint arXiv:1802.07301},
  year   = {2018}
}

Comments

41 pages, 1 figure

R2 v1 2026-06-23T00:28:08.556Z