Papers that built AI · 4 min read · 2 sources

Learning by passing the blame back

A four-page paper in Nature showed how a network with hidden layers could learn from its own mistakes, the method still used to train chatbots.

The file

Who
David Rumelhart, Geoffrey Hinton and Ronald Williams
Where
San Diego and Pittsburgh, United States
When
1986
Shelf
Papers that built AI
Read time
4 min read
Sources
2 sources

Part 1

The file in one minute

  1. 01·The blame problem

    Networks with hidden layers could do more than the perceptron, but nobody knew which inner connection to blame for a wrong answer.

  2. 02·Pass the error back

    Backpropagation measures the error, passes it back layer by layer, and nudges each connection in the direction that would have helped.

  3. 03·Slow to take over

    The computers and data of the 1980s were too small, and it took more than twenty years for the method to show its power.

  4. 04·What it means for AI

    A chatbot learned during training, so correcting it in a chat changes that conversation, not the model itself.

Part 2

Timeline

  1. 1969

    A critique of the perceptron shows how limited one-layer networks are.

  2. 9 October 1986

    Nature publishes Rumelhart, Hinton and Williams's paper Learning representations by back-propagating errors.

  3. 2012

    Hinton and two Toronto students show deep networks trained with backpropagation can beat the best image-recognition systems.

Part 3

The paper

The perceptron could only learn with one layer of connections, and the 1969 critique had shown how limited that was. Networks with extra layers in the middle could in theory do much more, but nobody had a practical way to train them. If the network gave a wrong answer, which of its many inner connections was to blame?

In October 1986 the journal Nature published a short paper by David Rumelhart and Ronald Williams of the University of California, San Diego, and Geoffrey Hinton of Carnegie Mellon University. It was called "Learning representations by back-propagating errors".

The method works like this. The network makes a guess. You measure how far the guess was from the right answer. Then you pass that error backwards through the network, layer by layer, working out how much each connection contributed to it, and nudge every connection a little in the direction that would have made the answer better. Repeat this over many examples.

The paper showed that the hidden middle layers then learned useful features of the task on their own, without anyone telling them what to look for. Others had described similar maths before, but this paper made the case clearly and set off a wave of research.

Part 4

Why it mattered

Backpropagation, often shortened to backprop, is still how large neural networks learn, including the ones behind chatbots. At first it did not take over. The computers and data of the 1980s were too small, and it took more than twenty years before the method could show what it was capable of.

For a chatbot user, this is what "training" means. A chatbot was not given a rulebook. It made billions of guesses about text, was corrected each time, and its connections were adjusted bit by bit. That explains two everyday facts. It is good at whatever showed up often in its training. And it does not learn from your conversation in the moment: correcting it changes this chat, not the model, unless the company later uses that data to train a new version.

The idea behind this file

L002How machines learn

Watch the lesson

Part 5

What to take from it

  1. Think of a chatbot's skills as habits built up from its training data, not as rules someone wrote.
  2. Expect it to be strongest on common tasks and weakest on rare, local or very recent ones.
  3. Do not assume that correcting a chatbot once has fixed it for good. Check whether your settings or the provider save or use your chats.
  4. When it gets something wrong, give it the right information in the chat. That shapes this answer, even though it does not retrain the model.

Part 6

Would you have caught it?

Last week you corrected a chatbot about your company's office address. Today, in a new chat, it gives the old address again. What best explains this?

Last week you corrected a chatbot about your company's office address. Today, in a new chat, it gives the old address again. What best explains this?

Part 7

Sources

Every fact on this page comes from these. Dates are when each was published.

  1. 01Learning representations by back-propagating errors · Nature · 1986-10-09
  2. 02Is AI Riding a One-Trick Pony? · MIT Technology Review · 2017-09-29

Papers that built AI

More from this shelf 5