xLSTM
What it is
LSTM modernized with exponential gating, a matrix memory and parallelizable training (sLSTM and mLSTM blocks).
When to use it
Efficient sequence modelling at scale; a credible recurrent alternative to transformers for long context.
Caveats
It is recent, with far less independent large-scale validation than transformers. The matrix-memory variant (mLSTM) is computationally heavy, and software and hardware support is less mature.
Key ideas
- Exponential gating in place of the sigmoid gates
- sLSTM: scalar memory with a new memory-mixing scheme
- mLSTM: a matrix memory with a covariance update rule, and parallelisable
- Stacked in residual blocks to scale like a transformer
Related architectures
Original paper
xLSTM: Extended Long Short-Term Memory (2024, arXiv)