Reproduce “MemEvoBench: Benchmarking Safety Risks from Memory Misevolution in LLM Agents” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Weiwei Xie, Shaoxiong Guo, Fan Zhang, Tian Xia, Xue Yang, Lizhuang Ma, Junchi Yan, Qibing Ren

MemEvoBench tests how misleading memories can affect agent safety across repeated interactions in question-answering and workflow tasks. It compares passive safety prompts with memory correction under simulated biased feedback, where responses are added to retrievable memory. Average attack success rates rose from 71.6% to 87.8% across three rounds with feedback. These constructed tests do not estimate real-world failure rates.

Key insights

  • LLM agents are highly susceptible to memory contamination, with safety risks dynamically increasing and being significantly amplified by continuous biased feedback during deployment.
  • Passive, instruction-based safety prompting offers limited protection against dynamic memory misevolution, particularly in workflow-style tasks and when combined with biased feedback.
  • Equipping agents with active memory verification and correction tools transforms them into memory curators, providing a more robust and effective defense against dynamic memory safety risks.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.