arXiv Computation and Language

MemoryDojo: Benchmarking Poisoning Through LLM Agent Memory

MemoryDojo is a benchmark designed to assess how poisoning attacks propagate through the memory systems of large language model agents. It tracks the lifecycle of poisoned information across 155 multi‑session, long‑horizon trajectories in four domains, covering five distinct memory architectures. The study shows that all tested memory systems are vulnerable, with varying downstream impacts, and introduces a memory‑aware poisoning optimization to amplify attack efficacy.

Hugging Face Trending Papers
Nov 6

MemoryDojo: Benchmarking Poisoning Through LLM Agent Memory

MemoryDojo is a benchmark that tracks how poisoned instructions can be stored in and retrieved from the memory systems of large language model agents, affecting their behavior in later sessions. It includes 155 multi‑session, long‑horizon trajectories across four domains and supports five distinct memory architectures. The study shows that all tested memory systems are vulnerable to poisoning, with varying downstream impacts, and introduces a memory‑aware optimization that can amplify poisoning effectiveness.

arXiv Computation and Language
Nov 6

MemForm: Benchmarking Memory Formation Poisoning in LLM Agents

MemForm introduces a diagnostic benchmark for Memory Formation Poisoning in large language model agents, focusing on five interfaces—Content, Evidence, Scope, Selection, and Path—where adversarial manipulation can occur. The study evaluates six LLMs across two response formats, finding widespread vulnerability across all interfaces and demonstrating that even successful experiences can lead to unreliable behavior due to changes in contextual support, retention, or consolidation order. The work highlights that defense effectiveness varies by interface and memory architecture, underscoring the need to safeguard both what is stored and how memory is formed.

By Haowen Pan, Pengyang Shao, Yunshan Ma, Yanzheng Jin, Naixin Zhai, Xiang Wang, Xun Yang
Hugging Face Trending Papers
Oct 9

Forgetting is Not Always Bad: A Neuro-Inspired Memory Repair Mechanism for Poisoned LLM Agents

Large language model agents are vulnerable to memory‑poisoning attacks, and existing defenses rely on external modules that are memory‑inefficient and computationally heavy. The paper introduces DREAM, a training‑free, agent‑intrinsic memory repair framework that uses weak reactivation to destabilize malicious memories, anomaly detection on activation patterns, and selective suppression of harmful memories while reinforcing benign ones. Experiments show DREAM cuts backdoor attack success by over 95 % and improves runtime and token efficiency compared to A‑MemGuard, while maintaining high task success on poisoned multi‑agent systems.

arXiv AI
Oct 12

Forgetting is Not Always Bad: A Neuro-Inspired Memory Repair Mechanism for Poisoned LLM Agents

The paper introduces DREAM, a training‑free, agent‑intrinsic memory repair framework that selectively forgets poisoned memories in large language model agents. DREAM uses perturbation‑induced reactivation, anomaly detection on activation patterns, and dynamic suppression of harmful memories while reinforcing benign ones. Experiments show DREAM cuts backdoor attack success by over 95% and improves runtime and token efficiency compared to existing defenses.

By Lei Liu, Yunji Liang, Xiaowen Zhang, Jingqi Liu, Qi Li, Bin Guo, Zhiwen Yu
arXiv AI
Aug 25

InjecMEM: Memory Injection Attack on LLM Agent Memory Systems

InjecMEM introduces a memory injection attack that can steer the responses of large language model agents toward a desired output using only a single interaction, without needing read or edit access to the memory store. The attack leverages the retrieval‑then‑generate workflow of memory systems by crafting a retriever‑agnostic anchor with high‑recall topical cues and an adversarial command optimized through gradient‑based coordinate search. Experiments across various memory systems and backbone models show that InjecMEM reliably induces topic‑conditioned retrieval and targeted generation, remains effective even when memory drifts, and does not affect non‑target queries.

By Hanling Tian, Gengyu Zhang, Zeyang Sha, Jingying Wang, Yuhang Liu, Zhehao Huang, Kun Yang, Xiaolin Huang