Forget gate in long short-term memory
ID: forget-gate-in-long-short-term-memory
The forget gate in long short-term memory controls retention of the previous memory state in a long short-term memory recurrent neural network. In a simplified modern update,Each component of multiplies the corresponding old memory component. Values near one retain it strongly; values near zero suppress it. The input gate in long short-term memory controls the separate new-write term.[ref]
LSTM: A Search Space Odyssey by Klaus Greff and others. Section II and Figure 1; simplified form here omits peepholes.
If a scalar gate stays at and the new-write term is zero, then after steps . The half-retention time isThis gives an interpretable timescale for a learned multiplicative gate. An exact no-write term is an illustrative condition; finite logistic sigmoid function outputs are strictly between zero and one, though the candidate can itself be zero.
The forget gate was added after the 1997 architecture. Felix A. Gers, Jürgen Schmidhuber and Fred Cummins introduced adaptive forgetting to handle continuing streams where a memory needs to be reset rather than preserved indefinitely. The direct memory-path derivative contains products of forget gates; the full recurrent derivative also includes dependencies through other states and gates.[ref]
Learning to Forget: Continual Prediction with LSTM by Felix A. Gers, Jürgen Schmidhuber and Fred Cummins. Abstract and adaptive forget-gate motivation for continual prediction.
New to topics? Read the docs here!