Famous experiments · 4 min read · 2 sources
The horse that seemed to do sums
A famous horse answered maths questions by tapping his hoof, until a careful study showed he was reading tiny, unconscious signals from the people watching him.
The file
- Who
- Oskar Pfungst and Carl Stumpf
- Where
- Berlin, Germany
- When
- 1907
- Shelf
- Famous experiments
- Read time
- 4 min read
- Sources
- 2 sources
The file
- Who
- Oskar Pfungst and Carl Stumpf
- Where
- Berlin, Germany
- When
- 1907
- Shelf
- Famous experiments
- Read time
- 4 min read
- Sources
- 2 sources
Part 1
The file in one minute
01·A horse that read people
Hans tapped out answers by watching tiny, unconscious movements of the person asking, not by doing sums.
02·The test that exposed it
When nobody in the room knew the answer, Hans was nearly always wrong. In blinkers he scored 89% if he could see the questioner and 6% if not.
03·Nobody was cheating
Even his owner, Wilhelm von Osten, did not know he was giving Hans the cue to stop.
04·What it means for AI
A model can score well by learning a shortcut, like a copyright tag on horse photos, so test it with the shortcut taken away.
Part 2
Timeline
Early 1900s
Wilhelm von Osten shows off Hans in Berlin, tapping out answers to maths questions.
September 1904
A panel led by Carl Stumpf watches Hans and finds no deliberate trickery.
1907
Oskar Pfungst publishes controlled tests showing Hans reads unconscious cues from the questioner.
1911
Pfungst's study appears in English, translated by Carl L. Rahn.
2019
Lapuschkin and colleagues find an image classifier that recognised horses partly by a copyright tag.
Part 3
The experiment
In the early 1900s, a retired mathematics teacher in Berlin, Wilhelm von Osten, showed off his horse, Hans. Asked to add numbers, count the people in the room or name a playing card, Hans tapped out the answer with his right front hoof. Crowds and newspapers were amazed.
In September 1904 a panel of experts, led by the psychologist Carl Stumpf, watched Hans and found no sign of deliberate trickery. Stumpf's colleague Oskar Pfungst then ran controlled tests. The key one was simple: sometimes the person asking knew the answer, and sometimes nobody in the room did.
The results were stark. When the questioner knew the answer, Hans was right almost every time. When nobody knew, he was nearly always wrong. With large blinkers on, Hans got 89% right in tests where he could still see the questioner, and only 6% when he could not.
Pfungst found the cue. As Hans started tapping, the questioner leaned forward slightly. When the right number was reached, the person relaxed or gave a tiny upward jerk of the head, and Hans stopped. Nobody was cheating. Even von Osten did not know he was doing it. Pfungst published his findings in 1907.
Part 4
What it showed
Hans was not stupid. He had learned a real skill: reading people. But it was not the skill everyone thought he had. Whenever the easy signal was removed, the apparent ability vanished.
AI models do the same thing, and researchers now call it the Clever Hans effect. A model learns whatever pattern best predicts the right answer in its training data, even if that pattern is a shortcut. In a 2019 study, Sebastian Lapuschkin and colleagues found an image classifier that recognised horses partly by a copyright tag that appeared on many horse photos in its dataset. When they pasted that tag onto a picture of a car, the model's answer switched to horse.
A high score on a test does not tell you how the model got there. If the test data shares the same shortcut as the training data, the shortcut looks like intelligence until the model meets the real world.
The idea behind this file
L002How machines learn
Part 5
What it means when you use AI
- Test an AI tool on fresh cases that look different from the examples it was built or tuned on, not only on similar ones.
- Run a blind check: give it questions where you know the answer but nothing on the surface gives that answer away.
- Ask what else differs between the groups you want it to tell apart, such as lighting, file names, dates or who took the photo, and remove those clues.
- Where the tool can show what it looked at, check that it focused on the thing that matters, not on a corner or a watermark.
- Be suspicious of results that look too good, and check them again before you rely on them.
Part 6
Would you have caught it?
Part 7
Sources
Every fact on this page comes from these. Dates are when each was published.
- 01Clever Hans (The Horse of Mr. Von Osten) · Project Gutenberg (Oskar Pfungst, translated by Carl L. Rahn, 1911) · 1911
- 02Unmasking Clever Hans predictors and assessing what machines really learn · Nature Communications · 2019-03-11
Famous experiments
More from this shelf 6
Experiment #002
The simple program people poured their hearts out to
MIT, Cambridge, Massachusetts, United States · 1966
Experiment #003
One word that changed what people remembered
University of Washington, Seattle, United States · 1974
Experiment #004
The robot people followed through the smoke
Georgia Tech, Atlanta, United States · 2016
Experiment #005
The four-card puzzle most people get wrong
London, United Kingdom · 1966
Experiment #006
The experts who were confident, and mostly wrong
United States · 2005
Experiment #007
The shocks people gave because a man in a grey coat asked
Yale University, New Haven, United States · 1961