Memory in Large Language Models: Mechanisms, Evaluation and Evolution
Not on the map. Why?
Abstract (arXiv)
Under a unified operational definition, we define LLM memory as a persistent state written during pretraining, finetuning, or inference that can later be addressed and that stably influences outputs. We propose a four-part taxonomy (parametric, contextual, external, procedural/episodic) and a memory quadruple (location, persistence, write/access path, controllability). We link mechanism, evaluation, and governance via the chain write -> read -> inhibit/update. To avoid distorted comparisons across heterogeneous setups, we adopt a three-setting protocol (parametric only, offline retrieval, online retrieval) that decouples capability from information availability on the same data and timeline. On this basis we build a layered evaluation: parametric (closed-book recall, edit differential, memorization/privacy), contextual (position curves and the mid-sequence drop), external (answer correctness vs snippet attribution/faithfulness), and procedural/episodic (cross-session consistency and timeline replay, E MARS+). The framework integrates temporal governance and leakage auditing (freshness hits, outdated answers, refusal slices) and uncertainty reporting via inter-rater agreement plus paired tests with multiple-comparison correction. For updating and forgetting, we present DMM Gov: coordinating DAPT/TAPT, PEFT, model editing (ROME, MEND, MEMIT, SERAC), and RAG to form an auditable loop covering admission thresholds, rollout, monitoring, rollback, and change audits, with specs for timeliness, conflict handling, and long-horizon consistency. Finally, we give four testable propositions: minimum identifiability; a minimal evaluation card; causally constrained editing with verifiable forgetting; and when retrieval with small-window replay outperforms ultra-long-context reading. This yields a reproducible, comparable, and governable coordinate system for research and deployment.
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 111 of its 140 references that are in the map. First posted on arXiv 23 Sep 2025.
Builds on
111 of 140 references.
References · 111
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2022Locating and Editing Factual Associations in GPTcited by 2,691
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
- 2020Extracting Training Data from Large Language Modelscited by 2,189
38 more
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,141
- 2019Language Models as Knowledge Bases?cited by 1,936
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
- 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,605
- 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,565
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
- 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,336
- 2021Improving language models by retrieving from trillions of tokenscited by 1,293
- 2023FActScore: Fine-grained Atomic Evaluation of Factual Precision in Long Form Text Generationcited by 1,282
- 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,252
- 2020Leveraging Passage Retrieval with Generative Models for Open Domain Question Answeringcited by 1,210
- 2020ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERTcited by 1,178
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
- 2019Machine Unlearningcited by 1,061
- 2020On Faithfulness and Factuality in Abstractive Summarizationcited by 900
- 2018The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networkscited by 864
- 2024Evaluating Very Long-Term Conversational Memory of LLM Agentscited by 830
- 2023SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Modelscited by 810
- 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 800
- 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 740
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 726
- 2021Deduplicating Training Data Makes Language Models Bettercited by 714
- 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 684
- 2023Unifying Large Language Models and Knowledge Graphs: A Roadmapcited by 668
- 2023Enabling Large Language Models to Generate Text with Citationscited by 595
- 2019Evaluating the Factual Consistency of Abstractive Text Summarizationcited by 584
- 2020KILT: a Benchmark for Knowledge Intensive Language Taskscited by 573
- 2019Memorizing Normality to Detect Anomaly: Memory-augmented Deep Autoencoder for Unsupervised Anomaly Detectioncited by 564
- 2024Negative Preference Optimization: From Catastrophic Collapse to Effective Unlearningcited by 504
- 2021Dynabench: Rethinking Benchmarking in NLPcited by 459
- 2020Null It Out: Guarding Protected Attributes by Iterative Nullspace Projectioncited by 455
- 2020Asking and Answering Questions to Evaluate the Factual Consistency of Summariescited by 378
- 2024∞Bench: Extending Long Context Evaluation Beyond 100K Tokenscited by 367
- 2021Time-Aware Language Models as Temporal Knowledge Basescited by 296
- 2023LEACE: Perfect linear concept erasure in closed formcited by 267
- 2024MultiHop-RAG: Benchmarking Retrieval-Augmented Generation for Multi-Hop Queriescited by 257
- 2025Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactionscited by 254
50 most cited of 111 All 111 (JSON)
Built on by
Citing papers per year: 2025: 1; 2026: 7.
8 papers.
- 2025Hindsight is 20/20: Building Agent Memory that Retains, Recalls, and Reflectscited by 44
- 2026A Survey of Agent Memory in the Second Half: Towards Self-Evolving and Long-Horizon Agentscited by 44
- 2026A Mechanistic View on Video Generation as World Models: State and Dynamicscited by 6
- 2026Memory for Large Language Modelscited by 4
- 2026StreamFlow: Dynamic Memory Flows for Streaming Video Understandingcited by 1
- 2026Understand and Accelerate Memory Processing Pipeline for Large Language Model Inferencecited by 0
- 2026Six misconceptions about large language models: A minimal model and diagnostic taxonomycited by 0
- 2026Complementary Roles of Activation and Parametric Memory in Few-Shot Learningcited by 0
- 2026Complementary Roles of Activation and Parametric Memory in Few-Shot Learning23 Sep 2026
- 2026Six misconceptions about large language models: A minimal model and diagnostic taxonomy19 Aug 2026
- 2026StreamFlow: Dynamic Memory Flows for Streaming Video Understanding11 Aug 2026
- 2026Memory for Large Language Models28 Jul 2026
- 2026Understand and Accelerate Memory Processing Pipeline for Large Language Model Inference30 Mar 2026
- 2026A Mechanistic View on Video Generation as World Models: State and Dynamics22 Jan 2026
- 2026A Survey of Agent Memory in the Second Half: Towards Self-Evolving and Long-Horizon Agents14 Jan 2026
- 2025Hindsight is 20/20: Building Agent Memory that Retains, Recalls, and Reflects14 Dec 2025
Similar, not cited
Close in wording, no citation either way
- 2026Is One Score Enough? Rethinking the Evaluation of Sequentially Evolving LLM Memory
- 2025Rethinking Memory in LLM based Agents: Representations, Operations, and Emerging Topics
- 2026REAL: A Reasoning-Enhanced Graph Framework for Long-Term Memory Management of LLMs
- 2026Continuum Memory Architectures for Long-Horizon LLM Agents
- 2024On the Structural Memory of LLM Agents
- 2026Governing Evolving Memory in LLM Agents: Risks, Mechanisms, and the Stability and Safety Governed Memory (SSGM) Framework
- 2026Evaluating Memory Structure in LLM Agents
- 2026MemGuard: Preventing Memory Contamination in Long-Term Memory-Augmented Large Language Models