Skip to main content
QUICK REVIEW

[Paper Review] Training Neural Networks is ER-complete

Mikkel Abrahamsen, Linda Kleist|arXiv (Cornell University)|Feb 19, 2021
Machine Learning and AlgorithmsComputer Science11 citations
TL;DR

This paper establishes that training neural networks is ∃R-complete, meaning it is as hard as deciding the solvability of systems of polynomial equations and inequalities with real variables. This implies that training is strictly harder than NP-complete problems if ∃R ≠ NP, explaining why standard NP-solving techniques like SAT or IP solvers fail for this task.

ABSTRACT

Given a neural network, training data, and a threshold, it was known that it is NP-hard to find weights for the neural network such that the total error is below the threshold. We determine the algorithmic complexity of this fundamental problem precisely, by showing that it is ∃R-complete. This means that the problem is equivalent, up to polynomial-time reductions, to deciding whether a system of polynomial equations and inequalities with integer coefficients and real unknowns has a solution. If, as widely expected, ∃R is strictly larger than NP, our work implies that the problem of training neural networks is not even in NP. Neural networks are usually trained using some variation of backpropagation. The result of this paper offers an explanation why techniques commonly used to solve big instances of NP-complete problems seem not to be of use for this task. Examples of such techniques are SAT solvers, IP solvers, local search, dynamic programming, to name a few general ones.

Motivation & Objective

  • To determine the precise algorithmic complexity of training neural networks.
  • To close the gap between the known NP-hardness and the true complexity of the training problem.
  • To show that training neural networks is equivalent under polynomial-time reductions to solving systems of polynomial equations and inequalities with real unknowns.
  • To explain why common techniques for NP-complete problems fail in the context of neural network training.

Proposed method

  • Reduction of the neural network training problem to the existential theory of the reals (∃R).
  • Construction of a polynomial-time many-one reduction from any ∃R problem to a neural network training instance.
  • Demonstration that any system of polynomial equations and inequalities with integer coefficients and real variables can be encoded as a neural network training problem.
  • Use of real-valued weights and activation functions to model polynomial constraints in the network architecture.
  • Formal proof that solving the neural network training problem is sufficient to solve any ∃R problem, and vice versa.
  • Leveraging known completeness results of ∃R to establish the exact complexity class of the training problem.

Experimental results

Research questions

  • RQ1Is the problem of training a neural network with a given error threshold ∃R-complete?
  • RQ2Can the training problem be reduced to and from problems in the existential theory of the reals?
  • RQ3Does the ∃R-completeness of training imply that standard NP-solving techniques are ineffective?
  • RQ4What is the precise relationship between neural network training and systems of polynomial equations and inequalities?

Key findings

  • Training a neural network to achieve a specified error threshold is ∃R-complete, meaning it is as hard as deciding the solvability of systems of polynomial equations and inequalities over the reals.
  • The problem is strictly harder than NP unless ∃R = NP, which is widely believed to be false.
  • This complexity class explains the failure of standard NP-solving techniques like SAT solvers, IP solvers, and local search in solving large-scale training problems.
  • The result implies that neural network training cannot be solved in polynomial time unless ∃R ⊆ NP, which is considered unlikely.
  • The reduction shows that any instance of an ∃R problem can be encoded as a neural network training problem with polynomial-time overhead.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.