An LSTM memory cell is the state-carrying unit of a long short-term memory recurrent neural network. It maintains an internal memory whose update is controlled by gates, while an exposed state communicates selected information to the rest of the network. The memory and exposed output are different quantities.[ref]
Long Short-Term Memory by Sepp Hochreiter and Jürgen Schmidhuber. Memory-cell construction and gated access to persistent state.
In a simplified modern form, omitting peepholes,The LSTM forget gate regulates retention, the LSTM input gate regulates the candidate write , and the LSTM output gate regulates exposure. The componentwise product allows different memory coordinates to make different decisions.[ref]
LSTM: A Search Space Odyssey by Klaus Greff and others. Section II and Figure 1; the displayed simplified variant omits the baseline's peephole connections.
For a scalar example, , , and give . If , the output is only . A small output can coexist with substantial stored state; it does not demonstrate memory erasure.
The additive state path was designed to help learning across long delays. The original 1997 architecture had input/output gating; adaptive forgetting was introduced later for continuing streams. Preserving a direct gradient path addresses an important learning difficulty but does not guarantee unlimited or perfectly reliable memory for every task.[ref]
Long Short-Term Memory by Sepp Hochreiter and Jürgen Schmidhuber. Constant error flow and delayed-dependency experiments.
[ref]Learning to Forget: Continual Prediction with LSTM by Felix A. Gers, Jürgen Schmidhuber and Fred Cummins. Adaptive forget gate and continual prediction.
Articles by others on the same topic
There are currently no matching articles.