MIND: Lightweight and Effective Memory Injection Defense for LLM Agents via Intent-Aware Information Bottleneck
Dongyi Liu, Haixing He, Xiaobao Wu, Jia Li
Abstract
Memory-augmented LLM-based agents are vulnerable to memory injection attacks: Agents may retrieve poisoned memory from attackers, which diverts their behavior from initial user intent and finally causes task failure. However, existing defense mechanisms either incur high computational cost or suffer from information redundancy in multi-turn contexts. To address these challenges, we propose Memory Intent-Aware Neural Denoising(MIND), a lightweight defense framework for memory injection attack. Our preliminary analysis reveals that benign and poisoned trajectories exhibit distinguishable relationships between the initial user intent and subsequent behavior. Building on this observation, MIND employs an intent-aware Information Bottleneck(IB) to extract compact intent--behavior representations from the initial intent and turn-level behavior. The IB preserves intent-relevant cross-turn attack signals while filtering task-irrelevant and repetitive information, and a lightweight detector identifies malicious memories from the resulting representations. As such, MIND mitigates information redundancy in multi-turn contexts while avoiding the overhead of repeated LLM auditing. Extensive experiments show that MIND reduces attack success rates while preserving task accuracy and inference efficiency. Notably, on ReAct-StrategyQA, MIND reduces mean ASR-r and ASR-a by 58.1% and 53.5%, respectively, while matching the undefended agent in average accuracy and latency.
Create a lesson
Related papers
Evidence sufficiency assessment enables cost-effective review allocation in on-premise clinical AI agents
Shared title terminology · Yiwen Qiu, Che Sun, Shu Shen et al.
EDAGoat: An EDA-Aware Agent for Project-Level GPU Optimization
Shared title terminology · Chengxi Li, Liang Xiao, Yutao Wang et al.
How Much Should an Agent Remember? Deployment Lessons from Self-Distilled Memory for LLM Agents
Shared title terminology · K. R. Jayaram, Vatche Isahagian, Aswath Vaithinathan Aravindan et al.
System-One RSI: Building Muscle Memory for Interactive Agents through Guided Practice
Shared title terminology · Qingxu Fu, Xuanfa Jin, Ziqian Chen et al.
HabitusMem: Belief Memory over Evolving User Preferences for LLM Agents
Shared title terminology · Yifan Lu, Gaoyang Guo, Wen Chen et al.
Tracing the Cascade: A Topology-Aware Evaluation Framework for Scientific Agent Hallucinations
Shared title terminology · Xinshun Feng, Ziqi Miao, Lijun Li et al.