Lune

NeurIPS2023Top-tier venue

Training Neural Networks is NP-Hard in Fixed Dimension

Vincent Froese, Christoph Hertrich

Abstract

We study the parameterized complexity of training two-layer neural networks with respect to the dimension of the input data and the number of hidden neurons, considering ReLU and linear threshold activation functions. Albeit the computational complexity of these problems has been studied numerous times in recent years, several questions are still open. We answer questions by Arora et al. [ICLR '18] and Khalife and Basu [IPCO '22] showing that both problems are NP-hard for two dimensions, which excludes any polynomial-time algorithm for constant dimension. We also answer a question by Froese et al. [JAIR '22] proving W[1]-hardness for four ReLUs (or two linear threshold neurons) with zero training error. Finally, in the ReLU case, we show fixed-parameter tractability for the combined parameter number of dimensions and number of ReLUs if the network is assumed to compute a convex map. Our results settle the complexity status regarding these parameters almost completely.

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.

14 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Training Neural Networks is ER-complete cites Lower Bounds on the Depth of Integral ReLU Neural Networks via Lattice Polytopes
  • Training Neural Networks is ER-complete cites Towards Lower Bounds on the Depth of ReLU Neural Networks
  • Towards Lower Bounds on the Depth of ReLU Neural Networks cites Training Neural Networks is ER-complete
  • The Computational Complexity of Counting Linear Regions in ReLU Neural Networks cites Training Fully Connected Neural Networks is ∃R-Complete
  • The Computational Complexity of Counting Linear Regions in ReLU Neural Networks cites Parameterized Hardness of Zonotope Containment and Neural Network Verification
  • Parameterized Hardness of Zonotope Containment and Neural Network Verification cites The Computational Complexity of Counting Linear Regions in ReLU Neural Networks
  • The Computational Complexity of Counting Linear Regions in ReLU Neural Networks cites Towards Lower Bounds on the Depth of ReLU Neural Networks
  • Depth-Bounds for Neural Networks via the Braid Arrangement cites The Computational Complexity of Counting Linear Regions in ReLU Neural Networks
  • Depth-Bounds for Neural Networks via the Braid Arrangement cites Training Fully Connected Neural Networks is ∃R-Complete
  • 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 Parameterized Hardness of Zonotope Containment and Neural Network Verification
  • Depth-Bounds for Neural Networks via the Braid Arrangement cites Towards Lower Bounds on the Depth of ReLU Neural Networks
  • Training Fully Connected Neural Networks is ∃R-Complete cites Training Neural Networks is ER-complete
  • Training Fully Connected Neural Networks is ∃R-Complete cites Lower Bounds on the Depth of Integral ReLU Neural Networks via Lattice Polytopes
  • Lower Bounds on the Depth of Integral ReLU Neural Networks via Lattice Polytopes cites Training Fully Connected Neural Networks is ∃R-Complete
  • Training Fully Connected Neural Networks is ∃R-Complete 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
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers14

  1. Training Fully Connected Neural Networks is ∃R-CompleteDaniel Bertschinger, Christoph Hertrich, Paul Jungeblut, Tillmann Miltzow et al.NeurIPS 2023 · 39 citations
  2. Training Neural Networks is ER-completeMikkel Abrahamsen, Linda Kleist, Tillmann MiltzowNeurIPS 2021 · 30 citations
  3. Depth-Bounds for Neural Networks via the Braid ArrangementMoritz Grillo, Christoph Hertrich, Georg LohoNeurIPS 2025 · 15 citations
  4. The Computational Complexity of Counting Linear Regions in ReLU Neural NetworksMoritz Stargalla, Christoph Hertrich, Daniel ReichmanNeurIPS 2025 · 11 citations
  5. Parameterized Hardness of Zonotope Containment and Neural Network VerificationVincent Froese, Moritz Grillo, Christoph Hertrich, Moritz StargallaICLR 2026 · 9 citations

Builds on4

  1. Neural Networks are Convex Regularizers: Exact Polynomial-time Convex Optimization Formulations for Two-layer NetworksMert Pilanci, Tolga ErgenICML 2020 · 142 citations
  2. Towards Lower Bounds on the Depth of ReLU Neural NetworksChristoph Hertrich, Amitabh Basu, Marco Di Summa, Martin SkutellaNeurIPS 2021 · 70 citations
  3. Training Fully Connected Neural Networks is ∃R-CompleteDaniel Bertschinger, Christoph Hertrich, Paul Jungeblut, Tillmann Miltzow et al.NeurIPS 2023 · 39 citations
  4. Lower Bounds on the Depth of Integral ReLU Neural Networks via Lattice PolytopesChristian Haase, Christoph Hertrich, Georg LohoICLR 2023 · 3 citations

Related papers

  1. On the Hardness of Training Deep Neural Networks DiscretelyIlan Doron-AradAAAI 2025
  2. Tractability via Low Dimensionality: The Parameterized Complexity of Training Quantized Neural NetworksRobert Ganian, Frank Sommer, Manuel SorgeICLR 2026
  3. New Complexity-Theoretic Frontiers of Tractability for Neural Network TrainingCornelius Brand, Robert Ganian, Mathis RoctonNeurIPS 2023 · 4 citations
  4. Training One-Dimensional Graph Neural Networks is NP-HardRobert Ganian, Mathis Rocton, Simon WiethegerICLR 2025
  5. On the Expected Complexity of Maxout NetworksHanna Tseran, Guido MontúfarNeurIPS 2021 · 19 citations
Dusk over the sea between two cliffs drawn in fine vertical lines