# The vanishing gradient problem

Date: June 1991 · Era: W2 · The second winter · Category: theory · Significance: 3/5
People: Sepp Hochreiter, Jürgen Schmidhuber
Organisations: Technische Universität München

Canonical: https://shapeofintelligence.com/timeline/1991-vanishing-gradient/ · Dataset and text CC BY 4.0

> Sepp Hochreiter's diploma thesis shows why deep and recurrent networks fail to learn: error signals shrink exponentially as they travel back through layers.

## What had to happen

9 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/) *direct*
- [1990 · Finding structure in time](https://shapeofintelligence.com/md/timeline/1990-elman-network/) *direct*

Backpropagation worked for networks with one or two hidden layers and stalled for deeper ones, and for recurrent networks it could not learn dependencies more than a few steps apart. Nobody knew exactly why until Sepp Hochreiter's 1991 diploma thesis, written under Jürgen Schmidhuber in Munich. The gradient that reaches an early layer is a product of the derivatives of every layer after it, and with sigmoid units those derivatives are less than one. Multiplied together across many layers or time steps, the signal shrinks towards zero; with other weight settings it explodes. Either way the early layers receive nothing useful to learn from.

The thesis was in German and read by few, but the analysis explained a decade of failures and set the agenda for fixing them. Hochreiter and Schmidhuber's LSTM of 1997 built a memory cell whose gradient could pass through unchanged. Rectified linear units, careful initialisation, batch normalisation and residual connections, all of them the standard equipment of the deep-learning era, are answers to the problem stated here.

The thesis is also why "deep" was not a compliment for another fifteen years: until the fixes arrived, depth was the thing that stopped networks learning.

## What it led to

75 events downstream, through 2026.

Built on it directly:

- [1997 · Long short-term memory](https://shapeofintelligence.com/md/timeline/1997-lstm/)
- [2010 · Rectified linear units](https://shapeofintelligence.com/md/timeline/2010-relu/)
- [2015 · Batch normalisation](https://shapeofintelligence.com/md/timeline/2015-batchnorm/)

And, through them, by era:

- IV · Deep learning: 12 events
- V · Transformers: 17 events
- VI · Everyone: 29 events
- VII · Agents: 14 events

## Sources

- [Untersuchungen zu dynamischen neuronalen Netzen (Hochreiter, diploma thesis, TU München, 1991)](https://people.idsia.ch/~juergen/SeppHochreiter1991ThesisAdvisorSchmidhuber.pdf) — paper

---

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

Before: [1990 · Boosting: weak learners made strong](https://shapeofintelligence.com/md/timeline/1990-boosting/) · After: [1991 · The first Loebner Prize](https://shapeofintelligence.com/md/timeline/1991-loebner-prize/)
