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

AgentSwing: 面向长时域网络代理的自适应并行上下文管理路由

AgentSwing: Adaptive Parallel Context Management Routing for Long-Horizon Web Agents

Zhaopeng Feng, Liangcai Su, Zhen Zhang, Xinyu Wang, Xiaotian Zhang, Xiaobin Wang, Runnan Fang, Qi Zhang, Baixuan Li, Shihao Cai, Rui Ye, Hui Chen, Jiang Yong, J… 展开作者

Zhaopeng Feng, Liangcai Su, Zhen Zhang, Xinyu Wang, Xiaotian Zhang, Xiaobin Wang, Runnan Fang, Qi Zhang, Baixuan Li, Shihao Cai, Rui Ye, Hui Chen, Jiang Yong, Joey Tianyi Zhou, Chenxiong Qian, Pengjun Xie, Bryan Hooi, Zuozhu Liu, Jingren Zhou

AI总结:

本文提出AgentSwing框架,通过搜索效率与终端精度两个维度优化长时域网络代理的上下文管理,实验证明其在交互次数更少的情况下性能更优。

摘要:

随着大语言模型(LLMs)演变为具有长时域信息检索能力的自主代理,管理有限的上下文容量已成为关键瓶颈。现有上下文管理方法通常采用单一固定策略贯穿整个轨迹,此类静态设计在某些状态下表现良好,但无法适应长时域搜索过程中积累的上下文的效用和可靠性变化。为正式化这一挑战,我们引入了一个概率框架,通过搜索效率和终端精度两个互补维度来表征长时域成功。基于这一视角,我们提出AgentSwing,一种状态感知的自适应并行上下文管理路由框架。在每个触发点,AgentSwing并行扩展多个上下文管理分支,并利用前瞻路由选择最有可能的延续路径。在多样化的基准测试和代理基础架构上,实验表明AgentSwing在交互次数更少的情况下(最多3倍少)一致优于强大的静态上下文管理方法,同时提升了长时域网络代理的最终性能上限。除了经验收益外,所提出的概率框架还为未来长时域代理的上下文管理策略分析和设计提供了系统性的视角。

英文摘要:

As large language models (LLMs) evolve into autonomous agents for long-horizon information-seeking, managing finite context capacity has become a critical bottleneck. Existing context management methods typically commit to a single fixed strategy throughout the entire trajectory. Such static designs may work well in some states, but they cannot adapt as the usefulness and reliability of the accumulated context evolve during long-horizon search. To formalize this challenge, we introduce a probabilistic framework that characterizes long-horizon success through two complementary dimensions: search efficiency and terminal precision. Building on this perspective, we propose AgentSwing, a state-aware adaptive parallel context management routing framework. At each trigger point, AgentSwing expands multiple context-managed branches in parallel and uses lookahead routing to select the most promising continuation. Experiments across diverse benchmarks and agent backbones show that AgentSwing consistently outperforms strong static context management methods, often matching or exceeding their performance with up to $3\times$ fewer interaction turns while also improving the ultimate performance ceiling of long-horizon web agents. Beyond the empirical gains, the proposed probabilistic framework provides a principled lens for analyzing and designing future context management strategies for long-horizon agents.

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

↑