arXiv AI

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.

arXiv Computation and Language
Nov 9

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.

By David H. Yang, Blake Bullwinkel, Amanda Minnich, Mohammad Mohammadi Amiri, Giorgio Severi
arXiv Computation and Language
Nov 5

Harness the Memory: A Holistic Evaluation of Memory Substrates in Memory Agents

The paper presents a comprehensive evaluation of 11 memory substrates for long‑horizon LLM agents, using a unified set of 26 performance and efficiency metrics across three backbone models and four benchmark suites. It finds that no single substrate consistently outperforms others; retrieval‑heavy substrates aid long‑context factual QA but can impair sequential decision‑making, and scalability can shift performance trade‑offs. The study demonstrates that selecting a memory substrate tailored to the operating regime yields better results than any fixed choice, offering empirical guidance for designing efficient, reliable, and regime‑aware long‑term memory systems.

By Wei-Chieh Huang, Weizhi Zhang, Yuchen Wu, Yankai Chen, Eric Hanchen Jiang, Wooseong Yang, Yiwei Yang, Henry Peng Zou, Hanrong Zhang, Ying Nian Wu, Haolun Wu, Kai-Wei Chang, Philip S. Yu, Xue Liu, Aylin Caliskan
arXiv AI
Nov 14

Discovering Effective Agent Memory Designs through Program Evolution

The paper introduces MAPE, a framework that uses program evolution to design agent memory systems from minimal seeds. Experiments on LoCoMo and LongMemEval show that evolved memory programs can outperform manually designed baselines by up to 12% in accuracy while reducing serving cost to 35%. The study identifies two key design patterns—retaining raw conversations as retrievable evidence and composing retrieved evidence based on query intent—and demonstrates that incorporating a composition module into existing memory systems improves accuracy across multiple benchmarks.

By Xinheng Ding, Seyyed Saeid Cheshmi, Ziyang Zhang, Tairan Chen, Wenya Xie, Yu Hou, Rui Zhang, Zirui Liu