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

Towards Lower Bounds on the Depth of ReLU Neural Networks

Christoph Hertrich, Amitabh Basu, Marco Di Summa, Martin Skutella · DOI

TL;DR

This paper provides a rigorous mathematical foundation for why deeper neural networks are fundamentally more expressive than shallower ones. By combining tropical geometry, polyhedral theory, and mixed-integer programming, the authors prove that the class of functions exactly representable by ReLU networks strictly increases with depth, and they settle a 2005 conjecture regarding the limits of piecewise linear function representations.

What Problem Does This Paper Address?

In the world of machine learning, "Universal Approximation Theorems" are famous for suggesting that a single hidden layer is sufficient to approximate any continuous function to arbitrary precision. However, there is a massive gap between approximating a function and exactly representing it.

The authors tackle a fundamental question: Does adding layers strictly increase the set of functions a network can represent exactly? While we know that deeper networks can be more efficient (requiring fewer total neurons), it hasn't been formally proven for all cases that certain functions require a specific depth to be represented at all. The authors focus on the "max" function—specifically $\max\{0, x_1, \dots, x_n\}$—which serves as a benchmark for the "difficulty" of a function class.

Methods

The paper employs a unique interdisciplinary toolkit:

  • Mixed-Integer Programming (MIP): The authors used MIP solvers (specifically the Parma Polyhedral Library with exact rational arithmetic) to provide computer-aided proofs for lower depth bounds. This avoids the numerical errors common in standard floating-point solvers.
  • Tropical Geometry: They leverage the correspondence between ReLU networks and tropical polynomials. Specifically, they use Newton Polytopes to characterize the functions computed at different layers.
  • Polyhedral Theory: The authors analyze "polyhedral complexes"—geometric structures that describe how the linear "pieces" of a piecewise linear function fit together.
  • H-Conforming Networks: To make the MIP approach tractable, they introduce the concept of "H-conforming" networks, which assume that internal neurons don't introduce "unexpected" breakpoints that aren't present in the final target function.

Datasets

Not discussed in the paper. As a theoretical work in mathematical foundations, the paper relies on formal proofs and computational verification of specific mathematical functions rather than training on empirical datasets like ImageNet or MNIST.

Key Insights and Ideas

  • The Depth Hierarchy is Real: The paper supports the conjecture that for a network to represent the maximum of $n$ numbers, it requires a depth logarithmic in $n$.
  • ReLU > Linear Combinations of Max: A surprising finding is that ReLU networks with $k$ layers are strictly more expressive than just taking linear combinations of $2^k$-term max functions (Theorem 1.8). This highlights the "richness" that composition (depth) provides over simple summation.
  • Settling the Wang-Sun Conjecture: The authors proved that the class of functions representable as a linear combination of $n$ max-terms is a strict subset of all continuous piecewise linear (CPWL) functions. This had been an open question since 2005.
  • Geometric Interpretation of Layers: Each layer in a ReLU network can be viewed as performing specific geometric operations on polytopes: the first layer creates line segments (zonotopes), and subsequent layers compute convex hulls of unions of these shapes.
Figure 5: Newton polytopes illustrating how expressivity grows layer by layer through geometric operations.

Key Results

  • Theorem 1.7 (Lower Bound): Using a computer-aided MIP proof, they showed that no "H-conforming" 3-layer ReLU network can compute the function $\max\{0, x_1, x_2, x_3, x_4\}$. This is a concrete step toward proving general depth requirements.
  • Theorem 1.9 (Upper Bound): They established that any CPWL function with $p$ affine pieces can be represented by a ReLU network with logarithmic depth $\lceil \log_2(n+1) \rceil + 1$ and a width that is polynomial in $p$. This improves upon previous exponential bounds.
  • Exact Representation of Max: They illustrated how the recursive stacking of simple 2-input max units leads to the logarithmic depth requirement.
Figure 2: An NN to compute the maximum of four numbers that consists of three copies of the NN in Figure 1. Note that no activiation function is applied at the two unlabeled middle vertices (representing max{x1, x2} and max{x3, x4}). Therefore, the linear transformations directly before and after these vertices can be combined into a single one. Thus, the network has total depth three (two hidden layers).

Limitations and Future Work

  • The "H-Conforming" Assumption: The computer-aided proof for the 3-layer lower bound relies on the assumption that neurons are "H-conforming." While intuitively plausible, a full proof without this assumption remains an open challenge.
  • Computational Scaling: The MIP approach is computationally expensive. The proof for Theorem 1.7 took nearly 7 days (153 hours) of computation. Generalizing this to deeper networks (4+ layers) using current MIP techniques is currently infeasible.
  • Tightening Bounds: While they provided polynomial width bounds, the authors noted a significant gap between their upper bounds and known trivial lower bounds, suggesting room for further optimization in network size theory.

Summary updated

BibTeX
@inproceedings{hertrich2021towards,
  author = {Christoph Hertrich and Amitabh Basu and Marco Di Summa and Martin Skutella},
  title = {{Towards Lower Bounds on the Depth of ReLU Neural Networks}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
}
Figure