Better Neural Network Expressivity: Subdividing the Simplex
Egor Bakaev, Florestan Brunck, Christoph Hertrich, Jack Stade, Amir Yehudayoff
TL;DR
The paper investigates the exact depth required for ReLU networks to represent all CPWL functions on $\mathbb{R}^n$, challenging the previously believed optimum bound $\lceil \log_2(n+1)\rceil$ by proving a tighter bound $\lceil \log_3(n-2)\rceil+1$ is sufficient for $\mathsf{MAX}_n$, which in turn implies $\mathsf{CPWL}_n=\mathsf{ReLU}_{n,\lceil\log_3(n-1)\rceil+1}$. The key technical contribution includes an explicit two-hidden-layer construction for $\mathsf{MAX}_5$ and a general inductive method using the $T_{a,b}$ operator to achieve $\mathsf{MAX}_{3^n+2}$ in $n+1$ layers, together with a geometric subdivision viewpoint that links depth to Minkowski sums and Newton polytopes. The authors introduce a subdivision-based framework and prove two main claims: (i) $\mathsf{MAX}_5$ admits a two-layer realization, and (ii) $\mathsf{MAX}_{3^n+2}$ has depth $n+1$, implying the bound $\lceil \log_3(n-2)\rceil+1$ for general $n$, with weights consisting of binary fractions. This work shifts attention from lower bounds to constructive depth upper bounds via polyhedral subdivisions, opening avenues for further tightening or closing the remaining gaps (e.g., MAX_6) and exploring the trade-offs between depth and size in CPWL expressivity.
Abstract
This work studies the expressivity of ReLU neural networks with a focus on their depth. A sequence of previous works showed that $\lceil \log_2(n+1) \rceil$ hidden layers are sufficient to compute all continuous piecewise linear (CPWL) functions on $\mathbb{R}^n$. Hertrich, Basu, Di Summa, and Skutella (NeurIPS'21 / SIDMA'23) conjectured that this result is optimal in the sense that there are CPWL functions on $\mathbb{R}^n$, like the maximum function, that require this depth. We disprove the conjecture and show that $\lceil\log_3(n-1)\rceil+1$ hidden layers are sufficient to compute all CPWL functions on $\mathbb{R}^n$. A key step in the proof is that ReLU neural networks with two hidden layers can exactly represent the maximum function of five inputs. More generally, we show that $\lceil\log_3(n-2)\rceil+1$ hidden layers are sufficient to compute the maximum of $n\geq 4$ numbers. Our constructions almost match the $\lceil\log_3(n)\rceil$ lower bound of Averkov, Hojny, and Merkert (ICLR'25) in the special case of ReLU networks with weights that are decimal fractions. The constructions have a geometric interpretation via polyhedral subdivisions of the simplex into ``easier'' polytopes.
