Lower Bounds on the Depth of Integral ReLU Neural Networks via Lattice Polytopes

Christian Alexander Haase, Christoph Hertrich, Georg Loho

Introduction

In the world of deep learning, it is a widely accepted heuristic that "deeper is usually better." However, proving why depth is strictly necessary from a mathematical standpoint is notoriously difficult. While classical Universal Approximation Theorems suggest that even a single, sufficiently wide hidden layer can approximate any continuous function, researchers are increasingly interested in a more precise question: what functions can a network represent exactly?

This paper proves that for ReLU neural networks with integer weights, increasing the number of layers strictly expands the set of functions the network can represent exactly, regardless of how wide the layers are. Specifically, the authors provide a rare "hard" lower bound on network depth, demonstrating that computing the maximum of $n$ numbers requires at least $\lceil \log_2 n \rceil$ hidden layers.

The Challenge of Depth Lower Bounds

Previous work has established that ReLU networks represent continuous piecewise linear (CPWL) functions. It is known that $\log_2(n+1)$ layers are sufficient to represent any CPWL function with $n$ inputs. However, proving that this many layers are actually necessary remained an open question.

Proving depth lower bounds is challenging because it requires demonstrating that no matter how many billions of neurons you place in a shallow layer, there are certain functions it simply cannot compute exactly.

A Geometric Approach: Tropical Geometry and Polytopes

To tackle this problem, the authors bridge the gap between deep learning and discrete geometry using Tropical Geometry.

  1. Duality: The researchers utilize a known duality where ReLU networks correspond to "Newton polytopes." In this geometric framework, adding neural network functions corresponds to taking the Minkowski sum of their respective polytopes, and taking the maximum of functions corresponds to taking the convex hull of their union.
Minkowski sum and Cartesian product of lattice polytopes
  1. Integrality: By restricting the network to integer weights, the resulting Newton polytopes become lattice polytopes—polytopes where all vertices lie on integer coordinates.
  2. The Parity Argument: The core innovation of the paper relies on a property of these lattice polytopes based on their normalized volume. The authors show that as you add layers to a network, the geometric "complexity" of the resulting polytope grows in a highly structured way. Specifically, they prove that any polytope representable by a $k$-layer integral network must have an even normalized volume for all its faces of a certain dimension.
Normalized volumes of lattice segments and polygons
  1. The Counter-Example: To prove the lower bound, they examine the function $\max\{0, x_1, \dots, x_n\}$. Its corresponding polytope is a standard simplex, which has a normalized volume of 1 (an odd number). Because 1 is not even, the parity argument dictates that a shallow integral network cannot possibly represent this function.

Key Insights and Results

This geometric translation yields several profound insights into neural network expressivity:

  • Depth vs. Width Trade-off: The paper reveals a drastic trade-off. For certain functions, decreasing depth from logarithmic to sub-logarithmic means that no finite width—no matter how large—is sufficient to recover the function exactly.
  • Geometric Complexity: The number of layers in a neural network corresponds to the number of times you can alternate between Minkowski sums and convex hulls. Each alternation "smooths" the parity of the volumes of the resulting polytope's faces.
  • The Power of Max-Pooling: These results provide theoretical justification for why "max-pooling" or "maxout" units are so effective in practice. These units essentially perform a "convex hull" operation in a single step that would otherwise require multiple standard ReLU layers to emulate.

Formally, the paper establishes the following key results:

  • Theorem 3: For $n = 2^k$, the function $\max\{0, x_1, \dots, x_n\}$ cannot be represented by an integral ReLU network with only $k$ hidden layers.
  • Corollary 4: The expressivity of integral ReLU networks strictly increases with depth. Specifically, the set of representable functions strictly grows: $\text{ReLU}^\mathbb{Z}_n(k-1) \subsetneq \text{ReLU}^\mathbb{Z}_n(k)$ for all $k \le \log_2(n+1)$.

Crucially, this is the first non-constant lower bound on the depth of ReLU networks that does not place any restrictions on the width of the layers.

Limitations and Future Directions

The most significant limitation of this work is the integrality assumption. While the authors argue that integer weights are a reasonable starting point for theoretical analysis (since the final linear pieces of target functions often have integer coefficients), the parity argument breaks down with rational or real weights. In a real-weighted network, volumes can be "shrunk" arbitrarily, rendering the "even vs. odd" distinction meaningless.

Future work will need to identify a different geometric invariant—something more robust than parity—to extend these depth lower bounds to networks with arbitrary real-valued weights. However, the geometric subdivisions (such as affine products and joins) developed in this paper lay a strong mathematical foundation for pursuing that generalized proof.

Summary updated

BibTeX
@inproceedings{haase2023lower,
  author = {Christian Alexander Haase and Christoph Hertrich and Georg Loho},
  title = {{Lower Bounds on the Depth of Integral ReLU Neural Networks via Lattice Polytopes}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=2mvALOAWaxY},
}
Figure