Training Neural Networks is ER-complete
Mikkel Abrahamsen, Linda Kleist, Tillmann Miltzow
Abstract
We consider the algorithmic problem of finding the optimal weights and biases for a two-layer fully connected neural network to fit a given set of data points, also known as empirical risk minimization. We show that the problem is ∃R-complete. This complexity class can be defined as the set of algorithmic problems that are polynomial-time equivalent to finding real roots of a multivariate polynomial with integer coefficients. Furthermore, we show that arbitrary algebraic numbers 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.
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.
9 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
- Complexity of Neural Network Training and ETR: Extensions with Effectively Continuous Functions cites Training Fully Connected Neural Networks is ∃R-Complete
- Smoothing the gap between NP and ER cites On Classifying Continuous Constraint Satisfaction problems
- On Classifying Continuous Constraint Satisfaction problems cites Smoothing the gap between NP and ER
- Training Fully Connected Neural Networks is ∃R-Complete cites On the Optimal Memorization Power of ReLU Neural Networks
- Training Fully Connected Neural Networks is ∃R-Complete cites Smoothing the gap between NP and ER
- Training Fully Connected Neural Networks is ∃R-Complete cites Training Neural Networks is NP-Hard in Fixed Dimension
- Training Neural Networks is NP-Hard in Fixed Dimension cites Training Fully Connected Neural Networks is ∃R-Complete
- Training Fully Connected Neural Networks is ∃R-Complete cites On Classifying Continuous Constraint Satisfaction problems
- Training Fully Connected Neural Networks is ∃R-Complete cites Hardness of Noise-Free Learning for Two-Hidden-Layer Neural Networks
- Training Fully Connected Neural Networks is ∃R-Complete cites Towards Lower Bounds on the Depth of ReLU Neural Networks
- Training Neural Networks is NP-Hard in Fixed Dimension cites Towards Lower Bounds on the Depth of ReLU Neural Networks
Cited by top-tier papers9
- Towards Lower Bounds on the Depth of ReLU Neural NetworksChristoph Hertrich, Amitabh Basu, Marco Di Summa, Martin SkutellaNeurIPS 2021 · 70 citations
- Training Fully Connected Neural Networks is ∃R-CompleteDaniel Bertschinger, Christoph Hertrich, Paul Jungeblut, Tillmann Miltzow et al.NeurIPS 2023 · 39 citations
- Smoothing the gap between NP and ERJeff Erickson, Ivor van der Hoog, Tillmann MiltzowFOCS 2020 · 34 citations
- On Classifying Continuous Constraint Satisfaction problemsTillmann Miltzow, Reinier F. SchmiermannFOCS 2021 · 10 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
- Why ReLU? A Bit-Model Dichotomy for Deep Network TrainingIlan Doron-Arad, Elchanan MosselICML 2026
- New Complexity-Theoretic Frontiers of Tractability for Neural Network TrainingCornelius Brand, Robert Ganian, Mathis RoctonNeurIPS 2023 · 4 citations
- Lower Bounds on the Depth of Integral ReLU Neural Networks via Lattice PolytopesChristian Haase, Christoph Hertrich, Georg LohoICLR 2023 · 3 citations
- On the Hardness of Training Deep Neural Networks DiscretelyIlan Doron-AradAAAI 2025
- 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
