Bounds on the Number of Pieces in Continuous Piecewise Affine Functions
Leo Zanotti
TL;DR
This work analyzes the relationship between the number of pieces $p$ and the number of affine components $n$ in continuous piecewise affine functions on $\mathbb{R}^d$. It achieves an explicit upper bound $p = O(n^{d+1})$ through a hyperplane-arrangement framework in $\mathbb{R}^{d+1}$ and a projection argument, showing the piece-count growth is polynomial in $n$ with exponent $d+1$. Complementarily, it proves a near-tight lower bound $p = \Omega(n^{d+1-\frac{c}{\sqrt{\log_2(n)}}})$ by leveraging Balogh's monotone-path results in the plane and applying a dimensional lifting via the $m$-sawtooth construction. Collectively, the results nearly close the gap between upper and lower bounds, providing insights into the combinatorial complexity of CPA functions and informing their potential neural-network representations with ReLU activations.
Abstract
The complexity of continuous piecewise affine (CPA) functions can be measured by the number of pieces $p$ or the number of distinct affine functions $n$. For CPA functions on $\mathbb{R}^d$, this paper shows an upper bound of $p=O(n^{d+1})$ and constructs a family of functions achieving a lower bound of $p=Ω(n^{d+1-\frac{c}{\sqrt{\log_2(n)}}})$.
