KIT | KIT-Bibliothek | Impressum | Datenschutz

Training Fully Connected Neural Networks is ∃R-Complete

Bertschinger, Daniel; Hertrich, Christoph; Jungeblut, Paul ORCID iD icon 1; Miltzow, Tillmann; Weber, Simon
1 Institut für Theoretische Informatik (ITI), Karlsruher Institut für Technologie (KIT)

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'21). A consequence of this is that a combinatorial search algorithm like the one by Arora, Basu, Mianjy, and Mukherjee (ICLR'18) is impossible for networks with more than one output dimension, unless NP = ∃ℝ.


Verlagsausgabe §
DOI: 10.5445/IR/1000198098
Veröffentlicht am 19.10.2026
Originalveröffentlichung
DOI: 10.4086/toc.2026.v022a006
Cover der Publikation
Zugehörige Institution(en) am KIT Institut für Theoretische Informatik (ITI)
Publikationstyp Zeitschriftenaufsatz
Publikationsjahr 2026
Sprache Englisch
Identifikator ISSN: 1557-2862
KITopen-ID: 1000198098
Erschienen in Theory of Computing
Verlag Theory of Computing Exchange
Band 22
Heft 1
Seiten 1–48
Vorab online veröffentlicht am 16.09.2026
Schlagwörter neural network training, computational complexity, existential theory of the reals, algebraic universality, empirical risk minimization
Nachgewiesen in OpenAlex
KIT – Die Universität in der Helmholtz-Gemeinschaft
KITopen Landing Page