Long Short-Term Memory
Hochreiter & Schmidhuber, 1997, Long Short-Term Memory (Neural Computation)
Subscriber deck — free during early access
2 cards in “4.5 Learning” · whole deck
4.5 Learning
- How was LSTM trained in the original paper?With a variant of RTRL using truncated gradients: errors arriving at a memory cell’s net inputs (cell, input gate, output gate) are not propagated further back in time, but they still change incoming weights; only inside the cell does error flow back through previous internal states.
- Hochreiter & Schmidhuber, 1997, Long Short-Term Memory (Neural Computation), §4.5
- Trace an error signal through an LSTM memory cell under truncated backprop.It enters at the cell output, is scaled by the output gate activation and \(h'\), then flows back through the CEC indefinitely without being scaled; leaving through the input gate and \(g\), it is scaled once more by the input gate activation and \(g'\), updates the incoming weights, and is truncated.
- Hochreiter & Schmidhuber, 1997, Long Short-Term Memory (Neural Computation), §4.5
Source
- Sepp Hochreiter and Jürgen Schmidhuber. 1997. Long Short-Term Memory. In Neural Computation, pp. 1735–1780. doi:10.1162/neco.1997.9.8.1735