Causal Intervention-Based Memory Selection for Long-Horizon LLM Agents
On the map: LLM agents and tool use → Agent memory systems
Abstract (arXiv)
Long-horizon LLM agents rely on persistent memory to support interactions across sessions, yet existing memory systems often retrieve context using semantic similarity or broad history inclusion, treating retrieved memories as uniformly useful. This assumption is fragile because memories may be topically related while remaining irrelevant, stale, or misleading. We propose Causal Memory Intervention (CMI), a causal memory-selection technique that estimates how candidate memories affect the model's answer under controlled interventions, selecting memories that improve task performance while suppressing unstable, irrelevant, or harmful ones. To evaluate this setting, we introduce Causal-LoCoMo, a causally annotated benchmark derived from long conversational data, where each example contains a user request, a structured memory bank, useful memories, irrelevant distractors, and synthetic harmful memories. We compare CMI against vector, graph, reflection, summary, full-history, and no-memory baselines. Results show that CMI achieves a stronger balance between answer quality and robustness to misleading memory, suggesting that reliable long-term memory requires selecting context based on causal usefulness rather than relevance alone. The full framework, benchmark construction code, and experimental pipeline are available at https://github.com/Saksham4796/causal-memory-intervention.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Placed in Agent memory systems, one of 16 directions in LLM agents and tool use. Builds on 23 of its 26 references that are in the map. First posted on arXiv 17 May 2026.
Builds on
23 of 26 references.
Closest ancestors · 1
Same direction, newest first
Other references · 22
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,500
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2022Locating and Editing Factual Associations in GPTcited by 2,609
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,081
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,295
10 more
- 2021Improving language models by retrieving from trillions of tokenscited by 1,278
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,270
- 2023AgentBench: Evaluating LLMs as Agentscited by 1,211
- 2020Leveraging Passage Retrieval with Generative Models for Open Domain Question Answeringcited by 1,203
- 2023Prompt Injection attack against LLM-integrated Applicationscited by 568
- 2024∞Bench: Extending Long Context Evaluation Beyond 100K Tokenscited by 360
- 2024PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Modelscited by 251
- 2023L-Eval: Instituting Standardized Evaluation for Long Context Language Modelscited by 232
- 2023Causal Abstraction: A Theoretical Foundation for Mechanistic Interpretabilitycited by 194
- 2025MemoryGraft: Persistent Compromise of LLM Agents via Poisoned Experience Retrievalcited by 65
Built on by
Citing papers per year: 2026: 6.
6 papers.
- 2026Decision-Aware Memory Cards: Counterfactual-Inspired Context Selection and Compression for Tool-Using LLM Agentscited by 1
- 2026From Test-Time Scaling to Reusable Memory: Measuring Crystallization in Text-to-SQLcited by 0
- 2026Calibrating Criterion Revision in LLM Agents: Failure Modes and a Trace-Anchored Protocolcited by 0
- 2026CausalCache: Conditional High-Fidelity Restoration for Long-Horizon GUI Agentscited by 0
- 2026Causal Memory Policy: Making Memory Utility Identifiable by Intervening on Retrievalcited by 0
- 2026What to Admit and How to Present: Governing Persistent Memory in LLM Agentscited by 0
- 2026What to Admit and How to Present: Governing Persistent Memory in LLM Agents8 Oct 2026
- 2026Causal Memory Policy: Making Memory Utility Identifiable by Intervening on Retrieval1 Oct 2026
- 2026CausalCache: Conditional High-Fidelity Restoration for Long-Horizon GUI Agents23 Aug 2026
- 2026Calibrating Criterion Revision in LLM Agents: Failure Modes and a Trace-Anchored Protocol21 Aug 2026
- 2026From Test-Time Scaling to Reusable Memory: Measuring Crystallization in Text-to-SQL7 Aug 2026
- 2026Decision-Aware Memory Cards: Counterfactual-Inspired Context Selection and Compression for Tool-Using LLM Agents6 Jun 2026
Similar, not cited
Close in wording, no citation either way
- 2026RaMem: Contextual Reinstatement for Long-term Agentic Memory
- 2026MemOps: Benchmarking Lifecycle Memory Operations in Long-Horizon Conversations
- 2025Preference-Aware Memory Update for Long-Term LLM Agents
- 2026AgentMemBench: A Systematic Benchmark for Evaluating Long-Term Memory Management Strategies in Conversational AI Agents
- 2026From Recall to Forgetting: Benchmarking Long-Term Memory for Personalized Agents
- 2026Memory in the LLM Era: Modular Architectures and Strategies in a Unified Framework
- 2026When Does Memory Help? A Cost-Aware Evaluation of Long-Term Memory in Tool-Using LLM Agents
- 2025Memory-T1: Reinforcement Learning for Temporal Reasoning in Multi-session Agents