Size and Depth Separation in Approximating Natural Functions with Neural Networks

Gal Vardi, Daniel Reichman, Toniann Pitassi, Ohad Shamir

Introduction

A fundamental question in deep learning theory is whether deep neural networks are inherently more powerful than shallow ones. While "depth-separation" results—proofs that a deep network can represent a function that a shallow network cannot without an exponential increase in size—are well-documented, they often rely on "pathological" functions. These functions, such as Telgarsky’s sawtooth functions, are characterized by high Lipschitz constants or extreme oscillations that do not reflect the "benign" or "natural" functions encountered in real-world engineering.

This paper investigates the gap between theoretical hard functions and the smooth, efficiently computable functions used in practice. The authors explore why proving depth separation for these benign functions is exceptionally difficult and provide new results regarding size separation using tools from computational and communication complexity.

The Complexity Barrier: The "Depth 4 Wall"

The authors demonstrate that the difficulty in proving depth separation for benign functions is not merely a lack of technical ingenuity, but a fundamental barrier in computational complexity. They show that proving the existence of a benign function that is hard for constant-depth networks would solve major, decades-old problems in circuit complexity.

Specifically, the paper establishes that proving a depth lower bound for benign functions for a depth $k \ge 4$ would imply that $EXP \not\subseteq TC^0_{k-2}$ (where $TC^0$ represents polynomial-sized, constant-depth threshold circuits). Furthermore, for networks deeper than 6, the "Natural Proofs" barrier suggests that standard mathematical techniques are unlikely to ever yield the lower bounds sought by researchers. This suggests that the properties making a function "natural"—smoothness and efficient computability—are the same properties that shield them from current lower-bound proof techniques.

Methodology: Communication Complexity and Lifting

To bypass some of the barriers associated with depth, the authors focus on size separation (width vs. total size). Their approach utilizes several key theoretical frameworks:

  1. Communication Complexity: The authors analyze Boolean functions such as Set Disjointness (DISJ) and Inner Product (IP). By employing the "real communication" model, they demonstrate that any ReLU network computing these functions must possess at least linear size.
  2. Lifting Theorems: Using a lifting technique (Proposition 6.1), the authors translate lower bounds derived from discrete Boolean functions into bounds for continuous, Lipschitz-continuous functions on a real domain. This allows them to bridge the gap between discrete circuit theory and continuous neural network approximation.
  3. ReLU as Logic Gates: A significant insight of the work is that ReLU networks, despite operating on continuous values, are fundamentally constrained by the same communication bottlenecks as discrete threshold circuits when performing Boolean-like logic.

Key Results

The paper provides several rigorous bounds for the representational power of ReLU networks:

  • Linear Size Lower Bounds (Theorem 5.3): The authors prove that any ReLU network computing the Inner Product or Set Disjointness function requires a size of at least $\Omega(d)$.
  • Explicit Size Separation (Corollary 6.1): The authors construct an explicit, polynomial-time benign function that exhibits a clear gap: it can be approximated by a network of size $O(d)$, but cannot be approximated by any network of size $o(d / \log d)$.
  • $L_\infty$ Separation: In the context of uniform approximation ($L_\infty$ distance), the authors achieve a separation between networks of size $O(d)$ and those of size $o(d)$.

Discussion and Limitations

While this work provides a clearer map of the theoretical landscape, several gaps remain. There is still a logarithmic factor gap between the $O(d)$ upper bound and the $o(d / \log d)$ lower bound. Additionally, the results primarily address "worst-case" scenarios. While the authors note that their barriers apply to distributions with "polynomially-bounded marginal density," further research is required to understand average-case performance on specific real-world data distributions.

Finally, while the paper extends some findings to $k$-piecewise linear activations, the implications for smooth activations like Sigmoid or Swish remain an open area for investigation. By identifying the "Depth 4 Wall," this research helps theorists redirect their efforts toward more tractable problems in neural network representation theory.

Summary updated

BibTeX
@inproceedings{vardi2021size,
  author = {Gal Vardi and Daniel Reichman and Toniann Pitassi and Ohad Shamir},
  title = {{Size and Depth Separation in Approximating Natural Functions with Neural Networks}},
  booktitle = {Conference on Learning Theory},
  year = {2021},
  url = {https://openreview.net/forum?id=WTokOXfbDM},
}
Figure