记忆是一种推导:长期智能体中的分布式证据悖论
研究论文 · 2026/10/01
长期运行的LLM智能体将过往交互压缩为持久记忆,这些记忆可能被后续任务用作前提,从而产生一个独特的推导问题:记忆是否真正由交互历史所支持。相关证据可能分散在早期交互中,而压缩可能引入历史从未确立的关系或事件状态。因此,一个有效的记忆可能因引用遗漏相关证据而显得无支持,而单独有支持的事实可能被组合成历史从未确立的更强陈述。我们通过三个耦合要求来刻画这一问题:(1)证据范围;(2)组合有效性;(3)准入可靠性。我们因此追问:写入时可用的交互历史是否支持进入持久记忆的内容。我们提出DerivAudit框架,用于审计记忆是否确实由写入时可用的历史所支持。该审计区分三个问题:支持性证据是否超出写入者提供的引用;组合后的记忆是否引入了无支持的涵义;写入时的准入决策如何影响后续记忆使用。在两个自然记忆语料库上,使用更广泛的写入前历史进行审计,可为近60%仅从引用看似乎无支持的记忆恢复支持,而17-21%在扩展后仍无支持。然而,更广泛的证据本身并不能使准入可靠:无支持的记忆在多个验证模型中仍频繁被准入,且仅证据扩展在两个骨干模型上反而加剧了这一问题。
该研究系统性地揭示了长期LLM智能体记忆推导中的核心矛盾,并提供了可操作的审计框架与实证发现,对提升智能体记忆可靠性和后续任务安全性具有重要价值。
Long-running LLM agents compress past interactions into persistent memories that may be reused as premises for later tasks. This creates a distinct derivation problem: whether the memory actually follows from what the interaction history supports. Relevant evidence may be scattered across earlier interactions, while compression can introduce relations or event status that the history never established. A valid memory may therefore appear unsupported because its citations omit relevant evidence, while individually supported facts may be composed into a stronger statement the history never established. We characterize this problem through three coupled requirements: (1) Evidence scope; (2) Compositional validity; (3) Admission reliability. We therefore ask whether the interaction history available at write time supports what enters persistent memory. We introduce DerivAudit, a framework for auditing whether a memory is actually supported by the history available when it was written. The audit separates three questions: whether supporting evidence lies beyond writer-provided citations, whether the composed memory introduces unsupported meaning, and how write-time admission decisions affect later memory use. Across two natural memory corpora, audits using broader pre-write history recover support for nearly 60% of memories that appear unsupported from citations alone, while 17-21% remain unsupported after expansion. Yet broader evidence does not by itself make admission reliable: unsupported memories are still frequently admitted across verification models, and evidence expansion alone worsens it on two backbones.