Loading slide

The Problem with Sequences

  1. 01The Problem with Sequences
  2. 02Memory card
  3. 03Reading through a keyhole
  4. 04The running summary
  5. 05The bottleneck
  6. 06Take a breath
  7. 07The distance problem
  8. 08Memory card
  9. 09The same problem, wearing a new coat
  10. 10What a solution would have to do
  11. 11Reinforce your understanding
  12. 12Question: The hidden state
  13. 13Question: Long-range dependencies
  14. 14Question: The same problem twice
  15. 15Quiz: answer
  16. 16What to carry out of this chapter
  17. 17Want to go deeper?
6 / 16
BackNext

Take a breath

Let's pause and make sure the one idea so far is solid, because the rest of the chapter leans on it.

Forget the names. RNN, hidden state, LSTM, you do not need to carry any of them. Here is the whole thing in plain language.

The old way of reading language was to go word by word, left to right, keeping a single short summary of the story so far. Read a word, update the summary, move on. The catch was that the summary could never grow. So in a long passage, the early parts got crowded out and forgotten, like a notepad with room for only one line that keeps getting written over.

That is the picture to hold. A reader with a good memory for the last few words and a fading grip on everything before that.

Now, there is a second, sharper version of this problem, and it is the one that really mattered. It is not just that early words fade. It is that two words far apart in a sentence have a hard time reaching each other at all. That is where we go next.

Citations