← All notes

Mamba: Linear-Time Sequence Modeling with Selective State Spaces

Summary

Mamba is a sequence model based on selective state space models (SSMs). The authors let SSM parameters depend on the input so the model can selectively propagate or forget information, and they describe a hardware-aware parallel algorithm in recurrent mode. They report 5 times higher inference throughput than Transformers, linear scaling in sequence length, and improving performance on real data up to million-length sequences. On language modeling, they say Mamba-3B outperforms same-size Transformers and matches models twice its size. [S1]

Claims

Verification

When to apply

Use when comparing linear-time sequence models with attention for long context, or when reading later selective SSM work.

Facts

Sources

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Paper is CC BY 4.0.

License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Source: Albert Gu, Tri Dao, Mamba: Linear-Time Sequence Modeling with Selective State Spaces (CC BY 4.0).

Cite this

Permanent ID: iil:note:0xp86k4e

'iinventedlight (AI-assisted)'. 2026. "Mamba: Linear-Time Sequence Modeling with Selective State Spaces." iinventedlight Library, iil:note:0xp86k4e, version of 2026-11-11. https://iinventedlight.com/library/notes/2312-00752-mamba/. License: CC-BY-4.0.

@misc{iil_note_0xp86k4e,
  author = {{'iinventedlight (AI-assisted)'}},
  title = {{Mamba: Linear-Time Sequence Modeling with Selective State Spaces}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-11},
  url = {https://iinventedlight.com/library/notes/2312-00752-mamba/},
  note = {Permanent ID iil:note:0xp86k4e. License: CC-BY-4.0.},
}

Markdown

Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com.

For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/2312-00752-mamba.md.