Learn
Lesson · Mind, Language and Meaning · Mind

Behaviourism and the Turing Test

The Turing test replaces the question whether a machine thinks with a question about what a judge can tell. Model the judge as an updater with two hypotheses, human and machine, show that a perfect mimic gives a Bayes factor of 1 on every answer, and compute what one tell does.

judge: prior × likelihood, normalised Bayes factor = P(a | H) / P(a | ¬H) a perfect mimic: factor 1 on every answer a tell: 1/10 under human, 9/10 under machine one tell: factor 1/9
A test is evidence about who, not whether

Core ideas

What this lesson establishes

Behaviourism says that being in a mental state is a matter of behaving a certain way. The Turing test turns that into a procedure, and a procedure that yields evidence can be computed.

1

The judge updates on each answer

The judge begins with some belief that the party behind the screen is human, and each answer moves it by the Bayes factor, the probability of that answer if the party is human divided by its probability if not. This is the updating of Knowledge and Evidence.

2

A perfect mimic gives a factor of 1

If an answer is exactly as probable from the machine as from the human, it is no evidence either way. Ten such answers are ten factors of 1, and the belief ends where it began.

3

The hypotheses are about who, not whether

The test compares “human” with “machine”. It does not compare “thinks” with “does not think”. To connect them takes a further premise, and that premise is behaviourism.

The material

The test as a Bayes factor

Behaviourism first, then the judge as an updater, then what the numbers can and cannot be made to say.

Definition · Behaviourism

Behaviourism about the mind is the claim that to be in a mental state is to be disposed to behave in certain ways. On its strongest version nothing is left over: there is no inner fact about whether a thing thinks beyond what it would say and do.

Turing's proposal replaces the question. A judge converses in writing with two parties, one human and one machine, and must say which is which. If the judge cannot do better than chance, the machine has passed, and the question whether it thinks has been swapped for one that can be answered. Turing himself set the original question aside as too ill-defined to discuss. Read as a test of thought rather than of imitation, his game is behaviourism put to work, and that reading is the one this lesson examines.

The lab models the judge as what the judge is, an updater. There are two hypotheses about the party behind the screen, human and machine, and each answer is data. Each hypothesis assigns a probability to each kind of answer. Take the answers to be of two kinds, a plain answer and a tell, an answer the machine gives more often than a person would. A tell might be an arithmetic result too fast, or a reply too even in tone.

answer P(answer | human) P(answer | machine) ----------------------------------------------- plain 9/10 1/10 tell 1/10 9/10

That is a machine with a tell. The Bayes factor of one tell for the hypothesis human is (1/10) / (9/10), which is 1/9: the answer is nine times as probable if the party is a machine. Starting from a prior of one half, the lab reports a posterior of 1/10 for human after the one tell.

Now the perfect mimic. Give the machine the human's row: a plain answer with probability 9/10 and a tell with probability 1/10, whichever party it is. Every answer, plain or tell, is exactly as probable under one hypothesis as under the other, so every answer has a Bayes factor of 1, and ten answers together have a factor of 1. The posterior is the prior. The judge has learned nothing about who is behind the screen, and that is all that a pass is.

Prior matters too. A judge who starts at 9/10 for human and meets one tell lands at one half: the factor of 1/9 exactly cancels the odds of nine to one. A judge who starts at one half lands at 1/10. The same tell is the same evidence, and it moves different judges to different places.

Two consequences for the claim that the test measures thought. A pass is not a proof: a factor of 1 says the judge could not tell the parties apart, which is a fact about how well the machine imitates, and a very good imitation of a thinking person need not think. A failure is not a disproof either: a tell shows that the parties differ in style, and a person with an odd manner of answering would show one too. The behaviourist closes the gap by definition, because for the behaviourist there is nothing for the test to miss. “The Chinese Room and the Lookup Table” shows what that costs.

The limit: the probabilities in the lab are numbers someone chose. The lab computes what a judge holding those numbers should believe. It cannot say whether a real answer is a tell.

Interactive

Exact Bayesian updating

prior times likelihood, normalised; the Bayes factor is the weight of the data

Hypotheses, data, posteriorevery figure is an exact fraction

Method

Computing what a test shows

Five steps. The fourth is the one a quick reading skips.

1

Name the two hypotheses

State them as who is behind the screen: human and machine. Do not state them as thinks and does not think. Those are different hypotheses, and the test only reaches the first pair.

2

Give each hypothesis a row of likelihoods

For each kind of answer, say how probable it is if the party is human and how probable if a machine. Each row must sum to 1.

3

Enter the prior and the answers heard

The prior is how likely the judge thinks a human before any answer. The data are the answers, in order.

4

Compare the rows before reading the posterior

If every answer is equally probable under both hypotheses, the Bayes factor is 1 and the posterior is the prior whatever was heard.

5

State what the number measures

A factor away from 1 means the parties can be told apart. It says nothing about thought until a premise about behaviour and mind is added, and you should say which.

Reading the judge

Score 0 / 0

Ten answers, then one tell

A judge with a prior of one half for human, hearing a perfect mimic, and then a machine with a tell.

mimic: both rows plain 9/10, tell 1/10 ten answers, Bayes factor 1 posterior human: 1/2 tell: human 1/10, machine 9/10 on a tell one tell, Bayes factor 1/9 posterior human: 1/10

The mimic's ten answers are not weak evidence. They are no evidence, because the rows are the same. The tell is one answer and moves the odds on human from one to one down to one to nine, and the whole difference between the cases is a row of probabilities.

Common mistakes

1
Reading a pass as proof of thought and a failure as its disproofThe mimic preset passes with a Bayes factor of exactly 1, and that is a statement about what the judge can tell, not about what is behind the screen. The tell preset fails the machine with a factor of 1/9, and a person with a distinctive manner would fail it in the same way. Only a bridge premise that identifies thinking with behaving turns either result into a verdict on thought.
2
Counting ten answers as ten pieces of evidenceEvidence is a ratio of likelihoods, not a number of observations. Ten answers from a perfect mimic are ten factors of 1, and ten times 1 is 1.
3
Thinking that one tell settles the questionThe prior-heavy preset shows a tell bringing a judge from 9/10 only to 1/2. How far one answer moves a judge depends on where the judge began, and a confident judge needs more than one tell.

Check your understanding

✓
Finish when you can say what a pass shows and what it does not.

Given two likelihood rows and an answer, you should be able to compute the Bayes factor and the posterior, say whether the answer separates the parties, and state the premise that would carry the result from who is behind the screen to whether it thinks.

Note: The updating here is the same as in Knowledge and Evidence, with two hypotheses and two kinds of answer. What is new is the use made of the result.

Kept in this browser only, for you. Nothing is sent anywhere and nothing checks it. Carry it to another device.

Feedback and recommendations

Something to change about this lesson? Write it down, tick it off when it is handled, and export the list when you want to act on it. Kept in this browser only: nothing is sent anywhere, and nobody is notified.

No recommendations yet for this lesson.