arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.14431cs.CRcs.CL
收藏

MemForm:针对大语言模型智能体的记忆形成投毒基准测试

MemForm: Benchmarking Memory Formation Poisoning in LLM Agents

University of Science and Technology of China(中国科学技术大学);National University of Singapore(新加坡国立大学);Singapore Management University(新加坡管理大学)

Haowen Pan, Pengyang Shao, Yunshan Ma, Yanzheng Jin, Naixin Zhai, Xiang Wang, Xun Yang

AI总结:

本研究针对LLM智能体的记忆形成投毒问题,推出MemForm基准,评估五类接口的易感性,发现记忆形成过程会影响智能体行为,现有防御措施缓解效果有限。

摘要:

长期记忆使大语言模型(LLM)智能体能够从过往交互中学习,但也让记忆形成过程易受对抗性影响。现有研究主要通过攻击渠道、损坏模式或生命周期阶段来组织记忆投毒,对形成接口的表征不足。我们将记忆形成投毒定义为对持久智能体记忆的生成与提交接口的对抗性操纵,并推出MemForm这一受控诊断基准,涵盖内容、证据、范围、选择和路径投毒五类接口。我们将选择和路径投毒作为受控干预类别,分别隔离保留和巩固顺序效应。每个类别均设置干净与投毒条件,并配有接口特定控制。对6种LLM和2种响应格式的评估显示,在评估的记忆协议与实现下,五类接口均存在广泛易感性。关键发现是,具有成功结果的真实体验无法保证记忆形成后的可靠行为:上下文支持、保留或巩固顺序的改变可引发不良下游行为,尤其是巩固顺序即便在保留体验完全相同的情况下,也会根据记忆形成过程改变行为。额外分析表明,接口适用性取决于记忆架构,路径投毒易感性取决于更新器。评估的防御措施仅提供不完全缓解,且因接口而异。这些发现推动了对提交至持久记忆的内容及记忆形成过程的保护。代码与数据可在该https URL获取。

英文摘要:

Long-term memory enables LLM agents to learn from past interactions but exposes memory formation to adversarial influence. Existing studies primarily organize memory poisoning by attack channels, corruption patterns, or lifecycle stages, leaving formation interfaces insufficiently characterized. We formulate Memory Formation Poisoning as adversarial manipulation of the interfaces through which persistent agent memory is produced and committed, and introduce MemForm, a controlled diagnostic benchmark covering five interfaces: Content, Evidence, Scope, Selection, and Path Poisoning. We introduce Selection and Path Poisoning as controlled intervention categories that isolate retention and consolidation order effects, respectively. Each category pairs clean and poisoned conditions with interface-specific controls. Evaluations across six LLMs and two response formats reveal broad susceptibility at all five interfaces under the evaluated memory protocols and implementations. Crucially, authentic experiences with successful outcomes do not guarantee reliable behavior after memory formation: changes to contextual support, retention, or consolidation order can induce undesirable downstream behavior. In particular, consolidation order can alter behavior even with identical retained experiences, depending on the memory formation procedure. Additional analyses show that interface applicability depends on memory architecture and that Path Poisoning susceptibility depends on the updater. The evaluated defenses provide incomplete mitigation that varies by interface. These findings motivate protecting both what is committed to persistent memory and how memory is formed from experiences. Code and data are available at https://github.com/opanhw/memform-code.

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

↑