arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2604.15774cs.CL
收藏

MemEvoBench: 评估LLM代理中内存误进化带来的安全风险

MemEvoBench: Benchmarking Safety Risks from Memory Misevolution in LLM Agents

Shanghai Jiao Tong University(上海交通大学);East China Normal University(华东师范大学);Shandong University(山东大学);Duke University(杜克大学)

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

AI总结:

本文提出MemEvoBench,首个评估LLM代理长期内存安全性的基准,针对对抗性内存注入、噪声工具输出和偏见反馈,通过7个领域36种风险类型的问题任务和20个Agent-SafetyBench环境改编的工作流任务,验证了内存进化对安全性的重大影响,指出静态提示防御不足,亟需加强LLM代理内存进化的安全性。

摘要:

为大型语言模型(LLMs)配备持久化内存可以增强交互连续性和个性化,但引入了新的安全风险。具体而言,受污染或偏见的内存积累可能触发异常代理行为。现有的评估方法尚未建立衡量内存误进化的标准化框架。这种现象是指由于反复接触误导信息而导致的行为漂移。为解决这一缺口,我们引入MemEvoBench,首个评估LLM代理长期内存安全性的基准,针对对抗性内存注入、噪声工具输出和偏见反馈。该框架包含7个领域36种风险类型的问答式任务,以及改编自20个Agent-SafetyBench环境的工作流任务,采用混合良性与误导性内存池在多轮交互中模拟内存进化。在代表性模型上的实验揭示了在偏见内存更新下显著的安全退化。我们的分析表明,内存进化是这些失败的重要原因。此外,静态提示基于防御证明不足,强调了在LLM代理中保障内存进化的安全性的紧迫性。

英文摘要:

Equipping Large Language Models (LLMs) with persistent memory enhances interaction continuity and personalization but introduces new safety risks. Specifically, contaminated or biased memory accumulation can trigger abnormal agent behaviors. Existing evaluation methods have not yet established a standardized framework for measuring memory misevolution. This phenomenon refers to the gradual behavioral drift resulting from repeated exposure to misleading information. To address this gap, we introduce MemEvoBench, the first benchmark evaluating long-horizon memory safety in LLM agents against adversarial memory injection, noisy tool outputs, and biased feedback. The framework consists of QA-style tasks across 7 domains and 36 risk types, complemented by workflow-style tasks adapted from 20 Agent-SafetyBench environments with noisy tool returns. Both settings employ mixed benign and misleading memory pools within multi-round interactions to simulate memory evolution. Experiments on representative models reveal substantial safety degradation under biased memory updates. Our analysis suggests that memory evolution is a significant contributor to these failures. Furthermore, static prompt-based defenses prove insufficient, underscoring the urgency of securing memory evolution in LLM agents.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑