Reproduce “Attamba: Attending To Multi-Token States” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

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

About this paper

Yash Akhauri, Safeen Huda, Mohamed S. Abdelfattah

This paper introduces a novel architecture called Attamba that uses state-space models to compress token sequences for more efficient transformer attention

Key insights

  • SSMs can effectively compress multiple tokens into meaningful single-token states
  • Model is robust to random chunk boundaries, enabling flexible computation-quality tradeoffs
  • Cyclic chunking across layers helps mitigate position bias from fixed chunk boundaries
  • Preserving full attention on recent tokens improves model quality

Summary by alphaXiv.

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