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

SUMONE:一种用于即插即用智能体记忆的简单高效摘要器

SUMONE: A Simple and Efficient Summarizer for Plug-and-Play Agent Memory

Peking University(北京大学)

Jizhe Zhang, Ang Li, Chenheng Zhang, Yisen Wang

AI总结:

针对长程智能体交互历史的上下文压缩问题,提出独立摘要器SumOne,通过掩码重建结合GRPO实现自监督,在DeepSearchQA等任务上大幅降低推理成本且可跨模型迁移。

摘要:

长程语言模型智能体会积累越来越多的交互历史,这使得上下文压缩对于高效执行至关重要。现有的学习型压缩方法通常依赖下游任务结果或求解器行为,将训练与特定任务或智能体绑定。我们引入SumOne,这是一种独立的摘要器,通过掩码重建训练以保留智能体历史中的信息。给定过期历史的摘要,一个冻结的重建器会恢复原始轨迹的随机掩码部分;重建质量结合长度惩罚,为使用GRPO优化摘要器提供了与任务无关的奖励。这直接从原始轨迹中产生自监督,无需参考摘要或下游任务执行。在推理时,仅保留轻量级摘要器,可为原本未改变的智能体实现即插即用的上下文压缩。我们在长程搜索和软件工程任务中对SumOne进行了系统评估。与使用完整上下文相比,SumOne在DeepSearchQA上降低了约78%的估计推理成本,在SWE-bench Verified上降低了75%,绝对下降值为0.04。同一检查点还可跨下游模型和智能体工具包迁移,无需额外微调。

英文摘要:

Long-horizon language-model agents accumulate increasingly large interaction histories, making context compaction essential for efficient execution. Existing learned compaction methods often rely on downstream task outcomes or solver behavior, coupling training to specific tasks or agents. We introduce SumOne, a standalone summarizer trained to preserve information in agent histories through masked reconstruction. Given a summary of the expired history, a frozen reconstructor recovers randomly masked portions of the original trajectory; reconstruction quality, combined with a length penalty, provides a task-agnostic reward for optimizing the summarizer with GRPO. This yields self-supervision directly from raw trajectories, without reference summaries or downstream task execution. At inference time, only the lightweight summarizer is retained, enabling plug-and-play context compression for otherwise unchanged agents. We conduct a systematic evaluation of SumOne in long-horizon search and software-engineering tasks. SumOne reduces estimated inference cost by approximately 78\% on DeepSearchQA and 75\% on SWE-bench Verified relative to operating with full context, with absolute decreases of 0.04. The same checkpoint also transfers across downstream models and agent harnesses without additional fine-tuning.

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

↑