NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A faster and simpler algorithm for learning shallow networks

Sitan Chen, Shyam Narayanan

This paper, presented at COLT 2024, represents a significant theoretical advancement in the provable learning of shallow neural networks. By refining the "method of moments," the authors introduce a simplified, one-stage algorithm that significantly improves the runtime complexity for learning one-hidden-layer ReLU networks under Gaussian inputs.

The Challenge of Shallow Network Learning

The paper addresses the problem of PAC (Probably Approximately Correct) learning a shallow neural network—specifically, a linear combination of $k$ ReLU (Rectified Linear Unit) activations. In standard machine learning practice, such networks are typically trained using gradient descent. However, from a theoretical standpoint, this is a non-convex regression problem that is notoriously difficult to solve with provable guarantees.

For years, a primary goal in learning theory was to find an algorithm capable of learning these networks in time polynomial in the input dimension ($d$) without requiring restrictive assumptions, such as the hidden weight vectors being nearly orthogonal. While a 2023 breakthrough by Chen et al. provided the first such algorithm for a fixed $k$, it was hindered by extreme complexity: it required multiple recursive stages and a "quasipolynomial" runtime where the exponent of $d$ grew rapidly with $k$. This work aims to streamline that process, making the algorithm both faster and conceptually simpler.

Methodology: From Recursion to One-Stage PCA

The authors utilize the Method of Moments, a statistical technique that involves estimating the tensors of the data distribution to uncover the underlying structure of the network. The procedure follows these key steps:

  1. Moment Tensor Estimation: The algorithm estimates moment tensors from labeled examples, capturing how the network's output varies relative to the input.
  2. Random Contraction: To manage the computational complexity of high-dimensional tensors, the authors "contract" these tensors along a random direction, transforming them into a series of matrices ($M_\ell$).
  3. One-Stage PCA: Unlike previous state-of-the-art methods that relied on a recursive "peeling" approach (identifying some neurons, subtracting their influence, and repeating), this paper proves that a single stage of Principal Component Analysis (PCA) is sufficient. The subspace $V$ spanned by the top eigenvectors of these matrices contains the necessary information to reconstruct the network.
  4. Polynomial Construction: A critical component of the proof is a clever univariate polynomial construction (Lemma 7). This mathematical tool ensures that even if weight vectors are "clustered" (extremely close to one another), the algorithm can still isolate their collective influence within the estimated subspace.
  5. Subspace Search: Once the low-dimensional subspace $V$ is identified, the algorithm performs an exhaustive search using an $\epsilon$-net to find the specific weights that minimize error.

Key Insights and Theoretical Results

The Power of Simplicity

The most striking insight is that recursion is unnecessary. All geometric information regarding the hidden neurons is present in the initial set of moment matrices. By moving to a one-stage PCA approach, the algorithm becomes significantly easier to analyze and implement than its predecessors.

Handling Clustered Neurons

A major hurdle in learning theory is the presence of nearly identical weight vectors. The authors sidestep this by demonstrating that it is not necessary to identify every individual neuron perfectly; one only needs to identify the "clusters" of neurons that do not cancel each other out.

Complexity and Optimality

The algorithm achieves a runtime and sample complexity of $(dkR/\epsilon)^{O(k^2)}$. This is a substantial improvement over the previous $(d/\epsilon)^{\text{quasipoly}(k)}$ complexity. Furthermore, this dependence on $d^{O(k)}$ is qualitatively tight; Statistical Query (SQ) lower bounds suggest that any algorithm utilizing similar information must take at least $d^{\Omega(k)}$ time.

Conclusion and Future Directions

This work provides a "proper" learner, meaning the hypothesis it outputs is itself a shallow ReLU network. While the $O(k^2)$ exponent remains computationally high for large $k$, it brings the upper bound much closer to fundamental theoretical limits.

Future research may focus on achieving an $O(k)$ exponent for proper learners—a feat recently achieved by concurrent work for improper learners—and extending these results beyond the standard Gaussian distribution to more general or heavy-tailed distributions. While currently a theoretical roadmap, these findings clarify the boundaries of what is possible in non-convex optimization.

Summary updated

BibTeX
@inproceedings{chen2024faster,
  author = {Sitan Chen and Shyam Narayanan},
  title = {{A faster and simpler algorithm for learning shallow networks}},
  booktitle = {Conference on Learning Theory},
  year = {2024},
  url = {https://openreview.net/forum?id=AbFbDtR7QO},
}
Figure