arXiv Machine Learning By Yuval Koren, Assaf Ben-Kish, Raja Giryes, Lior Wolf, Itamar Zimerman

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

Read the original on arXiv Machine Learning →

The paper investigates Associative Recall (AR) in the Mamba architecture, showing that Mamba implicitly learns linear hash functions to perform recall. It identifies the low‑level circuit responsible for this behavior and develops a theoretical framework—Recall Scaling Laws—based on similarity‑preserving hashing principles. The framework predicts embedding and state dimensions for perfect recall, recall success probability, and analyzes multi‑layer and multi‑head SSM patterns, with empirical results confirming its accuracy.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv Machine Learning.

arXiv AI
Aug 7

The Impossibility Triangle of Long-Context Modeling

arXiv:2605. 05066v2 Announce Type: replace-cross Abstract: We identify and prove a fundamental trade-off governing long-sequence models: no model can simultaneously achieve (i) per-step computation independent of sequence length (Efficiency), (ii) state size independent of sequence length (Compactness), and (iii) the ability to recall a number of historical facts proportional to sequence length (Recall).

By Yan Zhou
arXiv Machine Learning
Sep 23

Latest Exact Match Attention

arXiv:2609.25802v1 Announce Type: new Abstract: We introduce latest exact match attention (LEMA), an attention variant for transformers where queries and keys are binarized and each query attends onl...

By Moritz Br\"osamle
arXiv AI
Oct 9

Memory Type Varies: Empowering LLM Agents for Long-Term Memory with Diverse Strategies

The paper introduces TriMEM, a multi‑class memory dataset that annotates memory types across varied scenarios, and MemoType, a framework that uses a learned router to adaptively match memories and queries to appropriate retrieval strategies. MemoType’s tailored approach improves retrieval precision, and the authors theoretically show that a single strategy has a fundamental upper bound on expected precision in multi‑class corpora. Experiments on three datasets demonstrate MemoType consistently outperforms existing methods, achieving up to a 16.18% improvement in Recall@1.

By Yi Wen, Derong Xu, Pengyue Jia, Yichao Wang, Yingyi Zhang, Maolin Wang, Junyi Li, Wenlin Zhang, Xiaopeng Li, Yong Liu, Xiangyu Zhao