State-space models

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

What it is

Linear time-invariant recurrences with structured state matrices — RNN-like linear-time inference, trainable in parallel as a convolution.

When to use it

Long sequences, streaming inference, and any setting where the KV cache of attention is the bottleneck.

Caveats

Compressing all history into a fixed-size state limits exact recall of distant tokens. The ecosystem and tooling are less mature than for transformers.

Key ideas

  • Best of both: recurrent cost at inference, convolutional parallelism at training
  • HiPPO-style initialization is what made them actually learn long dependencies

Related architectures

Original paper

Efficiently Modeling Long Sequences with Structured State Spaces (2021, 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