Skip to content

Shallower ReLU Network Representations via Exact Linear Algebra

Jul 2026 · arXiv.org · Vol abs/2607.21651 · 2 citations · ⚡ 1 influential · 17 references
Computer Science Mathematics

TL;DR

It is proved that $\max_n(x)$ is exactly representable with two hidden layers for every $n\leq 12$, and these results improve upon [Bakaev, Brunck, Hertrich, Stade, Yehudayoff, STOC'26], who proved analogous logarithmic bounds with base three.

Abstract

We study the depth required by ReLU networks to exactly represent piecewise linear functions, focusing specifically on the maximum function. This problem has recently received significant attention in both the ML and TCS literature. We prove that $\max_n(x)=\max\{x_1,\ldots,x_n\}$ is exactly representable with two hidden layers for every $n\leq 12$. Previously, this was only known up to $n\leq5$ [Bakaev, Brunck, Hertrich, Stade, Yehudayoff, STOC'26]. We obtain our constructions through an exact computer-assisted search within a space of candidate solutions: After a symmetry reduction, we obtain a finite system of linear equations over $\mathbb{Q}$ such that any solution yields a valid representation of the maximum function. The resulting constructions have a structured first hidden layer, which enables recursive substitution into deeper networks. This yields an exact ReLU representation of $\max_n$ with at most $\lceil \log_6(n/2) \rceil+1$ hidden layers. Consequently, every continuous piecewise-linear function on $\mathbb{R}^d$ admits an exact representation with at most $\lceil\log_6((d+1)/2)\rceil+1$ hidden layers; in particular, two hidden layers suffice for $d\leq 11$. Again, these results improve upon [Bakaev, Brunck, Hertrich, Stade, Yehudayoff, STOC'26], who proved analogous logarithmic bounds with base three.

View source

Similar papers

Preprint Aug 2026

Representing MAX functions using two-hidden-layer ReLU networks

The techniques share most of the high-level ideas presented in [Ruess et al., 2026], but there are also some minor differences which may be of interest for future research on this problem.

Zhi-Mao Wang, A. Basu · 1 citation · ⚡1
Preprint Sep 2026

SparseStack Is an Optimal Oblivious Subspace Embedding

It is proved that fully independent SparseStack achieves the oblivious subspace embedding parameters conjectured by Nelson and Nguyen (FOCS 2013) and the main theorem has been formally verified in Lean 4.

Diar Heidary · 1 citation
#machine learning Preprint Aug 2026

Every Layer Counts: An Exponential $L_2$ Depth Hierarchy for ReLU Networks

A depth hierarchy for ReLU neural networks in which every additional ReLU layer can save exponentially many neurons is proved, and the first exponential separation for ReLU networks between two fixed depths whose shallower network has depth at least $3 is proved.

Itay Safran · 0 citations
#machine learning Preprint Sep 2026

Nearly Tight Rademacher Bounds for Sparsely Activated Neural Networks

A spherical-cap construction proves the latter claim without assuming sparsity merely on the sampling support without assuming sparsity merely on the sampling support, and obtains agnostic minimax excess-risk bounds of order up to logarithms.

Xiao-Yu Li, Zhizhou Sha, Jiao-Jiao Jiang et al. · 0 citations
Jul 2026

ReLUk Neural de Rham Complexes

This work constructs finite-dimensional de Rham subcomplexes generated by fixed-neuron shallow ReLU shallow ReLU neural networks and proves exactness in arbitrary dimension and provides a geometric sufficient condition for the required linear independence.

Kai-Bo Hu, Jin-Dong Wang, Jin-Chao Xu · 0 citations
#artificial intelligence Preprint Sep 2026

RecKAN: Kolmogorov-Arnold Networks with a Learnable Recursive Polynomial Basis

RecKAN is introduced, which defines the basis itself by a second order polynomial recurrence, and it is shown that the learned recurrence coefficients are interpretable: on the task requiring the most local structure, training moves the basis away from the linear degree growth regime that contains every classical famil...

Amirhosein Azarpour · 1 citation

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.