2025-10-29 · 专家 · 自然语言处理 · 机器学习

AgentFold: Long-Horizon Web Agents with Proactive Context Management

AgentFold通过模拟人类认知过程中的前瞻性上下文管理,提出了一种新的网络代理范式,显著提高了长时程任务中的信息搜索效率。

更新于 2025-10-30。作者:Rui Ye、Zhongwang Zhang、Kuan Li、Huifeng Yin、Zhengwei Tao、Yida Zhao、Liangcai Su、Liwen Zhang、Zile Qiao、Xinyu Wang、Pengjun Xie、Fei Huang、Siheng Chen、Jingren Zhou、Yong Jiang。

中文摘要

基于LLM的网页代理在信息检索方面展现出巨大的潜力,但它们在长期任务中的有效性受到上下文管理中根本性权衡的限制。基于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.

解读

一句话总结

AgentFold通过模拟人类认知过程中的前瞻性上下文管理,提出了一种新的网络代理范式,显著提高了长时程任务中的信息搜索效率。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt