mlsanityData to 26 Nov 2026

NP-Hardness of Minimizing Neurons in Two-Hidden-Layer ReLU Neural Networks

arXiv 2610.11313 ↗Submitted 8 Oct 2026cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

A fundamental question in neural network architecture optimization is whether the minimum hidden-neuron count required to approximate a target function within a prescribed tolerance can be computed efficiently. This paper resolves this question for two-hidden-layer ReLU networks under an Lp(ℝd,ℝm) approximation constraint. For every fixed d ≥ 1, m ≥ 1, and 1 ≤ p < ∞, we prove that computing the optimum exactly is NP-hard. The result holds even when the target is represented by a rational ReLU network whose realization is nonzero, componentwise nonnegative, compactly supported, globally Lipschitz, and continuous piecewise affine. The polynomial-time reduction from 3-SAT produces an architecture gap in which unsatisfiable formulas yield an optimum of zero, whereas satisfiable formulas yield an optimum of at least d+2. The proof constructs compactly supported polyhedral frustum functions realized by two-hidden-layer ReLU networks and establishes the Lp-density of finite linear combinations of box-frustum functions. The results offer theoretical justification for employing heuristic approximation methods in the design of ReLU neural networks, illustrating that attaining a minimal configuration within polynomial time is computationally unachievable.

Key facts. Cited by 1 paper in the map (data through 26 Nov 2026). Builds on 0 of its 32 references that are in the map. Submitted 8 Oct 2026.

Builds on

0 of 32 references.

No references here yet.

Built on by

Cited by year (2026 to 26 Nov)

Citing papers per year: 2026: 1.

1 paper.