# AI-complete

In the field of artificial intelligence, the most difficult problems are informally known as AI-complete or AI-hard, implying that the difficulty of these computational problems is equivalent to that of solving the central artificial intelligence problem—making computers as intelligent as people, or strong AI.[1] To call a problem AI-complete reflects an attitude that it would not be solved by a simple specific algorithm.

AI-complete problems are hypothesised to include computer vision, natural language understanding, and dealing with unexpected circumstances while solving any real world problem.[2]

Currently, AI-complete problems cannot be solved with modern computer technology alone, but would also require human computation. This property can be useful, for instance to test for the presence of humans as with CAPTCHAs, and for computer security to circumvent brute-force attacks.[3][4]

## History

The term was coined by Fanya Montalvo by analogy with NP-complete and NP-hard in complexity theory, which formally describes the most famous class of difficult problems.[5] Early uses of the term are in Erik Mueller's 1987 Ph.D. dissertation[6] and in Eric Raymond's 1991 Jargon File.[7]

## AI-complete problems

AI-complete problems are hypothesised to include:

### Machine translation

Main article: Machine translation

To translate accurately, a machine must be able to understand the text. It must be able to follow the author's argument, so it must have some ability to reason. It must have extensive world knowledge so that it knows what is being discussed — it must at least be familiar with all the same commonsense facts that the average human translator knows. Some of this knowledge is in the form of facts that can be explicitly represented, but some knowledge is unconscious and closely tied to the human body: for example, the machine may need to understand how an ocean makes one feel to accurately translate a specific metaphor in the text. It must also model the authors' goals, intentions, and emotional states to accurately reproduce them in a new language. In short, the machine is required to have wide variety of human intellectual skills, including reason, commonsense knowledge and the intuitions that underlie motion and manipulation, perception, and social intelligence. Machine translation, therefore, is believed to be AI-complete: it may require strong AI to be done as well as humans can do it.

## Software brittleness

Main article: Software brittleness

Current AI systems can solve very simple restricted versions of AI-complete problems, but never in their full generality. When AI researchers attempt to "scale up" their systems to handle more complicated, real world situations, the programs tend to become excessively brittle without commonsense knowledge or a rudimentary understanding of the situation: they fail as unexpected circumstances outside of its original problem context begin to appear. When human beings are dealing with new situations in the world, they are helped immensely by the fact that they know what to expect: they know what all things around them are, why they are there, what they are likely to do and so on. They can recognize unusual situations and adjust accordingly. A machine without strong AI has no other skills to fall back on.[9]

## Formalization

Computational complexity theory deals with the relative computational difficulty of computable functions. By definition it does not cover problems whose solution is unknown or has not been characterised formally. Since many AI problems have no formalisation yet, conventional complexity theory does not allow the definition of AI-completeness.

To address this problem, a complexity theory for AI has been proposed.[10] It is based on a model of computation that splits the computational burden between a computer and a human: one part is solved by computer and the other part solved by human. This is formalised by a human-assisted Turing machine. The formalisation defines algorithm complexity, problem complexity and reducibility which in turn allows equivalence classes to be defined.

The complexity of executing an algorithm with a human-assisted Turing machine is given by a pair ${\displaystyle \langle \Phi _{H},\Phi _{M}\rangle }$, where the first element represents the complexity of the human's part and the second element is the complexity of the machine's part.

### Results

The complexity of solving the following problems with a human-assisted Turing machine is:[10]

• Optical character recognition for printed text: ${\displaystyle \langle O(1),poly(n)\rangle }$
• Turing test:
• for an ${\displaystyle n}$-sentence conversation where the oracle remembers the conversation history (persistent oracle): ${\displaystyle \langle O(n),O(n)\rangle }$
• for an ${\displaystyle n}$-sentence conversation where the conversation history must be retransmitted: ${\displaystyle \langle O(n),O(n^{2})\rangle }$
• for an ${\displaystyle n}$-sentence conversation where the conversation history must be retransmitted and the person takes linear time to read the query: ${\displaystyle \langle O(n^{2}),O(n^{2})\rangle }$
• ESP game: ${\displaystyle \langle O(n),O(n)\rangle }$
• Image labelling (based on the Arthur–Merlin protocol): ${\displaystyle \langle O(n),O(n)\rangle }$
• Image classification: human only: ${\displaystyle \langle O(n),O(n)\rangle }$, and with less reliance on the human: ${\displaystyle \langle O(\log n),O(n\log n)\rangle }$.