the.ai

Sequence / Architecture

verified

State Space Model

Instead of attending over everything you have seen, carry a fixed-size state forward and update it at each step. That is a recurrent network's idea, and it failed at long sequences for decades because the state either forgot or exploded. Structured state space models fixed the parametrisation rather than the idea, and reach thousands of steps where attention runs out of memory.

Viz primitive · budget-splitstate-size = 16

state-size holds 50% of the budget; rest holds the remaining 50%.

State the model carries forward against the step it is reading now, in equal units. Drag the state size up to watch memory outweigh the present — and note that unlike a cache, none of this grows with how long the sequence has run.

16

Reviewed by opendroid · 2026-08-18

  • arXiv:2111.00396 — Efficiently Modeling Long Sequences with Structured State Spaces
  • arXiv:2008.07669 — HiPPO: Recurrent Memory with Optimal Polynomial Projections