Mamba / selective SSM

State-space & hybrids · neural · 2023 · text · time series · signals

What it is

Makes the SSM parameters input-dependent (selective), so the model can choose what to remember or forget per token.

When to use it

Long-context language, genomics, audio and streaming — linear scaling where attention's quadratic cost bites.

Caveats

History is compressed into a fixed-size state, so tasks that need exact recall or copying from far back are harder than with attention. Fast training depends on custom GPU kernels, and results on vision and other non-sequence data are mixed.

Key ideas

  • Selection (input-dependent dynamics) is the key change from S4
  • No attention heads and no MLP blocks in the pure form
  • Hardware-aware parallel scan is what made it fast

Related architectures

Original paper

Mamba: Linear-Time Sequence Modeling with Selective State Spaces (2023, 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