AgentFold:具备主动上下文管理的长时序Web智能体
AgentFold: Long-Horizon Web Agents with Proactive Context Management
AI总结:
针对长时序Web智能体上下文管理的核心权衡问题,提出受人类认知启发的AgentFold范式,通过多尺度“折叠”操作主动管理上下文,仅用监督微调的小模型便超越大尺寸开源及领先专有智能体的性能。
摘要:
基于大语言模型(LLM)的Web智能体在信息检索领域展现出巨大潜力,但其在长时序任务上的有效性受到上下文管理中一个核心权衡问题的制约。主流的基于ReAct的智能体会因积累嘈杂的原始历史记录而出现上下文饱和问题,而那些在每一步都对完整历史进行固定摘要的方法则存在关键细节不可逆丢失的风险。针对这些问题,我们受人类回顾巩固的认知过程启发,提出了AgentFold——一种以主动上下文管理为核心的新型智能体范式。AgentFold将其上下文视为需要主动塑造的动态认知工作空间,而非被动填充的日志。在每一步中,它学习执行“折叠”操作,该操作可在多个尺度上管理其历史轨迹:既能执行细粒度压缩以保留关键的精细细节,也能进行深度整合以抽象掉整个多步子任务。在知名基准上的实验结果十分突出:仅通过简单的监督微调(无需持续预训练或强化学习),我们的AgentFold-30B-A3B智能体在BrowseComp上达到36.2%的准确率,在BrowseComp-ZH上达到47.3%的准确率。值得注意的是,这一性能不仅超越或持平于规模远更大的开源模型(如DeepSeek-V3.1-671B-A37B),还超越了OpenAI的o4-mini等领先的专有智能体。
英文摘要:
LLM-based web agents show immense promise for information seeking, yet their effectiveness on long-horizon tasks is hindered by a fundamental trade-off in context management. Prevailing ReAct-based agents suffer from context saturation as they accumulate noisy, raw histories, while methods that fixedly summarize the full history at each step risk the irreversible loss of critical details. Addressing these, we introduce AgentFold, a novel agent paradigm centered on proactive context management, inspired by the human cognitive process of retrospective consolidation. AgentFold treats its context as a dynamic cognitive workspace to be actively sculpted, rather than a passive log to be filled. At each step, it learns to execute a `folding' operation, which manages its historical trajectory at multiple scales: it can perform granular condensations to preserve vital, fine-grained details, or deep consolidations to abstract away entire multi-step sub-tasks. The results on prominent benchmarks are striking: with simple supervised fine-tuning (without continual pre-training or RL), our AgentFold-30B-A3B agent achieves 36.2% on BrowseComp and 47.3% on BrowseComp-ZH. Notably, this performance not only surpasses or matches open-source models of a dramatically larger scale, such as the DeepSeek-V3.1-671B-A37B, but also surpasses leading proprietary agents like OpenAI's o4-mini.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。