mlsanityData to 24 Nov 2026

The Memory Trap: Language Agents Overgeneralize from Benign Interactions

arXiv 2611.07554 ↗Submitted 5 Nov 2026cs.CL cs.AI cs.LGcited by 2

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

Abstract (arXiv)

Language agents increasingly use persistent memory to record user preferences and procedures across sessions. We show that memory from benign interactions can cause unsafe or unreliable behavior on later tasks. We call this failure the memory trap. To study this issue, we compare behavior in sessions with and without memory across six frontier models (including Claude Sonnet, Opus, and Fable models and GPT-5.6). We evaluate these models in a range of settings. First, in autonomy experiments, we find that requests to skip confirmation during low-stakes coding chores lead agents to skip confirmation and verification on simulated high-stakes tasks in both coding and everyday life. We next study memories formed when users seek emotional support, or describe harm from uncritical feedback, and find these memories bias later judgments of mathematical work, arguments, and poems toward sycophancy or over-critique (respectively). Memory notes written during legitimate stale-test repairs lead agents to weaken correct tests that catch broken safeguards; these memories also increase cheating on ImpossibleBench, with larger increases for stronger Sonnet and Opus models. We show that memory traps can arise both from overgeneralizations in memory writing, and when acting on memory. These findings demonstrate that even benign interactions can lead to serious risks from memory systems, and thus motivate the need for new research into ensuring that agents preserve the scope of their memories.

Key facts. Cited by 2 papers in the map (data through 24 Nov 2026). Placed in Agent memory systems, one of 16 directions in LLM agents and tool use. Builds on 63 of its 79 references that are in the map. Submitted 5 Nov 2026.

Builds on

63 of 79 references.

Closest ancestors · 7

Same direction, newest first

  1. 2026OP-Bench: Benchmarking Over-Personalization for Memory-Augmented Personalized Conversational Agents20 Jan
  2. 2025Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactions7 Jul
  3. 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory28 Apr
  4. 2025A-MEM: Agentic Memory for LLM Agents17 Feb
  5. 2024Hello Again! LLM-powered Personalized Agent for Long-term Dialogue9 Jun
  6. 2024A Survey on the Memory Mechanism of Large Language Model based Agents21 Apr
  7. 2024Evaluating Very Long-Term Conversational Memory of LLM Agents27 Feb

Other references · 56

  1. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,789
  2. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,871
  3. 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,841
  4. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,374
  5. 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,483
  6. 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 2,232
  7. 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,718
  8. 2023MemGPT: Towards LLMs as Operating Systemscited by 1,655
  9. 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,638
  10. 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,526
  11. 2024OSWorld: Benchmarking Multimodal Agents for Open-Ended Tasks in Real Computer Environmentscited by 1,383
  12. 2023ExpeL: LLM Agents Are Experiential Learnerscited by 1,067
38 more
  1. 2022Discovering Language Model Behaviors with Model-Written Evaluationscited by 908
  2. 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 889
  3. 2024LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memorycited by 876
  4. 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automaticallycited by 724
  5. 2024InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agentscited by 634
  6. 2023MemoryBank: Enhancing Large Language Models with Long-Term Memorycited by 630
  7. 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Modelscited by 535
  8. 2024AgentHarm: A Benchmark for Measuring Harmfulness of LLM Agentscited by 513
  9. 2023LaMP: When Large Language Models Meet Personalizationcited by 492
  10. 2024AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Basescited by 488
  11. 2024Agent Workflow Memorycited by 482
  12. 2023Cognitive Architectures for Language Agentscited by 475
  13. 2025Monitoring Reasoning Models for Misbehavior and the Risks of Promoting Obfuscationcited by 472
  14. 2023Formalizing and Benchmarking Prompt Injection Attacks and Defensescited by 415
  15. 2024Agent Security Bench (ASB): Formalizing and Benchmarking Attacks and Defenses in LLM-based Agentscited by 407
  16. 2024TheAgentCompany: Benchmarking LLM Agents on Consequential Real World Taskscited by 383
  17. 2024PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Modelscited by 300
  18. 2024Sycophancy to Subterfuge: Investigating Reward-Tampering in Large Language Modelscited by 214
  19. 2025Know Me, Respond to Me: Benchmarking LLMs for Dynamic User Profiling and Personalized Responses at Scalecited by 210
  20. 2023Poisoning Retrieval Corpora by Injecting Adversarial Passagescited by 173
  21. 2024Personalizing Reinforcement Learning from Human Feedback with Variational Preference Learningcited by 171
  22. 2025Memory Injection Attacks on LLM Agents via Query-Only Interactioncited by 169
  23. 2025Do LLMs Recognize Your Preferences? Evaluating Personalized Preference Following in LLMscited by 166
  24. 2024Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agentscited by 153
  25. 2024Personalized Language Modeling from Personalized Human Feedbackcited by 148
  26. 2022Goal Misgeneralization: Why Correct Specifications Aren't Enough For Correct Goalscited by 146
  27. 2024Personalization of Large Language Models: A Surveycited by 116
  28. 2024Optimization Methods for Personalizing Large Language Models through Retrieval Augmentationcited by 104
  29. 2025ImpossibleBench: Measuring LLMs' Propensity of Exploiting Test Casescited by 101
  30. 2024BadRAG: Identifying Vulnerabilities in Retrieval Augmented Generation of Large Language Modelscited by 96
  31. 2023Personalisation within bounds: A risk taxonomy and policy framework for the alignment of large language models with personalised feedbackcited by 92
  32. 2025Towards Robust Mathematical Reasoningcited by 89
  33. 2024Feedback Loops With Language Models Drive In-Context Reward Hackingcited by 84
  34. 2025MemoryGraft: Persistent Compromise of LLM Agents via Poisoned Experience Retrievalcited by 82
  35. 2023Integrating Summarization and Retrieval for Enhanced Personalization via Large Language Modelscited by 55
  36. 2026From Untrusted Input to Trusted Memory: A Systematic Study of Memory Poisoning Attacks in LLM Agentscited by 42
  37. 2024AI PERSONA: Towards Life-long Personalization of LLMscited by 35
  38. 2024Introspective Planning: Aligning Robots' Uncertainty with Inherent Task Ambiguitycited by 33

50 most cited of 56 All 56 (JSON)

Built on by

Cited by year (2026 to 24 Nov)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025How Memory Management Impacts LLM Agents: An Empirical Study of Experience-Following Behavior
  2. 2026What to Keep, What to Forget: A Rate--Distortion View of Memory Compaction in LLMs and Agents
  3. 2026Controllable Memory Usage: Balancing Anchoring and Innovation in Long-Term Human-Agent Interaction
  4. 2026Compiled Memory: Not More Information, but More Precise Instructions for Language Agents
  5. 2026MemAudit: Auditing Long-Term Agent Memory via Hidden User-State Recovery
  6. 2026Memory Contagion: Cross-Temporal Propagation of Evaluator Bias via Agent Memory
  7. 2026Delivery, Not Storage: Cue-Anchored Working Memory as a Harness Property for Coding Agents
  8. 2026The Memory Curse: How Expanded Recall Erodes Cooperative Intent in LLM Agents