Hardness of Noise-Free Learning for Two-Hidden-Layer Neural Networks

Sitan Chen, Aravind Gollakota, Adam R. Klivans, Raghu Meka

TL;DR

This paper proves that learning two-hidden-layer ReLU neural networks is fundamentally hard, even in the "easiest" possible setting: where there is no noise in the data and inputs follow a standard Gaussian distribution. By refining a "lifting" technique that translates hard discrete problems into continuous ones, the authors establish the first superpolynomial Statistical Query (SQ) lower bounds for these networks, challenging the long-held belief that noise is required to prove such hardness for real-valued functions.

What Problem Does This Paper Address?

In machine learning theory, we often distinguish between realizable (noise-free) learning—where a perfect model exists—and agnostic (noisy) learning. While we have efficient algorithms for learning neural networks with a single hidden layer under Gaussian inputs, the community has struggled to find similar success for networks with two or more hidden layers.

The central question is: Are there fundamental barriers to learning two-hidden-layer networks?

Proving this is tricky. Previous hardness results usually relied on adding adversarial noise to the labels. In the noise-free setting, a famous result by Vempala and Wilmes (2019) suggested that general lower bounds might be impossible for "non-degenerate" real-valued functions. This paper seeks to circumvent that barrier and prove that even without noise, two-hidden-layer networks are computationally out of reach for a wide class of algorithms.

Methods

The authors build upon the Daniely-Vardi (DV) lift, a mathematical framework that takes a hard Boolean learning problem (like learning parities) and "lifts" it into a continuous Gaussian domain.

The original DV lift typically added two extra hidden layers to the network's complexity. The core technical innovation here is a "Compressed DV Lift." By exploiting a property called compressibility—where a function's output depends on a discrete, bounded range of internal values—the authors developed a more efficient reduction.

Key technical components include:

  • Gadget Networks ($N_1, N_2, N_3$): These are small ReLU sub-networks designed to "Booleanize" Gaussian inputs and handle regions where the approximation might fail.
  • Truncated Inclusion-Exclusion: To implement the lift with only one extra layer, the authors used a clever, quasipolynomial-sized version of the inclusion-exclusion formula to create a "soft indicator" function that vanishes when the input isn't clearly mapped to a Boolean value.

Datasets

As a theoretical work, this paper does not use empirical datasets like ImageNet or CIFAR-10. Instead, it focuses on mathematical distributions:

  • Standard Gaussian Distribution ($\mathcal{N}(0, I_d)$): The primary input distribution for the continuous hardness results.
  • Boolean Hypercube ($\{0, 1\}^d$): Used as the starting point for the reductions.
  • Discrete Modulo Sets ($\mathbb{Z}_q^d$): Used specifically for the results involving the Learning with Rounding (LWR) problem.

Key Insights and Ideas

  • Noise is Not a Prerequisite for Hardness: The "conventional wisdom" was that noise-free, real-valued learning was likely easy. This paper proves that the structure of the network itself (specifically having two hidden layers) provides enough complexity to make learning hard.
  • Circumventing the Non-Degeneracy Barrier: Vempala and Wilmes argued that SQ lower bounds fail if functions don't "overlap" too much. The authors bypassed this by constructing a family of neural networks that agree on a set of inputs with Gaussian measure bounded away from zero.
  • Cryptographic Connections: The paper links the hardness of neural networks to the Learning with Rounding (LWR) problem, a staple of post-quantum cryptography. This suggests that if you could efficiently learn a two-hidden-layer ReLU network, you might be able to break certain cryptographic schemes.

Key Results

The paper provides a comprehensive map of how their new bounds compare to previous work, as shown in the table below:

Summary of known and new superpolynomial lower bounds for learning noise-free shallow ReLU networks.

Main findings include:

  1. Full SQ Lower Bound: Any SQ algorithm for learning two-hidden-layer ReLU networks requires $d^{\omega(1)}$ queries (superpolynomial) unless the query tolerance is negligibly small.
  2. Cryptographic Hardness: Under the assumption that LWR is hard, no polynomial-time algorithm can learn these networks.
  3. Label Query Hardness: Even if a learner can choose their own inputs to query (membership queries), constant-depth ReLU networks remain unlearnable under standard assumptions like Decisional Diffie-Hellman (DDH).

Limitations and Future Work

While the paper settles the hardness for two layers, several gaps remain:

  • General One-Hidden-Layer Networks: There is still no matching upper and lower bound for the simplest case. We don't know if "sums of ReLUs" (positive output weights) can be learned in polynomial time without extra structural assumptions.
  • The "Shallowest" Hard Circuit: For label queries, the authors show hardness for constant depth, but the exact minimum depth required to implement pseudorandom functions (and thus trigger hardness) is still an open question in circuit complexity.
  • Non-SQ Algorithms: While the SQ lower bound is unconditional, the general computational hardness still relies on cryptographic assumptions (LWR, LWE). Finding an unconditional lower bound for all polynomial-time algorithms remains the "holy grail" of the field.

Summary updated

BibTeX
@inproceedings{chen2022hardness,
  author = {Sitan Chen and Aravind Gollakota and Adam R. Klivans and Raghu Meka},
  title = {{Hardness of Noise-Free Learning for Two-Hidden-Layer Neural Networks}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=tAe4Ldm2VKN},
}
Figure