arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.09330cs.LGcs.AI
收藏

轨迹的陷阱:朝着理解并缓解代理记忆中的虚假相关性

The Trap of Trajectory: Towards Understanding and Mitigating Spurious Correlations in Agentic Memory

Binghamton University, State University of New York(宾夕法尼亚州立大学);Oakland University(奥克兰大学);University of Pennsylvania(宾夕法尼亚大学)

Luoxi Tang, Rupali Rajendra Vaje, Yuqiao Meng, Sakshi Sunil Narkar, Weicheng Ma, Zeyu Ding, Dazheng Zhang, Zhaohan Xi

AI总结:

本文研究代理记忆中的虚假相关性问题,通过基准测试揭示记忆在清洁输入下提升推理但放大虚假模式依赖性,并提出CAMEL方法在写入和检索时减少对虚假模式的依赖,同时保持性能。

摘要:

代理记忆使LLM能够超越单个上下文窗口保留信息并重用于后续决策,但引入了新的漏洞:虚假相关性,即检索的记忆携带不相关的证据,并将错误推理传播到下游决策。尽管代理记忆被广泛使用,但此风险仍鲜有研究。我们从两个方面解决此问题。首先,我们通过因果结构识别几种典型的虚假模式并记录在轨迹级记忆中。对代理记忆系统进行此基准测试发现,记忆在清洁输入上提升推理,但当存在虚假模式时会放大其依赖性。其次,我们提出CAMEL,一种插件式校准方法,可在不同记忆架构的写入和检索过程中运行。CAMEL在所有三种类型上一致减少对虚假模式的依赖,同时在清洁输入上保持或提高性能,并在针对校准的适应性攻击下保持稳健。总体而言,CAMEL提供了一种原理上可行且轻量级的解决方案,以实现更可靠的代理记忆部署。

英文摘要:

Agentic memory enables LLMs to persist information beyond a single context window and reuse it in later decisions, but it also introduces a new vulnerability: spurious correlations, where retrieved memory carries miscorrelated evidence and propagates erroneous reasoning into downstream decisions. Despite the widespread use of agentic memory, this risk remains largely underexplored. We address it from two aspects. First, we benchmark several canonical types of spurious patterns identified through causal structure and record them across trajectory-level memory. Diagnosing agentic memory systems on this benchmark reveals that memory improves reasoning on clean inputs but amplifies reliance on spurious patterns when they are present. Second, we propose CAMEL, a plug-and-play calibration method that operates across diverse memory architectures at both write and retrieval time. CAMEL consistently reduces reliance on spurious patterns across all three types while preserving or improving performance on clean inputs and staying robust under adaptive attacks targeting the calibration. Overall, CAMEL offers a principled and lightweight solution toward more reliable agentic memory deployment.

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

↑