LSTM

Recurrent & sequence · neural · 1997 · text · time series · speech

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)

Browse all 198 architectures

The architecture landscape, in one place.

Two things get called “ML architecture”: the classical statistical model families, and the neural network wirings. Both are here, tagged by what they are and what data they eat.

Start from your problem

Architectures

0 shortlisted