Training Fully Connected Neural Networks is ∃R-Complete
Daniel Bertschinger, Christoph Hertrich, Paul Jungeblut, Tillmann Miltzow, Simon Weber
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 -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 .
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 5cb11ec0-7980-4a3d-ba37-8e04b3f76d85Cited by top-tier papers15
- Training Neural Networks is NP-Hard in Fixed DimensionVincent Froese, Christoph HertrichNeurIPS 2023 · 36 citations
- Provably Good Solutions to the Knapsack Problem via Neural Networks of Bounded SizeChristoph Hertrich, Martin SkutellaAAAI 2021 · 28 citations
- Depth-Bounds for Neural Networks via the Braid ArrangementMoritz Grillo, Christoph Hertrich, Georg LohoNeurIPS 2025 · 15 citations
- The Computational Complexity of Counting Linear Regions in ReLU Neural NetworksMoritz Stargalla, Christoph Hertrich, Daniel ReichmanNeurIPS 2025 · 11 citations
- Complexity of Neural Network Training and ETR: Extensions with Effectively Continuous FunctionsTeemu Hankala, Miika Hannula, Juha Kontinen, Jonni VirtemaAAAI 2024 · 6 citations
Builds on10
- Towards Lower Bounds on the Depth of ReLU Neural NetworksChristoph Hertrich, Amitabh Basu, Marco Di Summa, Martin SkutellaNeurIPS 2021 · 70 citations
- On the Optimal Memorization Power of ReLU Neural NetworksGal Vardi, Gilad Yehudai, Ohad ShamirICLR 2022 · 42 citations
- Hardness of Noise-Free Learning for Two-Hidden-Layer Neural NetworksSitan Chen, Aravind Gollakota, Adam R. Klivans, Raghu MekaNeurIPS 2022 · 37 citations
- Training Neural Networks is NP-Hard in Fixed DimensionVincent Froese, Christoph HertrichNeurIPS 2023 · 36 citations
- Smoothing the gap between NP and ERJeff Erickson, Ivor van der Hoog, Tillmann MiltzowFOCS 2020 · 34 citations
Related papers
- Training Neural Networks is ER-completeMikkel Abrahamsen, Linda Kleist, Tillmann MiltzowNeurIPS 2021 · 30 citations
- Why ReLU? A Bit-Model Dichotomy for Deep Network TrainingIlan Doron-Arad, Elchanan MosselICML 2026
- Lower Bounds on the Depth of Integral ReLU Neural Networks via Lattice PolytopesChristian Haase, Christoph Hertrich, Georg LohoICLR 2023 · 3 citations
- 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
- Learning Deep ReLU Networks Is Fixed-Parameter TractableSitan Chen, Adam R. Klivans, Raghu MekaFOCS 2021 · 7 citations
