AgentBaton:智能体任务中的高效模型协作

·

研究论文 · 2026/11/09

解决长视野智能体任务需要语言智能体与环境进行多步交互,而可靠性能通常来自云服务商提供的昂贵强大模型。同时,性能稍逊但成本低得多的替代高效模型正在涌现,包括低层级云模型和可部署在本地硬件上的小型开源模型。这引发了一个比传统查询级路由探索更少的问题:强大模型和高效模型能否在单个长视野智能体任务中协作,在保持任务准确性的同时大幅降低成本?本文通过模型交接(一个模型接管另一个模型)系统研究了此类协作的关键设计选择,重点关注交接方向和上下文转移。我们发现,高效到强大的交接通常表现不如仅强大模型执行,成本降低有限甚至没有;而在任务进展的适当阶段进行强大到高效的交接,则能在大幅降低成本的同时基本保持甚至提高准确性。这些发现表明,一次性、简单且时机恰当的交接策略足以实现成本有效的智能体协作,从而推动了 AgentBaton 的提出,这是一个轻量级检测器,从任务进展的重复模式中学习何时交接。在 11 个模型对和两个代表性基准上,AgentBaton 平均降低 API 成本 65.9%,同时基本保持任务准确性,相比仅强大模型执行,准确性提升最高达 8.8 个百分点。在各种推理努力设置下的实验进一步表明,AgentBaton 扩展了经验准确性-成本帕累托前沿。

本文针对长视野智能体任务中成本与准确性的权衡,提出了简单有效的模型交接策略 AgentBaton,实验证明其能大幅降低 API 成本(平均 65.9%)同时保持甚至提升准确性,为实际部署中的成本优化提供了实用方案。

Solving long-horizon agentic tasks requires language agents to interact with their environments over multiple steps, and reliable performance often comes from the expensive capable models available through cloud providers. Meanwhile, alternative efficient models with inferior performance but a much lower cost are emerging, including lower-tier cloud models and smaller open-weights models deployable on local hardware. This raises a natural question that remains less explored than traditional query-level routing: can capable and efficient models collaborate within a single long-horizon agentic task to substantially reduce cost while preserving task accuracy? In this paper, we systematically investigate key design choices for such collaboration through model handoffs, where one model takes over from another, focusing on handoff direction and context transfer. We find that efficient-to-capable handoffs generally underperform capable-only execution with limited or even no cost reduction, whereas capable-to-efficient handoffs at suitable stages of task progress largely preserve or even improve accuracy while substantially reducing cost. These findings suggest that a one-time, simple, well-timed handoff strategy is good enough for cost-effective agent collaboration, motivating AgentBaton, a lightweight detector that learns when to hand off from recurring patterns in task progress. Across 11 model pairs and two representative benchmarks, AgentBaton reduces API costs by 65.9% on average while largely preserving task accuracy, with accuracy gains of up to 8.8 percentage points over capable-only execution. Experiments across various reasoning-effort settings further show that AgentBaton extends the empirical accuracy-cost Pareto frontier.

阅读原文

参与讨论