How Many Neurons Does it Take to Approximate the Maximum?
Itay Safran, Daniel Reichman, Paul Valiant
Abstract
We study the size of a neural network needed to approximate the maximum function over d inputs, in the most basic setting of approximating with respect to the L 2 norm, for continuous distributions, for a network that uses ReLU activations. We provide new lower and upper bounds on the width required for approximation across various depths. Our results establish new depth separations between depth 2 and 3, and depth 3 and 5 networks, as well as providing a depth O(log(log(d))) and width O(d) construction which approximates the maximum function. Our depth separation results are facilitated by a new lower bound for depth 2 networks approximating the maximum function over the uniform distribution, assuming an exponential upper bound on the size of the weights. Furthermore, we are able to use this depth 2 lower bound to provide tight bounds on the number of neurons needed to approximate the maximum by a depth 3 network. Our lower bounds are of potentially broad interest as they apply to the widely studied and used max function, in contrast to many previous results that base their bounds on specially constructed or pathological functions and distributions.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
4 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Better Neural Network Expressivity: Subdividing the Simplex cites Depth-Bounds for Neural Networks via the Braid Arrangement
- Depth-Bounds for Neural Networks via the Braid Arrangement cites Better Neural Network Expressivity: Subdividing the Simplex
- Better Neural Network Expressivity: Subdividing the Simplex cites On the Expressiveness of Rational ReLU Neural Networks With Bounded Depth
- Better Neural Network Expressivity: Subdividing the Simplex cites Lower Bounds on the Depth of Integral ReLU Neural Networks via Lattice Polytopes
- Better Neural Network Expressivity: Subdividing the Simplex cites Decomposition Polyhedra of Piecewise Linear Functions
- Better Neural Network Expressivity: Subdividing the Simplex cites Towards Lower Bounds on the Depth of ReLU Neural Networks
- Depth-Bounds for Neural Networks via the Braid Arrangement cites On the Expressiveness of Rational ReLU Neural Networks With Bounded Depth
- Depth-Bounds for Neural Networks via the Braid Arrangement cites Lower Bounds on the Depth of Integral ReLU Neural Networks via Lattice Polytopes
- Depth-Bounds for Neural Networks via the Braid Arrangement cites Decomposition Polyhedra of Piecewise Linear Functions
- Depth-Bounds for Neural Networks via the Braid Arrangement cites Towards Lower Bounds on the Depth of ReLU Neural Networks
- On the Expressiveness of Rational ReLU Neural Networks With Bounded Depth cites Lower Bounds on the Depth of Integral ReLU Neural Networks via Lattice Polytopes
- On the Expressiveness of Rational ReLU Neural Networks With Bounded Depth cites Towards Lower Bounds on the Depth of ReLU Neural Networks
- Lower Bounds on the Depth of Integral ReLU Neural Networks via Lattice Polytopes cites Towards Lower Bounds on the Depth of ReLU Neural Networks
- Towards Lower Bounds on the Depth of ReLU Neural Networks cites Lower Bounds on the Depth of Integral ReLU Neural Networks via Lattice Polytopes
- Decomposition Polyhedra of Piecewise Linear Functions cites Lower Bounds on the Depth of Integral ReLU Neural Networks via Lattice Polytopes
- Decomposition Polyhedra of Piecewise Linear Functions cites Towards Lower Bounds on the Depth of ReLU Neural Networks
Cited by top-tier papers4
- Better Neural Network Expressivity: Subdividing the SimplexEgor Bakaev, Florestan Brunck, Christoph Hertrich, Jack Stade et al.STOC 2026 · 16 citations
- Depth-Bounds for Neural Networks via the Braid ArrangementMoritz Grillo, Christoph Hertrich, Georg LohoNeurIPS 2025 · 15 citations
- On the Expressiveness of Rational ReLU Neural Networks With Bounded DepthGennadiy Averkov, Christopher Hojny, Maximilian MerkertICLR 2025
- Decomposition Polyhedra of Piecewise Linear FunctionsMarie-Charlotte Brandenburg, Moritz Leo Grillo, Christoph HertrichICLR 2025
Builds on2
Related papers
- Minimum width for universal approximation using ReLU networks on compact domainNamjun Kim, Chanho Min, Sejun ParkICLR 2024 · 19 citations
- Minimum Width for Universal ApproximationSejun Park, Chulhee Yun, Jaeho Lee, Jinwoo ShinICLR 2021 · 148 citations
- The Implicit Bias of Minima Stability in Multivariate Shallow ReLU NetworksMor Shpigel Nacson, Rotem Mulayoff, Greg Ongie, Tomer Michaeli et al.ICLR 2023 · 3 citations
- On Enhancing Expressive Power via Compositions of Single Fixed-Size ReLU NetworkShijun Zhang, Jianfeng Lu, Hongkai ZhaoICML 2023 · 9 citations
- Most Activation Functions Can Win the Lottery Without Excessive DepthRebekka BurkholzNeurIPS 2022 · 27 citations
