arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.21726cs.CLcs.AIcs.LG
收藏

目标导向搜索在长上下文记忆任务中优于目标无关的记忆压缩

Goal-Directed Search Outperforms Goal-Agnostic Memory Compression in Long-Context Memory Tasks

Astera Institute(Astera研究所)

Yicong Zheng, Kevin L. McKee, Thomas Miconi, Zacharie Bugaud, Mick van Gelderen, Jed McCaleb

AI总结:

SUMER通过目标导向搜索在长上下文记忆任务中超越传统记忆压缩方法,达到SOTA性能。

摘要:

如何在大型语言模型(LLMs)中实现人类般的长期记忆已成为解锁更多通用能力(如少样本泛化)的核心问题。现有的记忆框架和基准主要集中在寻找最优的记忆压缩算法,以在需要回忆和有时进一步推理的任务中获得更高的性能。然而,这些努力最终导致在压缩算法中增加了更多的人类偏见,通过寻找最适合特定基准的最优提示和记忆架构,而不是找到一个通用的解决方案,该解决方案可以在其他数据分布上工作。另一方面,对未压缩信息进行目标导向搜索可能会展现出更优越的性能,因为压缩是损失性的,而预定义的压缩算法无法适用于所有原始数据分布。在这里,我们提出了SUMER(通过经验回放进行未压缩内存搜索),这是一个端到端的强化学习代理,具有可验证的奖励(RLVR),它学习使用搜索工具来收集信息并回答目标问题。在用于长上下文对话理解的LoCoMo数据集上,SUMER与Qwen2.5-7B-Instruct学习使用搜索工具,并在所有其他有偏的记忆压缩方法以及全上下文基线中表现更优,达到了SOTA性能(比先前最佳高出43%)。我们证明了简单的搜索方法应用于原始数据在当前长上下文记忆任务中优于目标无关和有偏压缩算法,主张新的范式和基准,这些基准更加动态和自主可扩展。SUMER的代码以及所有实现的基线在https://github.com/zycyc/SUMER上公开可用。

英文摘要:

How to enable human-like long-term memory in large language models (LLMs) has been a central question for unlocking more general capabilities such as few-shot generalization. Existing memory frameworks and benchmarks focus on finding the optimal memory compression algorithm for higher performance in tasks that require recollection and sometimes further reasoning. However, such efforts have ended up building more human bias into the compression algorithm, through the search for the best prompts and memory architectures that suit specific benchmarks, rather than finding a general solution that would work on other data distributions. On the other hand, goal-directed search on uncompressed information could potentially exhibit superior performance because compression is lossy, and a predefined compression algorithm will not fit all raw data distributions. Here we present SUMER (Search in Uncompressed Memory via Experience Replay), an end-to-end reinforcement learning agent with verifiable reward (RLVR) that learns to use search tools to gather information and answer a target question. On the LoCoMo dataset for long-context conversation understanding, SUMER with Qwen2.5-7B-Instruct learned to use search tools and outperformed all other biased memory compression approaches and also the full-context baseline, reaching SOTA performance (43% gain over the prior best). We demonstrate that a simple search method applied to raw data outperforms goal-agnostic and biased compression algorithms in current long-context memory tasks, arguing for new paradigms and benchmarks that are more dynamic and autonomously scalable. Code for SUMER and all implemented baselines is publicly available at https://github.com/zycyc/SUMER.

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

↑