MARCH: Scaling Recurrent Memory with Content-Routed State Anchors
Ming Zhang, Kaisen Yang, Shu Yu, Ermo Hua, Ning Ding, Xia Hu, Bowen Zhou, Chaochao Lu,
Key points
From the paper's conclusion- These results demonstrate that content-routed state caching substantially strengthens recurrent long-range memory while preserving its native computation path.
Abstract
Transformers owe much of their strong long-context retrieval capability to a token-level memory that grows with context length. This flexibility, however, incurs a quadratic computation complexity during training and a key--value cache that grows linearly during autoregressive inference. Recurrent alternatives offer efficient decoding by compressing the entire history into a fixed-size state, but often underperform on recall-intensive tasks since earlier associations usually get overwritten by subsequent updates, and only the most recent contextual information is retained. In this paper, we introduce Memory-Anchor Routing across Context History (MARCH), a network architecture that effectively scales state-space models beyond a fixed-size dimension, while maintaining computational efficiency over long-sequences. MARCH periodically caches cumulative recurrent-state checkpoints as state anchors and associates each anchor with a compact, content-conditioned anchor key. This lets MARCH maintain a memory bank, which can grow as context length increases, providing a controllable trade-off between historical resolution and memory cost. At each token, MARCH produces an anchor query to attend all causally available state anchors, and the output is calculated as an attention-style aggregation over all historical anchors along the current state. We show that after standard pretraining, MARCH consistently outperforms multiple linear attention variants across commonsense reasoning, LongBench, and in-context retrieval. These results demonstrate that content-routed state caching substantially strengthens recurrent long-range memory while preserving its native computation path.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Anchor: Augmented Cross-Layer Recurrent State for Long-Context Retrieval in Test-Time TrainingarXiv · 2026
- State Space Attention: Learning Context-Dependent Memory RetentionarXiv · 2026
- A complementary learning system for continual episodic memory in large language modelsbioRxiv · 2026
- The Evolution of Attention in Large Language Models: Mechanisms, Trade-offs, and Emerging TrendsarXiv · 2026
- Integral DeltaNet: Improved Linear Attention with Adaptive Memory IntegrationarXiv · 2026
- Bilateral Log-Linear AttentionarXiv · 2026