Lune

Abstract

We consider the problem of finding weights and biases for a two-layer fully connected neural network to fit a given set of data points as well as possible, also known as EmpiricalRiskMinimization. Our main result is that the associated decision problem is ∃R\exists\mathbb{R}-complete, that is, polynomial-time equivalent to determining whether a multivariate polynomial with integer coefficients has any real roots. Furthermore, we prove that algebraic numbers of arbitrarily large degree are required as weights to be able to train some instances to optimality, even if all data points are rational. Our result already applies to fully connected instances with two inputs, two outputs, and one hidden layer of ReLU neurons. Thereby, we strengthen a result by Abrahamsen, Kleist and Miltzow [NeurIPS 2021]. A consequence of this is that a combinatorial search algorithm like the one by Arora, Basu, Mianjy and Mukherjee [ICLR 2018] is impossible for networks with more than one output dimension, unless NP=∃R\mathsf{NP}=\exists\mathbb{R}.

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.

15 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

  • The Computational Complexity of Counting Linear Regions in ReLU Neural Networks cites Training Neural Networks is NP-Hard in Fixed Dimension
  • 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 Provably Good Solutions to the Knapsack Problem via Neural Networks of Bounded Size
  • Depth-Bounds for Neural Networks via the Braid Arrangement cites Training Neural Networks is NP-Hard in Fixed Dimension
  • Depth-Bounds for Neural Networks via the Braid Arrangement cites Towards Lower Bounds on the Depth of ReLU Neural Networks
  • Provably Good Solutions to the Knapsack Problem via Neural Networks of Bounded Size cites Towards Lower Bounds on the Depth of ReLU Neural Networks
  • Towards Lower Bounds on the Depth of ReLU Neural Networks cites Provably Good Solutions to the Knapsack Problem via Neural Networks of Bounded Size
  • Training Neural Networks is NP-Hard in Fixed Dimension cites Towards Lower Bounds on the Depth of ReLU Neural Networks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers15

  1. Training Neural Networks is NP-Hard in Fixed DimensionVincent Froese, Christoph HertrichNeurIPS 2023 · 36 citations
  2. Provably Good Solutions to the Knapsack Problem via Neural Networks of Bounded SizeChristoph Hertrich, Martin SkutellaAAAI 2021 · 28 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. Complexity of Neural Network Training and ETR: Extensions with Effectively Continuous FunctionsTeemu Hankala, Miika Hannula, Juha Kontinen, Jonni VirtemaAAAI 2024 · 6 citations

Builds on10

  1. Towards Lower Bounds on the Depth of ReLU Neural NetworksChristoph Hertrich, Amitabh Basu, Marco Di Summa, Martin SkutellaNeurIPS 2021 · 70 citations
  2. On the Optimal Memorization Power of ReLU Neural NetworksGal Vardi, Gilad Yehudai, Ohad ShamirICLR 2022 · 42 citations
  3. Hardness of Noise-Free Learning for Two-Hidden-Layer Neural NetworksSitan Chen, Aravind Gollakota, Adam R. Klivans, Raghu MekaNeurIPS 2022 · 37 citations
  4. Training Neural Networks is NP-Hard in Fixed DimensionVincent Froese, Christoph HertrichNeurIPS 2023 · 36 citations
  5. Smoothing the gap between NP and ERJeff Erickson, Ivor van der Hoog, Tillmann MiltzowFOCS 2020 · 34 citations

Related papers

  1. Training Neural Networks is ER-completeMikkel Abrahamsen, Linda Kleist, Tillmann MiltzowNeurIPS 2021 · 30 citations
  2. Why ReLU? A Bit-Model Dichotomy for Deep Network TrainingIlan Doron-Arad, Elchanan MosselICML 2026
  3. Lower Bounds on the Depth of Integral ReLU Neural Networks via Lattice PolytopesChristian Haase, Christoph Hertrich, Georg LohoICLR 2023 · 3 citations
  4. Deep-ICE: The first globally optimal algorithm for empirical risk minimization of two-layer maxout and ReLU networksXi He, Yi Miao, Max A. LittleICLR 2026 · 3 citations
  5. Learning Deep ReLU Networks Is Fixed-Parameter TractableSitan Chen, Adam R. Klivans, Raghu MekaFOCS 2021 · 7 citations
Dusk over the sea between two cliffs drawn in fine vertical lines