Original LSTM (1997, no forget gate)
Hochreiter and Schmidhuber's 1997 LSTM cell, with constant error carousels and multiplicative gates.
Historical · 45 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Historical
- Parameters
- 150
- Operations
- 45
- Framework
- PyTorch
- Recurrent
- Yes
- Published
- 1997, Neural Computation
- Paper
- Long Short-Term Memory
- Cited by
- 102,840 (as of 4 October 2026)
- Authors
- Sepp Hochreiter, Jürgen Schmidhuber
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m2061
- Graph hash
- 220fd7d4fcce2cbea673a696b962fcd618712d8bfd3a2cd912cd8261ffc13a3f
- Skeleton hash
- d904764814f8e9f3e034efa7b097578c586c023c7110a13bd48ab1114564388a
- Architecture hash
- e20a9950205853643d85c48f7e3938a938a2ea2585c694de8e12cdfc8344f96d
- Diagram SHA-256
- b86eec2d87d21d0463d558979938f99c7ed69a2b848cbc81609bb70a080218fe
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
How this diagram was made
menagerie.classics.orig_lstm_1997:build: build({}) What it is
This is the long short-term memory network as Hochreiter and Schmidhuber introduced it in 1997: a gradient-based recurrent method built to store information over extended time intervals. The problem it solves is that learning to store information over long intervals by recurrent backpropagation takes a very long time, mostly because of insufficient, decaying error backflow.
LSTM enforces constant error flow through constant error carousels within special units, and can learn to bridge minimal time lags in excess of 1000 discrete-time steps. Multiplicative gate units learn to open and close access to that constant error flow. The paper describes LSTM as local in space and time.
In comparisons with real-time recurrent learning, back propagation through time, recurrent cascade correlation, Elman nets, and neural sequence chunking, LSTM leads to many more successful runs and learns much faster. The experiments use artificial data with local, distributed, real-valued, and noisy pattern representations. It also solves complex, artificial long-time-lag tasks that had never been solved by previous recurrent network algorithms. The paper appeared in Neural Computation in November 1997.
Key idea. Constant error carousels guarded by multiplicative gates keep error flowing unchanged across long time lags, so a recurrent network can learn dependencies spanning more than 1000 steps.
- lstm
- long short-term memory
- original lstm
- 1997 lstm
- lstm without forget gate
- no forget gate
- hochreiter schmidhuber
- recurrent network
- constant error carousel
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@article{originallstm1997noforgetgate1997,
title = {Long Short-Term Memory},
author = {Sepp Hochreiter and Jürgen Schmidhuber},
year = {1997},
journal = {Neural Computation},
doi = {10.1162/neco.1997.9.8.1735}
}