mlsanityData to 14 Oct 2026

How Memory Management Impacts LLM Agents: An Empirical Study of Experience-Following Behavior

arXiv 2505.16067 ↗First posted 21 May 2025cs.AIcited by 101

On the map: LLM agents and tool use → Agent memory systems

Abstract (arXiv)

Memory is a critical component in large language model (LLM)-based agents, enabling them to store and retrieve past executions to improve task performance over time. In this paper, we conduct an empirical study on how memory management choices impact the LLM agents' behavior, especially their long-term performance. Specifically, we focus on two fundamental memory management operations that are widely used by many agent frameworks-memory addition and deletion-to systematically study their impact on the agent behavior. Through our quantitative analysis, we find that LLM agents display an experience-following property: high similarity between a task input and the input in a retrieved memory record often results in highly similar agent outputs. Our analysis further reveals two significant challenges associated with this property: error propagation, where inaccuracies in past experiences compound and degrade future performance, and misaligned experience replay, where some seemingly correct executions can provide limited or even misleading value as experiences. Through controlled experiments, we demonstrate the importance of regulating experience quality within the memory bank and show that future task evaluations can serve as free quality labels for stored memory. Our findings offer insights into the behavioral dynamics of LLM agent memory systems and provide practical guidance for designing memory components that support robust, long-term agent performance.

Key facts. Cited by 101 papers in the map (data through 14 Oct 2026). Placed in Agent memory systems, one of 16 directions in LLM agents and tool use. Builds on 29 of its 40 references that are in the map. First posted on arXiv 21 May 2025.

Builds on

29 of 40 references.

Closest ancestors · 7

Same direction, newest first

  1. 2025A-MEM: Agentic Memory for LLM Agents17 Feb
  2. 2024On the Structural Memory of LLM Agents17 Dec
  3. 2024Self-evolving Agents with reflective and memory-augmented abilities1 Sep
  4. 2024HiAgent: Hierarchical Working Memory Management for Solving Long-Horizon Agent Tasks with Large Language Model18 Aug
  5. 2024AriGraph: Learning Knowledge Graph World Models with Episodic Memory for LLM Agents5 Jul
  6. 2024A Survey on the Memory Mechanism of Large Language Model based Agents21 Apr
  7. 2024"My agent understands me better": Integrating Dynamic Human-like Memory Recall and Consolidation in LLM-Based Agents31 Mar

Other references · 22

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  2. 2019nuScenes: A multimodal dataset for autonomous drivingcited by 4,523
  3. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
  4. 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,568
  5. 2023A Survey on Large Language Model based Autonomous Agentscited by 2,242
  6. 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,191
  7. 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,808
  8. 2023The Rise and Potential of Large Language Model Based Agents: A Surveycited by 1,439
  9. 2022Planning-oriented Autonomous Drivingcited by 1,087
  10. 2023ExpeL: LLM Agents Are Experiential Learnerscited by 876
  11. 2023MemoryBank: Enhancing Large Language Models with Long-Term Memorycited by 556
  12. 2023Cognitive Architectures for Language Agentscited by 429
10 more
  1. 2025Agent Laboratory: Using LLM Agents as Research Assistantscited by 425
  2. 2024Agent Workflow Memorycited by 383
  3. 2022Matryoshka Representation Learningcited by 282
  4. 2023Synapse: Trajectory-as-Exemplar Prompting with Memory for Computer Controlcited by 187
  5. 2023A Language Agent for Autonomous Drivingcited by 164
  6. 2024Autonomous Evaluation and Refinement of Digital Agentscited by 137
  7. 2024GuardAgent: Safeguard LLM Agents by a Guard Agent via Knowledge-Enabled Reasoningcited by 124
  8. 2025On Memory Construction and Retrieval for Personalized Conversational Agentscited by 105
  9. 2024TroVE: Inducing Verifiable and Efficient Toolboxes for Solving Programmatic Taskscited by 75
  10. 2023Think-in-Memory: Recalling and Post-thinking Enable LLMs with Long-Term Memorycited by 64

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 18; 2026: 83.

101 papers.

Sort:

By area:

  1. 2025Memory-R1: Enhancing Large Language Model Agents to Manage and Utilize Memories via Reinforcement Learningcited by 237
  2. 2025A Survey of Context Engineering for Large Language Modelscited by 126
  3. 2025MemGen: Weaving Generative Latent Memory for Self-Evolving Agentscited by 109
  4. 2026Agentic Memory: Learning Unified Long-Term and Short-Term Memory Management for Large Language Model Agentscited by 78
  5. 2025Remember Me, Refine Me: A Dynamic Procedural Memory Framework for Experience-Driven Agent Evolutioncited by 73
  6. 2026Mem-Gallery: Benchmarking Multimodal Long-Term Conversational Memory for MLLM Agentscited by 54
  7. 2025LLM-based Agents Suffer from Hallucinations: A Survey of Taxonomy, Methods, and Directionscited by 50
  8. 2026A Survey of Agent Memory in the Second Half: Towards Self-Evolving and Long-Horizon Agentscited by 44
  9. 2025SGMem: Sentence Graph Memory for Long-Term Conversational Agentscited by 29
  10. 2025RCR-Router: Efficient Role-Aware Context Routing for Multi-Agent LLM Systems with Structured Memorycited by 27
  11. 2026Graph-based Agent Memory: Taxonomy, Techniques, and Applicationscited by 25
  12. 2026From Storage to Experience: A Survey on the Evolution of LLM Agent Memory Mechanismscited by 21
38 more
  1. 2026Uncertainty Quantification in LLM Agents: Foundations, Emerging Challenges, and Opportunitiescited by 20
  2. 2026Mem-T: Densifying Rewards for Long-Horizon Memory Agentscited by 18
  3. 2025From Experience to Strategy: Empowering LLM Agents with Trainable Graph Memorycited by 17
  4. 2026Trajectory-Informed Memory Generation for Self-Improving Agent Systemscited by 17
  5. 2025The Future is Agentic: Definitions, Perspectives, and Open Challenges of Multi-Agent Recommender Systemscited by 14
  6. 2026OEP: Poisoning Self-Evolving LLM Agents via Locally Correct but Non-Transferable Experiencescited by 14
  7. 2025SHIELDA: Structured Handling of Exceptions in LLM-Driven Agentic Workflowscited by 13
  8. 2025Stop Wasting Your Tokens: Towards Efficient Runtime Multi-Agent Systemscited by 12
  9. 2026Structurally Aligned Subtask-Level Memory for Software Engineering Agentscited by 12
  10. 2026SEAGym: An Evaluation Environment for Self-Evolving LLM Agentscited by 11
  11. 2026When Continual Learning Moves to Memory: A Study of Experience Reuse in LLM Agentscited by 10
  12. 2026Model or Harness? An Interaction-Centric Taxonomy for Localizing Agent Failurescited by 10
  13. 2025H2R: Hierarchical Hindsight Reflection for Multi-Task LLM Agentscited by 8
  14. 2025Memory in Large Language Models: Mechanisms, Evaluation and Evolutioncited by 8
  15. 2026Agentic Unlearning: When LLM Agent Meets Machine Unlearningcited by 8
  16. 2026From Faulty Memories to Corrected Actions: Dependency-Guided Rollback Repair for Memory-Augmented Agentscited by 8
  17. 2026The Devil Behind Moltbook: Anthropic Safety is Always Vanishing in Self-Evolving AI Societiescited by 7
  18. 2026MemTxn: A Transaction Boundary for Source-Supported Updates and Complete-State Recovery in Agent Memorycited by 7
  19. 2025Automating Structural Engineering Workflows with Large Language Model Agentscited by 6
  20. 2025Experience-Evolving Multi-Turn Tool-Use Agent with Hybrid Episodic-Procedural Memorycited by 6
  21. 2026Gated Differentiable Working Memory for Long-Context Language Modelingcited by 6
  22. 2025A Survey of Foundation Models for IoT: Taxonomy and Criteria-Based Analysiscited by 5
  23. 2026Toward Reliable Evaluation of LLM-Based Financial Multi-Agent Systems: Taxonomy, Coordination Primacy, and Cost Awarenesscited by 5
  24. 2026Agentic Design Patterns: A System-Theoretic Frameworkcited by 4
  25. 2026MMA: Multimodal Memory Agentcited by 4
  26. 2026FragFuse: Bypassing Access Control of Large Language Model Agents via Memory-Based Query Fragmentation and Fusioncited by 4
  27. 2026MemGuard: Persisting Verifier Signals for LLM-Agent Memory Governancecited by 4
  28. 2025A Principle-based Framework for the Development and Evaluation of Large Language Models for Health and Wellnesscited by 3
  29. 2026Oblivion: Self-Adaptive Agentic Memory Control through Decay-Driven Activationcited by 3
  30. 2026Exploring the Topology and Memory of Consensus: How LLM Agents Agree, Fragment, or Settle When Forming Conventionscited by 3
  31. 2026MemArbiter: Decision-Time Memory Arbitration for Long-Horizon LLM Agentscited by 3
  32. 2026Verifiable Memory: Learning Unified Memory Management with Local and Global Verifiers for Large Language Model Agentscited by 3
  33. 2025Empowering Real-World: A Survey on the Technology, Practice, and Evaluation of LLM-driven Industry Agentscited by 2
  34. 2026Aligning Progress and Feasibility: A Neuro-Symbolic Dual Memory Framework for Long-Horizon LLM Agentscited by 2
  35. 2026What Happens Inside Agent Memory? Circuit Analysis from Emergence to Diagnosiscited by 2
  36. 2026Belief Engine: Configurable and Inspectable Stance Dynamics in Multi-Agent LLM Deliberationcited by 2
  37. 2026Skill or Skip? Learning Selective Skill Invocation in Agentic Tasks via Dual-Granularity Preference Learningcited by 2
  38. 2026HUSH-Bench: Measuring Memory-Use Boundaries for Sensitive History in Conversational Agentscited by 2

50 most cited of 101 All 101 (JSON)

Similar, not cited

Close in wording, no citation either way

  1. 2026Memory for Autonomous LLM Agents:Mechanisms, Evaluation, and Emerging Frontiers
  2. 2025Rethinking Memory in LLM based Agents: Representations, Operations, and Emerging Topics
  3. 2026Memory as a Controlled Process: Learned Adaptive Memory Management for LLM Agents
  4. 2026What to Keep, What to Forget: A Rate--Distortion View of Memory Compaction in LLMs and Agents
  5. 2026Memory in the LLM Era: Modular Architectures and Strategies in a Unified Framework
  6. 2026AdMem: Advanced Memory for Task-solving Agents
  7. 2025Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactions
  8. 2026MemCo: Memory-Centric Collaboration for Generalizing LLM Agents to Unseen Environments