mlsanityData to 24 Nov 2026

DriftGuard: Online Memory-Drift Detection via Causal Attribution for LLM Agents

arXiv 2611.25583 ↗Submitted 19 Nov 2026Announced 20 Nov 2026cs.AIcited by 0

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

Abstract (arXiv)

Large language model (LLM) agents rely on persistent memory to plan tool calls and complete multi-step tasks, which exposes them to memory drift: an adversarial or misleading memory alters the execution path and final outcome. In this work, we investigate online memory-drift detection, which estimates each retrieved memory's causal contribution to potential drift at serving time. We identify two fundamental challenges. (1) Content-level features are insufficient for causal memory-drift attribution, as perplexity or retrieval relevance alone cannot determine which retrieved memory would change agent behavior if neutralized; (2) Counterfactual attribution is prohibitively expensive for online detection, as it requires replaying downstream agent and tool execution for each candidate memory, exceeding real-time serving budgets. To address these challenges, we propose DriftGuard, a two-stage framework that decouples offline causal supervision from online estimation. Specifically, DriftGuard first constructs causal supervision through repeated paired counterfactual replays, continuing the original and single-memory neutralized trajectory suffixes from a shared pre-action state. The resulting annotations are aggregated by component-wise majority voting into a memory drift score (MDS) that captures action change, attack removal, violation removal, and task recovery. Guided by this supervision, DriftGuard then learns an online risk model that estimates MDS from pre-action information and flags drift-inducing memories via its maximum component risk, without online counterfactual rollouts. Extensive experiments demonstrate that DriftGuard accurately identifies drift-inducing memories and enables efficient online defense. Code is available at https://anonymous.4open.science/r/DriftGuard-7F0B.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Agent memory systems, one of 16 directions in LLM agents and tool use. Builds on 59 of its 82 references that are in the map. Submitted 19 Nov 2026, announced 20 Nov 2026.

Builds on

59 of 82 references.

Closest ancestors · 1

Same direction, newest first

  1. 2026Mem2ActBench: A Benchmark for Evaluating Long-Term Memory Utilization in Task-Oriented Autonomous Agents13 Jan

Other references · 58

  1. 2024The Llama 3 Herd of Modelscited by 16,113
  2. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 15,591
  3. 2024Qwen2.5 Technical Reportcited by 5,525
  4. 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,841
  5. 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 2,232
  6. 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 2,083
  7. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 2,069
  8. 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,584
  9. 2023AgentBench: Evaluating LLMs as Agentscited by 1,401
  10. 2026DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligencecited by 1,363
  11. 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,337
  12. 2018DAGs with NO TEARS: Continuous Optimization for Structure Learningcited by 770
38 more
  1. 2023API-Bank: A Comprehensive Benchmark for Tool-Augmented LLMscited by 646
  2. 2023MemoryBank: Enhancing Large Language Models with Long-Term Memorycited by 630
  3. 2024WildGuard: Open One-Stop Moderation Tools for Safety Risks, Jailbreaks, and Refusals of LLMscited by 566
  4. 2024AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Basescited by 488
  5. 2026Gemma 4 Technical Reportcited by 464
  6. 2023Detecting Language Model Attacks with Perplexitycited by 457
  7. 2024A StrongREJECT for Empty Jailbreakscited by 438
  8. 2023Causal Reasoning and Large Language Models: Opening a New Frontier for Causalitycited by 372
  9. 2024ToolSandbox: A Stateful, Conversational, Interactive Evaluation Benchmark for LLM Tool Use Capabilitiescited by 354
  10. 2024R-Judge: Benchmarking Safety Risk Awareness for LLM Agentscited by 321
  11. 2024PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Modelscited by 300
  12. 2024SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decodingcited by 264
  13. 2025Memory Injection Attacks on LLM Agents via Query-Only Interactioncited by 169
  14. 2023Causal-learn: Causal Discovery in Pythoncited by 114
  15. 2024GradSafe: Detecting Jailbreak Prompts for LLMs via Safety-Critical Gradient Analysiscited by 101
  16. 2025AGrail: A Lifelong Agent Guardrail with Effective and Adaptive Safety Detectioncited by 101
  17. 2013Probabilities of Causation: Bounds and Identificationcited by 98
  18. 2026ToolSafe: Enhancing Tool Invocation Safety of LLM-based agents via Proactive Step-level Guardrail and Feedbackcited by 88
  19. 2024Intention Analysis Makes LLMs A Good Jailbreak Defendercited by 83
  20. 2025MemoryGraft: Persistent Compromise of LLM Agents via Poisoned Experience Retrievalcited by 82
  21. 2025A-MemGuard: A Proactive Defense Framework for LLM-Based Agent Memorycited by 74
  22. 2024CausalGym: Benchmarking causal interpretability methods on linguistic taskscited by 54
  23. 2025Building a Foundational Guardrail for General Agentic Systems via Synthetic Datacited by 42
  24. 2026From Untrusted Input to Trusted Memory: A Systematic Study of Memory Poisoning Attacks in LLM Agentscited by 42
  25. 2026Hidden in Memory: Sleeper Memory Poisoning in LLM Agentscited by 35
  26. 2026CausalFlow: Causal Attribution and Counterfactual Repair for LLM Agent Failurescited by 33
  27. 2026Causal Agent Replay: Counterfactual Attribution for LLM-Agent Failurescited by 32
  28. 2026Poison Once, Exploit Forever: Environment-Injected Memory Poisoning Attacks on Web Agentscited by 27
  29. 2026Securing LLM-Agent Long-Term Memory Against Poisoning: Non-Malleable, Origin-Bound Authority with Machine-Checked Guaranteescited by 26
  30. 2026LongHorizon-Harness: Advancing Long-Horizon Agents for Real-World Taskscited by 21
  31. 2026TraceSafe: A Systematic Assessment of LLM Guardrails on Multi-Step Tool-Calling Trajectoriescited by 20
  32. 2026MemMorph: Tool Hijacking in LLM Agents via Memory Poisoningcited by 12
  33. 2026Safeguarding LLM Agents against Long-Horizon Threats via Shadow Memorycited by 11
  34. 2026MemAudit: Post-hoc Auditing of Poisoned Agent Memory via Causal Attribution and Structural Anomaly Detectioncited by 9
  35. 2026ReasAlign: Reasoning Enhanced Safety Alignment against Prompt Injection Attackcited by 7
  36. 2024Counterfactuals As a Means for Evaluating Faithfulness of Attribution Methods in Autoregressive Language Modelscited by 6
  37. 2026SMSR: Certified Defence Against Runtime Memory Poisoning in Persistent LLM Agent Systemscited by 6
  38. 2026PVDetector: Detecting Prompt Injection Attacks on Purpose-Specific LLM Agents through Policy-Violation Concept Analysiscited by 6

50 most cited of 58 All 58 (JSON)

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Causal Intervention-Based Memory Selection for Long-Horizon LLM Agents
  2. 2026The Trap of Trajectory: Towards Understanding and Mitigating Spurious Correlations in Agentic Memory
  3. 2026KEEPER: Learning Control-Sufficient Textual Memory for Long-Horizon LLM Agents
  4. 2026Causal Retention in Interactive Agents: Interface Factorization and Selective Adaptation
  5. 2026Verifiable Memory: Learning Unified Memory Management with Local and Global Verifiers for Large Language Model Agents
  6. 2026MemReader: From Passive to Active Extraction for Long-Term Agent Memory
  7. 2026From Reflection to Co-Evolution: Self-Evolving Agents with Locally Verified Memory
  8. 2026Can Agent Memory Systems Track Evolving State?