回忆缺失内容:从智能体的长期记忆中合成证据
Recall What Is Missing: Composing Evidence from Long-Term Agent Memory
AI总结:
该研究针对有限上下文预算下长期智能体的证据合成需求,提出无需训练的MemPursuit机制,在3个基准实验中提升了端到端准确率并大幅降低了延迟。
摘要:
在有限的上下文预算下,长期智能体不仅要回忆起单独相关的记忆,还要为当前查询收集整体足够的证据。传统的记忆访问会检索、评分并截断记忆,往往会在冗余事实上占用多个上下文槽位,却遗漏了互补证据。我们将长期记忆的读取阶段视为查询条件下的证据合成:每个记忆的价值在于它能为已选证据补充什么内容。我们用MemPursuit实现这一操作,这是一种无需训练的机制,它利用稀疏凸查询重构的残差作为当前记忆集缺失内容的表示空间代理。通过复用检索阶段已有的查询和候选嵌入,MemPursuit逐步合成嵌套的证据上下文,无需调用语言模型或交叉编码器来对每个查询-记忆对进行评分。我们在3个流行基准上验证了该方法的有效性,并与强大的基线进行了比较。在固定预算的LoCoMo实验中,MemPursuit在Top-10时将端到端准确率提高了7.2个百分点,在Top-20时提高了5.5个百分点,在多个记忆框架上均取得一致提升,同时与全批量BGE-v2-m3相比,中位数重排序延迟实现了32.9倍的加速。我们的实现可在该https URL获取。
英文摘要:
Under a limited context budget, a long-term agent must recall not merely memories that are individually relevant, but evidence that is collectively sufficient for the current query. Conventional memory access retrieves, scores, and truncates memories, often spending multiple context slots on redundant facts while leaving complementary evidence behind. We cast the read phase of long-term memory as query-conditioned evidence composition: each memory is valued by what it adds beyond the evidence already selected. We instantiate this operation with MemPursuit, a training-free mechanism that uses the residual of a sparse convex query reconstruction as a representation-space proxy for what the current memory set is missing. By reusing the query and candidate embeddings already available from retrieval, MemPursuit progressively composes nested evidence contexts without invoking a language model or cross-encoder to score each query--memory pair. The effectiveness of our method is verified on 3 popular benchmarks in comparison to strong baselines. In fixed-budget LoCoMo experiments, MemPursuit improves end-to-end accuracy by 7.2 percentage points at Top-10 and 5.5 percentage points at Top-20, with consistent gains across multiple memory frameworks, while achieving a 32.9$\times$ speedup in median reranking latency over fully batched BGE-v2-m3. Our implementation is available at https://github.com/FengQi-HITSZ/MemPursuit.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。