# Long short-term memory

Date: 15 November 1997 · Era: III · Statistics and data · Category: theory · Significance: 5/5
People: Sepp Hochreiter, Jürgen Schmidhuber
Organisations: Technische Universität München, IDSIA

Canonical: https://shapeofintelligence.com/timeline/1997-lstm/ · Dataset and text CC BY 4.0

> Hochreiter and Schmidhuber's memory cell with gates lets recurrent networks learn across a thousand steps; it becomes the engine of speech, translation and text until 2017.

## What had to happen

10 events back to 1943, oldest first. Direct influences are marked *direct*.

- [1943 · A logical calculus of nervous activity](https://shapeofintelligence.com/md/timeline/1943-mcculloch-pitts-neuron/)
- [1949 · Cells that fire together wire together](https://shapeofintelligence.com/md/timeline/1949-hebb-organization-of-behavior/)
- [1958 · The perceptron learns](https://shapeofintelligence.com/md/timeline/1958-perceptron/)
- [1960 · ADALINE and the least-mean-squares rule](https://shapeofintelligence.com/md/timeline/1960-adaline-lms/)
- [1969 · Perceptrons](https://shapeofintelligence.com/md/timeline/1969-perceptrons-book/)
- [1970 · Reverse-mode automatic differentiation](https://shapeofintelligence.com/md/timeline/1970-linnainmaa-backprop/)
- [1974 · Werbos applies backpropagation to neural networks](https://shapeofintelligence.com/md/timeline/1974-werbos-backprop/)
- [1986 · Backpropagation](https://shapeofintelligence.com/md/timeline/1986-backpropagation/)
- [1990 · Finding structure in time](https://shapeofintelligence.com/md/timeline/1990-elman-network/) *direct*
- [1991 · The vanishing gradient problem](https://shapeofintelligence.com/md/timeline/1991-vanishing-gradient/) *direct*

Hochreiter's 1991 thesis had shown why recurrent networks forgot: the gradient vanished as it travelled back through time. The Long Short-Term Memory, published with Jürgen Schmidhuber in Neural Computation on 15 November 1997, is the fix. Each cell holds a value that passes from step to step unchanged unless a learned gate decides to write to it or erase it, so the error signal can flow back through hundreds of steps without shrinking. The network learns not just what to compute but what to remember.

It took a decade to matter, because it was slow to train and the problems it solved, long sequences, were not yet the problems people had data for. Then, from about 2009, Alex Graves and others showed LSTMs beating everything on handwriting and speech, and by 2015 it was inside Google's speech recogniser, Apple's Siri, Amazon's Alexa and, the following year, Google Translate. Sequence-to-sequence learning and the first attention mechanisms were built on it.

The transformer of 2017 replaced the LSTM in language by removing recurrence altogether, which made training parallel. But for the years in which "neural network" came to mean something that could handle text and sound, the LSTM was the network. It is the most cited neural-network paper of the twentieth century.

## What it led to

59 events downstream, through 2026.

Built on it directly:

- [2014 · Attention](https://shapeofintelligence.com/md/timeline/2014-bahdanau-attention/)
- [2014 · Sequence to sequence learning](https://shapeofintelligence.com/md/timeline/2014-seq2seq/)
- [2016 · Google Translate goes neural](https://shapeofintelligence.com/md/timeline/2016-google-neural-translation/)

And, through them, by era:

- V · Transformers: 13 events
- VI · Everyone: 29 events
- VII · Agents: 14 events

## Sources

- [Long Short-Term Memory (Neural Computation, 1997)](https://doi.org/10.1162/neco.1997.9.8.1735) — paper
- [Long Short-Term Memory (MIT Press Direct)](https://direct.mit.edu/neco/article/9/8/1735/6109/Long-Short-Term-Memory) — paper

---

The Shape of Intelligence by Jamie McKaye (https://jamiemckaye.com) · Markdown mirror of https://shapeofintelligence.com/timeline/1997-lstm/

Before: [1997 · Deep Blue beats Kasparov](https://shapeofintelligence.com/md/timeline/1997-deep-blue/) · After: [1998 · PageRank and the anatomy of Google](https://shapeofintelligence.com/md/timeline/1998-pagerank/)
