TL;DR
This paper disproves a long-standing conjecture in neural network theory by showing that ReLU networks can compute the maximum of $n$ numbers much faster than previously thought. By moving beyond simple pairwise comparisons, the authors reduce the required depth for representing any continuous piecewise linear (CPWL) function from $\lceil \log_2(n+1) \rceil$ to $\lceil \log_3(n-1) \rceil + 1$ hidden layers.
What Problem Does This Paper Address?
In the world of deep learning theory, "expressivity" asks: what kind of functions can a specific network architecture represent, and how many resources (layers or neurons) does it need to do so?
For networks using the Rectified Linear Unit (ReLU) activation function, every function they represent is Continuous Piecewise Linear (CPWL). Conversely, any CPWL function can be represented by a ReLU network. A fundamental benchmark for this complexity is the MAX function (finding the maximum of $n$ inputs).
For years, the consensus—and an explicit conjecture by leading researchers—was that computing the maximum of $n$ numbers required a depth of $\lceil \log_2 n \rceil$ hidden layers. This logic was based on the idea that a network must perform a "binary tree" of pairwise maximum operations (e.g., max(a, b)). This paper tackles the question: can we do better than a binary tree?
Methods
The authors employ a mix of clever algebraic construction and high-dimensional geometry.
- Direct Algebraic Construction: The core "aha!" moment is a specific formula that represents the maximum of five numbers ($MAX_5$) using only two hidden layers. Previously, it was believed $MAX_5$ required three layers.
- Inductive Scaling: Once they proved $MAX_5$ fits in two layers, they developed an inductive framework to show that $MAX_{3^n+2}$ can be computed in $n+1$ layers.
- Geometric Subdivisions: The paper provides a beautiful geometric intuition for these formulas. They view the
MAXfunction as a "simplex" (a high-dimensional triangle). They show how to subdivide a 3D simplex into four identical "rhombic pyramids." By showing these pyramids are "easier" to compute than the whole simplex, they prove the depth reduction is geometrically possible.
Datasets
As this is a theoretical paper focused on mathematical proofs and architectural bounds, no empirical datasets were used. The "evaluation" consists of rigorous mathematical proofs of the theorems presented.
Key Insights and Ideas
- Summation is a Secret Weapon: The standard "binary tree" approach only uses the
maxoperation. The authors realized that by using the summation operation available at each neuron to combine multiple ReLU outputs, they could "compress" more information into fewer layers. - The $MAX_5$ Breakthrough: The discovery that $MAX_5$ only needs two hidden layers is the "Strassen’s Algorithm" moment for neural expressivity. Just as Strassen showed you could multiply matrices faster than the obvious way, this paper shows you can find the maximum faster than the obvious pairwise way.
- Geometric Puzzles: The paper translates the problem of network depth into a problem of "polyhedral subdivision." If you can cut a complex shape (the simplex) into simpler pieces (polytopes with lower depth complexity), you can represent the original function with fewer layers.
- Efficiency Gain: This construction improves the asymptotically required depth by a constant factor of $\ln(2)/\ln(3) \approx 0.63$.
Key Results
- Theorem 1: The maximum of $n$ numbers can be computed with $\lceil \log_3(n-2) \rceil + 1$ hidden layers.
- Theorem 2: Every CPWL function on $\mathbb{R}^n$ can be represented with $\lceil \log_3(n-1) \rceil + 1$ hidden layers.
- Proposition 3: The authors definitively prove that the minimum number of hidden layers for $MAX_5$ is exactly two.
- Weight Precision: Interestingly, their construction only requires "binary fractions" (weights with denominators that are powers of two), which are easily represented in digital systems.
Limitations and Future Work
- The $MAX_6$ Mystery: While the authors solved the case for $MAX_5$, they note that it remains an open question whether $MAX_6$ can also be done in two hidden layers.
- The Lower Bound Gap: There is still a gap between the known lower bound (2 layers) and the new upper bound ($\log_3 n$). It is theoretically possible that all
MAXfunctions, regardless of $n$, could be represented in a very small constant number of layers, though this seems unlikely. - Size vs. Depth: The paper focuses on depth. While the number of neurons required for their construction grows linearly with $n$, the exact "size-depth trade-off" for more general CPWL functions remains a complex area for future study.
- Irrational Weights: The authors suggest that further improvements might require using irrational weights or weights with very large denominators, which might be less practical for real-world hardware.
Summary updated