The Memory Trap: Language Agents Overgeneralize from Benign Interactions
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
- 2026OP-Bench: Benchmarking Over-Personalization for Memory-Augmented Personalized Conversational Agents20 Jan
- 2025Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactions7 Jul
- 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory28 Apr
- 2025A-MEM: Agentic Memory for LLM Agents17 Feb
- 2024Hello Again! LLM-powered Personalized Agent for Long-term Dialogue9 Jun
- 2024A Survey on the Memory Mechanism of Large Language Model based Agents21 Apr
- 2024Evaluating Very Long-Term Conversational Memory of LLM Agents27 Feb
Other references · 56
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,789
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,871
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,841
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,374
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,483
- 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 2,232
- 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,718
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,655
- 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,638
- 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,526
- 2024OSWorld: Benchmarking Multimodal Agents for Open-Ended Tasks in Real Computer Environmentscited by 1,383
- 2023ExpeL: LLM Agents Are Experiential Learnerscited by 1,067
38 more
- 2022Discovering Language Model Behaviors with Model-Written Evaluationscited by 908
- 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 889
- 2024LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memorycited by 876
- 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automaticallycited by 724
- 2024InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agentscited by 634
- 2023MemoryBank: Enhancing Large Language Models with Long-Term Memorycited by 630
- 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Modelscited by 535
- 2024AgentHarm: A Benchmark for Measuring Harmfulness of LLM Agentscited by 513
- 2023LaMP: When Large Language Models Meet Personalizationcited by 492
- 2024AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Basescited by 488
- 2024Agent Workflow Memorycited by 482
- 2023Cognitive Architectures for Language Agentscited by 475
- 2025Monitoring Reasoning Models for Misbehavior and the Risks of Promoting Obfuscationcited by 472
- 2023Formalizing and Benchmarking Prompt Injection Attacks and Defensescited by 415
- 2024Agent Security Bench (ASB): Formalizing and Benchmarking Attacks and Defenses in LLM-based Agentscited by 407
- 2024TheAgentCompany: Benchmarking LLM Agents on Consequential Real World Taskscited by 383
- 2024PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Modelscited by 300
- 2024Sycophancy to Subterfuge: Investigating Reward-Tampering in Large Language Modelscited by 214
- 2025Know Me, Respond to Me: Benchmarking LLMs for Dynamic User Profiling and Personalized Responses at Scalecited by 210
- 2023Poisoning Retrieval Corpora by Injecting Adversarial Passagescited by 173
- 2024Personalizing Reinforcement Learning from Human Feedback with Variational Preference Learningcited by 171
- 2025Memory Injection Attacks on LLM Agents via Query-Only Interactioncited by 169
- 2025Do LLMs Recognize Your Preferences? Evaluating Personalized Preference Following in LLMscited by 166
- 2024Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agentscited by 153
- 2024Personalized Language Modeling from Personalized Human Feedbackcited by 148
- 2022Goal Misgeneralization: Why Correct Specifications Aren't Enough For Correct Goalscited by 146
- 2024Personalization of Large Language Models: A Surveycited by 116
- 2024Optimization Methods for Personalizing Large Language Models through Retrieval Augmentationcited by 104
- 2025ImpossibleBench: Measuring LLMs' Propensity of Exploiting Test Casescited by 101
- 2024BadRAG: Identifying Vulnerabilities in Retrieval Augmented Generation of Large Language Modelscited by 96
- 2023Personalisation within bounds: A risk taxonomy and policy framework for the alignment of large language models with personalised feedbackcited by 92
- 2025Towards Robust Mathematical Reasoningcited by 89
- 2024Feedback Loops With Language Models Drive In-Context Reward Hackingcited by 84
- 2025MemoryGraft: Persistent Compromise of LLM Agents via Poisoned Experience Retrievalcited by 82
- 2023Integrating Summarization and Retrieval for Enhanced Personalization via Large Language Modelscited by 55
- 2026From Untrusted Input to Trusted Memory: A Systematic Study of Memory Poisoning Attacks in LLM Agentscited by 42
- 2024AI PERSONA: Towards Life-long Personalization of LLMscited by 35
- 2024Introspective Planning: Aligning Robots' Uncertainty with Inherent Task Ambiguitycited by 33
50 most cited of 56 All 56 (JSON)
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2025How Memory Management Impacts LLM Agents: An Empirical Study of Experience-Following Behavior
- 2026What to Keep, What to Forget: A Rate--Distortion View of Memory Compaction in LLMs and Agents
- 2026Controllable Memory Usage: Balancing Anchoring and Innovation in Long-Term Human-Agent Interaction
- 2026Compiled Memory: Not More Information, but More Precise Instructions for Language Agents
- 2026MemAudit: Auditing Long-Term Agent Memory via Hidden User-State Recovery
- 2026Memory Contagion: Cross-Temporal Propagation of Evaluator Bias via Agent Memory
- 2026Delivery, Not Storage: Cue-Anchored Working Memory as a Harness Property for Coding Agents
- 2026The Memory Curse: How Expanded Recall Erodes Cooperative Intent in LLM Agents