Mamba-2 / SSD

State-space & hybrids · neural · 2024 · text

What it is

Restricts the state transition to a scalar-times-identity, exposing the recurrence as a matrix multiply (the SSD layer).

When to use it

Training Mamba-style models at Transformer-like hardware efficiency; the current default SSM block.

Caveats

To enable the faster algorithm it restricts the state matrix to a scalar times the identity, which reduces per-layer expressiveness compared with Mamba-1. The fixed-size state limitation remains.

Key ideas

  • State space duality (SSD): shows a selective SSM is equivalent to a structured form of attention
  • The new formulation uses matrix multiplications, so it trains faster than Mamba
  • Adds a multi-head structure and allows larger state sizes

Related architectures

Original paper

Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality (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