arXivPreprintOpen accesscs.LG
Two hidden layer suffice: the caterpillar net
Jakob Paul Zimmermann
Key points
From the paper's conclusion- Inspired by the proof by Brunck et al. (2026) that two hidden layers suffice for general CPWL functions, we give the Caterpillar Net, a nonrecursive construction for the maximum of $N$ inputs with two hidden layers of widths $O(N^2)$ and $2^{O(N\log N)}$.
Abstract
Every continuous piecewise linear (CPWL) function is a finite signed sum of maxima of affine functions, making maximum representation a central problem in the study of the expressiveness of ReLU networks. A now-disproved conjecture predicted logarithmic depth for maxima. Inspired by the proof by Brunck et al. (2026) that two hidden layers suffice for general CPWL functions, we give the Caterpillar Net, a nonrecursive construction for the maximum of $N$ inputs with two hidden layers of widths $O(N^2)$ and $2^{O(N\log N)}$. The construction has a direct geometric interpretation.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Representing MAX functions using two-hidden-layer ReLU networksarXiv · 2026
- Integral Multipliers and Arithmetic Obstructions for Two-Hidden-Layer ReLU MaximaarXiv · 2026
- Tight Asymptotic Bounds on the Maximum Number of Linear Regions of Piecewise-Linear Kolmogorov--Arnold networksarXiv · 2026
- The Geometry of Limits in ReLU Function SpacesarXiv · 2026
- Two $\operatorname{ReLU}$ Layers is All You NeedarXiv · 2026
- NP-Hardness of Minimizing Neurons in Two-Hidden-Layer ReLU Neural NetworksarXiv · 2026