Reproduce “State Space Attention: Learning Context-Dependent Memory Retention” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Ege Çakar, Cengiz Pehlevan

State Space Attention (SSA) gives Transformers a bounded memory by retaining selected past chunks and reading them with standard attention. Its learned scorer repeatedly compares new and stored chunks, allowing later context to change retention. On 8K MKVT, a 400M SSA with a 576-token budget scores 96.57% versus 8.13% for an equal-budget Transformer; full attention remains stronger on RULER.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.