Chapter One
What Artificial Intelligence Is
Syllabus topic Module 1, "Foundations of AI & Intelligent Agents: What is AI?"
In one line
Artificial intelligence is the branch of computer science that builds machines which do things we would call intelligent if a person did them.
In the wording a student can write in an examination: Artificial Intelligence is the study and construction of agents that perceive their environment and act so as to achieve the best expected outcome. It is a field of computer science concerned with building systems that perform tasks normally requiring human intelligence, such as reasoning, learning from experience, understanding language, recognising patterns and making decisions under uncertainty.
Where the phrase came from
The phrase was written down in 1955, in a proposal by John McCarthy, Marvin Minsky, Nathaniel Rochester and Claude Shannon for a summer research project at Dartmouth College in 1956. They asked for two months and ten men. The conjecture they proposed to work from is worth reading because it is still the field's working assumption:
every aspect of learning or any other feature of intelligence can in principle be so precisely
described that a machine can be made to simulate it
Everything in this paper is a descendant of that sentence. Search, logic, probability and machine learning are four different answers to "how precisely can it be described".
The four things people mean by the word
This grid is the answer to What is AI? that gets full marks, because it shows that the question has four honest answers and says which one this subject takes. Two questions are being crossed: is the goal to copy a human or to be rational, and is the target thought or behaviour?
| Like a human | Rationally | |
|---|---|---|
| Thought | Systems that think like people. The test is whether the machine's reasoning steps match a person's, so the evidence comes from psychology. | Systems that think correctly. The test is whether the reasoning obeys the laws of logic and probability. |
| Behaviour | Systems that act like people. The test is whether a person can tell the difference, which is the Turing test. | Systems that act so as to do the best they can. The test is the outcome, measured against a stated performance measure. |
- Thinking humanly is cognitive modelling. It needs a theory of how people actually think, and it is a joint project with psychology rather than a purely engineering one.
- Thinking rationally is the logic tradition. Aristotle's syllogisms are its ancestor, and Module 1's third and fourth rows are its modern form.
- Acting humanly is the Turing test, below.
- Acting rationally is the intelligent agent view, and it is the one MU's syllabus takes. Her very next label is
Rational agents vs human thinking, and every following row of Module 1 is a tool an agent uses to act well: search, logic, probability.
What Artificial Intelligence Is
The Turing test, read out of Turing's own paper
Alan Turing opened his 1950 paper with a refusal. He would not ask "Can machines think?", because that needs definitions of "machine" and "think" that nobody agrees on. He replaced the question with a game.
The imitation game. Three participants: a man, a woman, and an interrogator in a separate room who communicates with both by writing. The interrogator has to say which is which. The man's job is to make the interrogator get it wrong; the woman's job is to help. Turing's question is then:
What will happen when a machine takes the part of A in this game? Will the interrogator decide
wrongly as often when the game is played like this as he does when the game is played between a
man and a woman?
Three points about the test that are worth marks and are usually got wrong:
- It is a test of behaviour, not of thought. Turing designed it precisely so that the machine's internals do not matter. It belongs in the bottom-left box of the grid above.
- It is deliberately verbal, and Turing says why. The answers are to be typewritten, over a teleprinter between two rooms, "in order that tones of voice may not help the interrogator". The arrangement has, in his words, "the advantage of drawing a fairly sharp line between the physical and the intellectual capacities of a man": there would be "little point in trying to make a thinking machine more human by dressing it up in such artificial flesh."
- Turing predicted the objections and answered nine of them, in this order: the Theological Objection, the "Heads in the Sand" Objection, the Mathematical Objection (from Godel's theorem), the Argument from Consciousness, Arguments from Various Disabilities, Lady Lovelace's Objection, the Argument from Continuity in the Nervous System, the Argument from Informality of Behaviour, and the Argument from Extrasensory Perception. His own estimate was that "in about fifty years' time" a machine would play the game so well that an average interrogator "will not have more than 70 per cent chance of making the right identification after five minutes of questioning."
The test is a historical landmark, not a working goal. Almost no modern AI research aims at it, for a plain engineering reason: imitating a person means imitating a person's slowness and mistakes, which nobody wants to pay for. Its value is that it forced the field to define success by what a system does rather than by what it is made of.
The four things a modern AI system is asked to do
A definition is easier to remember when it is attached to capabilities. Almost everything in this paper falls under one of four headings, and each is a later row of MU's own syllabus.
What Artificial Intelligence Is
| Capability | What it means | Where this paper teaches it |
|---|---|---|
| Acting | Choosing what to do next | Agents, and search, Module 1 rows 1 and 2 |
| Reasoning | Drawing conclusions from what is known | Logic and planning, Module 1 row 3 |
| Coping with uncertainty | Acting when the facts are not all in | Probability, Module 1 row 4 |
| Learning | Getting better from experience | The whole of Module 2 |
Strong and weak AI, narrow and general
Three pairs of words get used loosely. They are cheap marks when kept straight.
| Term | What it means |
|---|---|
| Weak (or narrow) AI | A system built for one task: reading number plates, recommending films, scoring a loan. Every deployed AI system today is of this kind. |
| Strong AI | The claim that a suitably programmed machine would genuinely have a mind, understanding and consciousness, not merely behave as if it did. This is a philosophical claim, not an engineering one. |
| Artificial General Intelligence | An engineering goal: one system competent across the full range of tasks a person can learn. Not achieved, and there is no agreement on how to measure it. |
Weak against strong is about what the machine IS. Narrow against general is about what it can DO. A system could in principle be general and still have no mind at all.
What AI is not
This section exists because a chapter that only enthuses leaves a reader unable to say where the subject stops.
- It is not a synonym for machine learning. Learning is one row of Module 2. Search, logic and planning are AI and contain no learning at all. A chess program using minimax learns nothing.
- It is not a synonym for statistics, though Module 2 is largely statistical. AI asks what to DO; statistics asks what is TRUE of the data. The difference is the performance measure.
- It is not automation. A washing machine's timer automates a task and chooses nothing. An agent chooses.
- It is not consciousness, and no result in this paper bears on the question. Every algorithm here would work identically whether or not anything was going on inside.
- It is not magic, and it is not new. Every method in this paper is arithmetic on numbers or symbol manipulation on structures, published between 1950 and 1997 in papers you could read.
Distinctions
| Artificial Intelligence | Machine Learning | |
|---|---|---|
| What it is | The whole field of building agents that act well | One family of methods inside it |
| Needs data | not necessarily | yes, by definition |
| Example that is one and not the other | A* route finding; a STRIPS planner | nothing: all ML is AI |
| Where on this syllabus | both modules | Module 2 |
What Artificial Intelligence Is
| Turing test | A performance measure | |
|---|---|---|
| Asks | can a person tell the difference | did the agent do well |
| Judged by | a human interrogator | a number stated in advance |
| Belongs to | acting humanly | acting rationally |
| Used in practice today | no | yes, everywhere in this paper |
Quick revision
- AI is the study and construction of agents that perceive an environment and act to achieve the best expected outcome.
- The phrase was coined in the 1955 Dartmouth proposal (McCarthy, Minsky, Rochester, Shannon) for a 1956 summer project.
- Four definitions, on two axes: thinking or acting, humanly or rationally. This syllabus takes acting rationally, the intelligent agent view.
- The Turing test (Turing, 1950) replaces "can machines think" with the imitation game. It tests behaviour, is deliberately conducted in writing, and Turing answered nine objections to it.
- Weak or narrow AI does one task; strong AI is the claim that the machine would truly have a mind; AGI is the engineering goal of one broadly competent system.
- Four capability headings: acting, reasoning, coping with uncertainty, learning. They are MU's four rows of Module 1 plus the whole of Module 2.
- AI is not the same as machine learning, not the same as statistics, not automation, and says nothing about consciousness.
Test yourself
1. Define artificial intelligence in one sentence fit for an examination. Artificial Intelligence is the study and construction of agents that perceive their environment and act so as to achieve the best expected outcome, performing tasks that normally require human intelligence such as reasoning, learning, perception and decision making under uncertainty.
2. Give the four definitions of AI as a grid and say which one this subject uses. The axes are thought against behaviour, and human against rational. Thinking humanly is cognitive modelling; thinking rationally is the logic tradition; acting humanly is the Turing test; acting rationally is the intelligent agent approach. This syllabus uses acting rationally.
3. Describe the Turing test and state what it tests. An interrogator communicates in writing with a machine and a person and must identify which is which. If the interrogator does no better than chance, the machine passes. It tests external behaviour only, and says nothing about how the machine reached its answers.
4. Why did Turing replace the question "Can machines think?" Because answering it requires agreed definitions of "machine" and "think", which do not exist. He substituted a question that can be settled by observation.
5. Distinguish weak AI from strong AI. Weak or narrow AI is a system built to perform a particular task, and is what exists today. Strong AI is the philosophical claim that a suitably programmed machine would actually possess a mind and understanding rather than simulating them.
What Artificial Intelligence Is
6. Is a program that uses minimax to play chess an example of artificial intelligence, given that it learns nothing? Yes. Learning is one family of AI methods, not the definition of the field. Minimax is a rational decision procedure over a game tree and sits squarely in the acting-rationally box.
7. Name the two documents that fix the field's starting point and the year of each. Turing's "Computing Machinery and Intelligence", 1950, which gave it a test; and the Dartmouth summer research project proposal, 1955, which gave it its name.