History Replays Itself: Unleashing Long-Context Capability in Linear Attention
Not on the map. Why?
Abstract (arXiv)
Linear attention promises the efficiency needed for long-context language modelling, yet its fixed-size recurrent state must simultaneously support ongoing computation and preserve information from an ever-growing history. This coupling has reinforced a prevailing view that the state's memory capacity defines the model's long-context capability. We challenge this presumed ceiling: recurrent computation need not bear the full burden of long-term storage. We introduce NoteBank, a sparse episodic memory that archives selected text before future queries are known, uses the backbone's native features for writing and addressing, and reads retrieved evidence through its native forward computation via replay. This training-free, plug-and-play interface requires no external embedding model, separately trained retriever, or separate neural reader. At one million tokens, it raises Gated DeltaNet's mean accuracy across six RULER retrieval tasks from 1.7% to 70.3%, with no observed significant retrieval degradation from 4K to 1M tokens. This recovery adds leqslant0.025% to analytical FLOPs, with persistent context storage approximately 1/2,600 that of a Transformer's full MHA KV cache at matched width, depth, and precision. Experiments extend from three 1.3B recurrent backbones to Mamba-2-8B and post-trained Qwen3.5-9B, demonstrating gains on LongBench v1/v2 and MemoryAgentBench. Together, these results show that sparse evidence storage and native replay can substantially expand the long-context capability of pretrained linear attention models while retaining the efficiency of recurrent computation.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 46 of its 53 references that are in the map. First posted on arXiv 11 Oct 2026.
Builds on
46 of 53 references.
References · 46
- 2017Attention Is All You Needcited by 60,361
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
- 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,057
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,336
- 2020ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERTcited by 1,178
- 2023RWKV: Reinventing RNNs for the Transformer Eracited by 827
- 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 717
- 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 613
34 more
- 2026GLM-5: from Vibe Coding to Agentic Engineeringcited by 587
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 532
- 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 514
- 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 502
- 2024Jamba: A Hybrid Transformer-Mamba Language Modelcited by 401
- 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 396
- 2024LongBench v2: Towards Deeper Understanding and Reasoning on Realistic Long-context Multitaskscited by 379
- 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden Statescited by 355
- 2024xLSTM: Extended Long Short-Term Memorycited by 327
- 2025Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactionscited by 254
- 2024Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Modelscited by 242
- 2024Generative Representational Instruction Tuningcited by 233
- 2024Repeat After Me: Transformers are Better than State Space Models at Copyingcited by 216
- 2024Simple linear attention language models balance the recall-throughput tradeoffcited by 208
- 2023Zoology: Measuring and Improving Recall in Efficient Language Modelscited by 204
- 2024InfLLM: Training-Free Long-Context Extrapolation for LLMs with an Efficient Context Memorycited by 197
- 2025MiniMax-01: Scaling Foundation Models with Lightning Attentioncited by 166
- 2024A Human-Inspired Reading Agent with Gist Memory of Very Long Contextscited by 146
- 2025RWKV-7 "Goose" with Expressive Dynamic State Evolutioncited by 141
- 2024HGRN2: Gated Linear RNNs with State Expansioncited by 127
- 2025Nemotron-H: A Family of Accurate and Efficient Hybrid Mamba-Transformer Modelscited by 100
- 2025DeltaProduct: Improving State-Tracking in Linear RNNs via Householder Productscited by 75
- 2025Test-time regression: a unifying framework for designing sequence models with associative memorycited by 74
- 2024Just read twice: closing the recall gap for recurrent language modelscited by 60
- 2025MesaNet: Sequence Modeling by Locally Optimal Test-Time Trainingcited by 47
- 2026Gated DeltaNet-2: Decoupling Erase and Write in Linear Attentioncited by 33
- 2025Understanding and Improving Length Generalization in Recurrent Modelscited by 23
- 2024Understanding and Mitigating Bottlenecks of State Space Models through the Lens of Recency and Over-smoothingcited by 18
- 2025Mamba Modulation: On the Length Generalization of Mambacited by 16
- 2025Comba: Improving Bilinear RNNs with Closed-loop Controlcited by 15
- 2026Memory Caching: RNNs with Growing Memorycited by 15
- 2026A Hippocampus for Linear Attention: An Exact Memory for What the Recurrent State Forgetscited by 6
- 2026ReContext: Recursive Evidence Replay as LLM Harness for Long-Context Reasoningcited by 4
- 2026MARCH: Scaling Recurrent Memory with Content-Routed State Anchorscited by 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026SchemaMem: Schema-Indexed Recurrent Memory for Delayed State Retrieval
- 2026Memory Depth, Not Memory Access: Selective Parametric Consolidation for Long-Running Language Agents
- 2025Every Token Counts: Generalizing 16M Ultra-Long Context in Large Language Models
- 2026Memory Control Signals Emerge Before Action in Long Horizon Agents
- 2026The Impossibility Triangle of Long-Context Modeling
- 2026Temporal Context Reinstatement Drives Episodic-Like Order Memory in Long-Context Language Models
- 2024Human-inspired Episodic Memory for Infinite Context LLMs
- 2026MGRetrieval: Memory-Guided Reflective Retrieval for Long-Term Dialogue Agents