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 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 19b7d516-5d58-4783-a0e1-a4ca43e64582Cited 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
- Lower Bounds on the Depth of Integral ReLU Neural Networks via Lattice PolytopesChristian Haase, Christoph Hertrich, Georg LohoICLR 2023 · 3 citations
- New Complexity-Theoretic Frontiers of Tractability for Neural Network TrainingCornelius Brand, Robert Ganian, Mathis RoctonNeurIPS 2023 · 4 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
