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

CompAct-Bench:面向长 horizon 智能体任务的工作上下文压缩基准

CompAct-Bench: A Benchmark for Working-Context Compaction in Long-Horizon Agent Tasks

Fudan University(复旦大学);Tencent(腾讯);Tsinghua University(清华大学)

Jiayi Chen, Lizhe Chen, Yujia Chen, Shihan Dou, Ming Zhang, Chendi Ge, Shiguang Ni, Tao Gui, Qi Zhang, Xuanjing Huang, Maxm Pan

AI总结:

研究人员推出 CompAct-Bench 基准,通过在不同任务阶段压缩工作上下文并评估下游任务完成效果,发现前沿 LLM 压缩能力仍不足,Claude 和 GPT 系列表现最优但激进压缩下准确率仍显著下降。

摘要:

随着语言模型智能体被应用于日益复杂的扩展任务,其工作上下文会不断累积交互历史、工具观测结果、中间决策以及任务进展。上下文压缩为减少这种不断增长的历史记录提供了一种实用方法,同时允许执行继续进行,但目前对现代大语言模型(LLM)的压缩能力仍缺乏充分理解。我们推出 CompAct-Bench,这是一个通过下游智能体任务完成效果来评估工作上下文压缩的基准。该基准从成功的智能体轨迹出发,在执行的不同阶段插入压缩边界,用待评估模型压缩之前的工作上下文,再让同一执行器继续完成原始任务。为了在压缩器之间实现公平比较,我们采用轻量级迭代比率调整程序,在受控保留比率下对它们进行评估。CompAct-Bench 通过 BrowseComp、SWE-bench 和内部 CompanyBench 评估,涵盖信息检索、软件工程和面向工作空间的任务。我们的实验表明,即使对于前沿模型,工作上下文压缩仍然存在高度的信息损失:Claude 系列和 GPT 系列模型整体表现最强,但在激进压缩下,下游任务准确率仍存在显著下降。进一步分析显示,失败不仅常由信息遗漏导致,还源于任务状态的扭曲,例如将未解决的问题转变为明显的结论或遗忘先前已确定的结果,这可能导致错误决策或冗余执行。这些发现强调,工作上下文压缩是扩展智能体任务中 LLM 的一项独特且仍具挑战性的能力。

英文摘要:

As language-model agents are applied to increasingly extended tasks, their working context continuously accumulates interaction history, tool observations, intermediate decisions, and task progress. Context compaction offers a practical way to reduce this growing history while allowing execution to continue, yet the compaction ability of modern LLMs remains insufficiently understood. We introduce CompAct-Bench, a benchmark for evaluating working-context compaction through its downstream effect on agent task completion. Starting from successful agent trajectories, we insert compaction boundaries at different stages of execution, compress the preceding working context with the model under evaluation, and let the same executor continue the original task. To enable fair comparison across compactors, we evaluate them under controlled retention ratios using a lightweight iterative ratio-adjustment procedure. CompAct-Bench covers information-seeking, software-engineering, and workspace-oriented tasks through BrowseComp, SWE-bench, and an internal CompanyBench evaluation. Our experiments show that working-context compaction remains highly lossy even for frontier models: Claude- and GPT-family models perform strongest overall, yet substantial degradation in downstream task accuracy persists under aggressive compaction. Further analysis reveals that failures are often caused not only by omitted information, but also by distorted task state, such as turning unresolved issues into apparent conclusions or forgetting previously established results, which can lead to incorrect decisions or redundant execution. These findings highlight working-context compaction as a distinct and still challenging ability for LLMs operating in extended agent tasks.

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

↑