mlsanityData to 7 Oct 2026

MSA: Memory Sparse Attention for Efficient End-to-End Memory Model Scaling to 100M Tokens

arXiv 2603.23516 ↗First posted 6 Mar 2026cs.CL cs.AI cs.IRcited by 5

Not on the map. Why?

Abstract (arXiv)

Long-term memory is a cornerstone of human intelligence. Enabling AI to process lifetime-scale information remains a long-standing pursuit in the field. Due to the constraints of full-attention architectures, the effective context length of large language models (LLMs) is typically limited to 1M tokens. Existing approaches, such as hybrid linear attention, fixed-size memory states (e.g., RNNs), and external storage methods like RAG or agent systems, attempt to extend this limit. However, they often suffer from severe precision degradation and rapidly increasing latency as context length grows, an inability to dynamically modify memory content, or a lack of end-to-end optimization. These bottlenecks impede complex scenarios like large-corpus summarization, Digital Twins, and long-history agent reasoning, while limiting memory capacity and slowing inference. We present Memory Sparse Attention (MSA), an end-to-end trainable, efficient, and massively scalable memory model framework. Through core innovations including scalable sparse attention and document-wise RoPE, MSA achieves linear complexity in both training and inference while maintaining exceptional stability, exhibiting less than 9% degradation when scaling from 16K to 100M tokens. Furthermore, KV cache compression, combined with Memory Parallel, enables 100M-token inference on 2xA800 GPUs. We also propose Memory Interleaving to facilitate complex multi-hop reasoning across scattered memory segments. MSA significantly surpasses frontier LLMs, state-of-the-art RAG systems, and leading memory agents in long-context benchmarks. These results demonstrate that by decoupling memory capacity from reasoning, MSA provides a scalable foundation to endow general-purpose models with intrinsic, lifetime-scale memory.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 38 of its 42 references that are in the map. First posted on arXiv 6 Mar 2026.

Builds on

38 of 42 references.

References · 38

  1. 2024The Llama 3 Herd of Modelscited by 14,192
  2. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  3. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  4. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  5. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
  6. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  7. 2024GPT-4o System Cardcited by 4,467
  8. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
  9. 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,500
  10. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  11. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  12. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
26 more
  1. 2020Supervised Contrastive Learningcited by 2,803
  2. 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,591
  3. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
  4. 2023CAMEL: Communicative Agents for "Mind" Exploration of Large Language Model Societycited by 1,348
  5. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,270
  6. 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,259
  7. 2022When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memoriescited by 1,103
  8. 2021MuSiQue: Multihop Questions via Single-hop Question Compositioncited by 893
  9. 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 755
  10. 2017The NarrativeQA Reading Comprehension Challengecited by 590
  11. 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 471
  12. 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 373
  13. 2024∞Bench: Extending Long Context Evaluation Beyond 100K Tokenscited by 360
  14. 2024Titans: Learning to Memorize at Test Timecited by 303
  15. 2025MemAgent: Reshaping Long-Context LLM with Multi-Conv RL-based Memory Agentcited by 235
  16. 2025From RAG to Memory: Non-Parametric Continual Learning for Large Language Modelscited by 223
  17. 2023RoleLLM: Benchmarking, Eliciting, and Enhancing Role-Playing Abilities of Large Language Modelscited by 173
  18. 2017DuReader: a Chinese Machine Reading Comprehension Dataset from Real-world Applicationscited by 110
  19. 2025MemGen: Weaving Generative Latent Memory for Self-Evolving Agentscited by 99
  20. 2026Conditional Memory via Scalable Lookup: A New Axis of Sparsity for Large Language Modelscited by 78
  21. 2025Nested Learning: The Illusion of Deep Learning Architecturescited by 69
  22. 2025It's All Connected: A Journey Through Test-Time Memorization, Attentional Bias, Retention, and Online Optimizationcited by 60
  23. 2024Memory3: Language Modeling with Explicit Memorycited by 39
  24. 2025KaLM-Embedding-V2: Superior Training Techniques and Data Inspire A Versatile Embedding Modelcited by 35
  25. 2025MLP Memory: A Retriever-Pretrained Memory for Large Language Modelscited by 19
  26. 2025UltraRAG: A Modular and Automated Toolkit for Adaptive Retrieval-Augmented Generationcited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 5.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Progressive Sparse Attention: Algorithm and System Co-design for Efficient Attention in LLM Serving
  2. 2025Every Token Counts: Generalizing 16M Ultra-Long Context in Large Language Models
  3. 2025Training-free Context-adaptive Attention for Efficient Long Context Modeling
  4. 2026RAM-Net: Linear-Time Sequence Modeling with Sparsely Addressable State
  5. 2025MoBA: Mixture of Block Attention for Long-Context LLMs
  6. 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention
  7. 2026AB-Sparse: Sparse Attention with Adaptive Block Size for Accurate and Efficient Long-Context Inference
  8. 2026MiniMax Sparse Attention