LSTM
What it is
Gated cell state with input, forget and output gates that let information persist across many steps.
When to use it
Long-range sequence modelling, especially when data is limited or the sequence must be processed online.
Caveats
Sequential processing prevents parallel training across time steps, and everything must pass through a fixed-size state, which limits very long-range memory. It has largely been replaced by transformers for large-scale language tasks.
Key ideas
- The cell state is a protected memory highway; gates decide what enters and leaves
- Peepholes and layer norm variants matter less than initialization and clipping
Related architectures
Original paper
Long Short-Term Memory (1997, DOI)