xLSTM

Recurrent & sequence · neural · 2024 · text · time series

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)

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