Metraipolis › archive › dc_99248be139b4

On the Recall Scaling Laws in Mamba: A Theoretical and Mechanistic Study via Hashing — arXiv:2609.07681

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.07681
License (as archived)
CC0-1.0
Archived
2026-10-16T12:57:27.580Z
SHA-256 of the archived text
b4af2ebadd6d3f03cda36864e08c5dbe7d8bc778240686b053ff1294f5985025
Stable URL of this page
https://metraipolis.com/documento/dc_99248be139b4

How to cite

On the Recall Scaling Laws in Mamba: A Theoretical and Mechanistic Study via Hashing — arXiv:2609.07681 — arXiv (en), https://arxiv.org/abs/2609.07681 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_99248be139b4 (Metraipolis archive dc_99248be139b4, sha256 b4af2ebadd6d3f03cda36864e08c5dbe7d8bc778240686b053ff1294f5985025)
BibTeX
@misc{dc99248be139b4,
  title = {On the Recall Scaling Laws in Mamba: A Theoretical and Mechanistic Study via Hashing — arXiv:2609.07681},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.07681},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_99248be139b4; sha256 b4af2ebadd6d3f03cda36864e08c5dbe7d8bc778240686b053ff1294f5985025},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.07681. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Associative Recall (AR) is the cognitive ability to learn and retrieve links between items in memory. In NLP, AR is used as a benchmark for evaluating the in-context memory capacity of architectures such as Mamba, and has been found to strongly correlate with language modeling performance. This paper explores AR from the perspective of mechanistic interpretability, aiming to reverse-engineer the exact internal algorithm used by Mamba to perform recall. Our key insight is that Mamba performs recall by implicitly learning linear hash functions, and we identify the low-level circuit that enables this behavior. Building on these findings and inspired by theoretical tools in similarity-preserving hashing, such as the Johnson-Lindenstrauss lemma, we develop a theoretical framework for analyzing AR, which we term Recall Scaling Laws. Given the vocabulary size and the number of facts in context, this framework allows us to (1) predict the embedding and state dimensions required for Mamba to achieve perfect recall, (2) predict recall success probability given the model dimensions, and (3) analyze multi-layer models and multi-head SSM patterns. Empirical results show that our theoretical findings are accurate and predictive, offering insights into how AR capacity scales with vocabulary, state, embedding size, and architecture.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-09 in cs.CL).
Categorie arXiv: Machine Learning (cs.LG) ; Computation and Language (cs.CL).
Pagina del lavoro: https://arxiv.org/abs/2609.07681 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-16T12:30:25.328Z dalla pagina https://arxiv.org/catchup/cs.CL/2026-09-09?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).