mlsanityData to 24 Nov 2026

MemOnce: A Scalable Memory Architecture for Large Language Models

arXiv 2611.27973 ↗Submitted 20 Nov 2026Announced 23 Nov 2026cs.CLcited by 0

On the map: Efficient LLM inference and serving → KV cache optimization

Abstract (arXiv)

Deploying large language models (LLMs) in long-horizon and continual interactions requires maintaining reusable memory states for future inference, posing challenges for existing architectures. Standard Transformers accumulate layer-wise, token-level KV caches, incurring linear GPU memory growth and quadratic computational complexity as the context expands. In contrast, linear-time architectures compress history into fixed-size states, but struggle to retain fine-grained details. We introduce MemOnce, a foundation architecture that learns scalable memory states for language models. MemOnce is based on two core designs: (a) Memory encoder-decoder: it caches only a small subset of final-layer hidden states as compact memory representations and dynamically decodes them back into KV caches for attention layers; (b) Memory sparse attention: for each continual input, MemOnce adaptively retrieves relevant memory representations, with the sparse indices computed only once across layers. Coupling these two designs enables efficient on-the-fly memory loading and KV cache decoding, drastically reducing the GPU memory footprint and achieving linear-time complexity. We conduct extensive experiments to show that MemOnce outperforms Transformers and other architectures across varying model sizes, context lengths, and training paradigms (pretraining and post-training adaptation). In particular, adapting Qwen3.5-4B with MemOnce reduces memory state cache by 1313× and prefill latency by 6.9× at 1M context, and improves throughput by 3.5× and overall memory performance by +5.77%. Finally, MemOnce generalizes zero-shot to downstream representation tasks, achieving competitive results against specialized models.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in KV cache optimization, one of 12 directions in Efficient LLM inference and serving. Builds on 48 of its 54 references that are in the map. Submitted 20 Nov 2026, announced 23 Nov 2026.

Builds on

48 of 54 references.

Closest ancestors · 2

Same direction, newest first

  1. 2026DeepSeek-V4.1-Flash: Pushing the Limits of KV Cache Compression17 Sep
  2. 2026HySparse: A Hybrid Sparse Attention Architecture with Oracle Token Selection and KV Cache Sharing3 Feb

Other references · 46

  1. 2017Attention Is All You Needcited by 62,125
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,771
  3. 2021Training Verifiers to Solve Math Word Problemscited by 11,055
  4. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,845
  5. 2020Measuring Massive Multitask Language Understandingcited by 8,473
  6. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 5,111
  7. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,986
  8. 2020Longformer: The Long-Document Transformercited by 3,606
  9. 2016Pointer Sentinel Mixture Modelscited by 3,344
  10. 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 3,191
  11. 2025Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Modelscited by 1,507
  12. 2023The Rise and Potential of Large Language Model Based Agents: A Surveycited by 1,506
34 more
  1. 2025A-MEM: Agentic Memory for LLM Agentscited by 1,253
  2. 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,241
  3. 2024M3-Embedding: Multi-Linguality, Multi-Functionality, Multi-Granularity Text Embeddings Through Self-Knowledge Distillationcited by 1,199
  4. 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 1,077
  5. 2024Evaluating Very Long-Term Conversational Memory of LLM Agentscited by 977
  6. 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memorycited by 915
  7. 2023RWKV: Reinventing RNNs for the Transformer Eracited by 884
  8. 2024LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memorycited by 876
  9. 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 690
  10. 2023Cognitive Architectures for Language Agentscited by 475
  11. 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 469
  12. 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 455
  13. 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden Statescited by 415
  14. 2024Titans: Learning to Memorize at Test Timecited by 383
  15. 2025Memory in the Age of AI Agentscited by 340
  16. 2024Repeat After Me: Transformers are Better than State Space Models at Copyingcited by 245
  17. 2026Kimi K3: Open Frontier Intelligencecited by 233
  18. 2023Query Rewriting for Retrieval-Augmented Large Language Modelscited by 225
  19. 2025LightMem: Lightweight and Efficient Memory-Augmented Generationcited by 222
  20. 2025Know Me, Respond to Me: Benchmarking LLMs for Dynamic User Profiling and Personalized Responses at Scalecited by 210
  21. 2024You Only Cache Once: Decoder-Decoder Architectures for Language Modelscited by 175
  22. 2024MEMORYLLM: Towards Self-Updatable Large Language Modelscited by 111
  23. 2026On the Design of Qwen3.8-Next Architecture: Evaluation, Efficiency, and Training Stabilitycited by 96
  24. 2025MemBench: Towards More Comprehensive Evaluation on the Memory of LLM-based Agentscited by 93
  25. 2025Lifelong Learning of Large Language Model based Agents: A Roadmapcited by 92
  26. 2025Mem-α: Learning Memory Construction via Reinforcement Learningcited by 66
  27. 2025M+: Extending MemoryLLM with Scalable Long-Term Memorycited by 64
  28. 2026Memory Caching: RNNs with Growing Memorycited by 19
  29. 2026δ-mem: Efficient Online Memory for Large Language Modelscited by 19
  30. 2026MiMo-V2.6: Scaling Reinforcement Learning Towards Self-Improvementcited by 18
  31. 2026PersonaVLM: Long-Term Personalized Multimodal LLMscited by 16
  32. 2026Metis: Memory Foundation Modelcited by 9
  33. 2026Light-Omni: Reflex over Reasoning in Agentic Video Understanding with Long-Term Memorycited by 4
  34. 2026EvoEmbedding: Evolvable Representations for Long-Context Retrieval and Agentic Memorycited by 3

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026From Long Context to Selective Memory:A Survey of Memory-Centric Compression for Large Language Models
  2. 2026Memory Decoder at Scale: A Pretrained, Parametric Long-Term Memory
  3. 2024Layer-Condensed KV Cache for Efficient Inference of Large Language Models
  4. 2026ARKV: Adaptive and Resource-Efficient KV Cache Management under Limited Memory Budget for Long-Context Inference in LLMs
  5. 2025RetroInfer: A Vector Storage Engine for Scalable Long-Context LLM Inference
  6. 2026ARM: Attention with Routed-Memory for Learnable Sparse Control
  7. 2026Understand and Accelerate Memory Processing Pipeline for Large Language Model Inference
  8. 2024A Little Goes a Long Way: Efficient Long Context Training and Inference with Partial Contexts