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

基于边界引导的预算感知代理路由

Budget-Aware Agentic Routing via Boundary-Guided Training

University of Cambridge(剑桥大学);M365 Research, Microsoft(微软M365研究)

Caiqi Zhang, Menglin Xia, Xuchao Zhang, Daniel Madrigal, Ankur Mallick, Samuel Kessler, Victor Ruehle, Saravan Rajmohan

AI总结:

本文提出基于边界引导的预算感知代理路由方法,通过动态选择廉价和昂贵模型以优化成本-成功率,并在稀疏奖励下实现高效训练和泛化能力。

摘要:

随着大型语言模型(LLMs)发展为能够执行长周期工作流的自主代理,每一步都调用高能力模型在经济上是不可持续的。虽然模型路由在单轮查询中有效,但代理路由是一个序列性、路径依赖性的问题:早期错误会累积,反馈通常在回合结束时出现,而部署往往需要严格的每任务支出限制。我们提出了预算感知代理路由,每一步在廉价和昂贵模型之间进行选择,以优化成本-成功率前沿并严格遵守每任务预算。我们提出了边界引导训练,利用两种边界策略(始终小 vs. 始终大)来构建难度分类法,并在稀疏奖励下锚定学习。我们的方法通过分层抽样成本高效轨迹来引导SFT数据合成,然后应用边界引导策略优化(BoPO),结合边界相对奖励与参考引导优势以避免退化为廉价失败解决方案。实验结果表明,我们的方法提高了效率前沿,在显著降低成本的同时匹配了强大的路由基线,同时展示了对严格推理时间预算限制的泛化能力。总体而言,我们的工作建立了一个代理路由的基础框架,将范式从静态模型选择转向动态、预算感知的序列决策。

英文摘要:

As large language models (LLMs) evolve into autonomous agents that execute long-horizon workflows, invoking a high-capability model at every step becomes economically unsustainable. While model routing is effective for single-turn queries, agentic routing is a sequential, path-dependent problem: early mistakes compound, feedback is often at the end of the episode, and deployments often demand strict per-task spending limits. We propose Budget-Aware Agentic Routing, which selects between a cheap and an expensive model at each step to optimize the cost--success frontier and to operate under strict per-task budgets. We propose Boundary-Guided Training, which leverages two boundary policies (always-small vs.\ always-large) to build a difficulty taxonomy and to anchor learning under sparse rewards. Our approach warms start with boundary-guided SFT data synthesis via stratified sampling of cost-efficient trajectories, then applies Boundary-Guided Policy Optimization (BoPO), combining boundary-relative rewards with a reference-guided advantage to avoid degenerate cheap-failure solutions. Experiment results show that our method improves the efficiency frontier, matching strong routing baselines at substantially lower cost while demonstrating generalization to strict inference-time budget constraints. Overall, our work establishes a foundational framework for agentic routing, shifting the paradigm from static model selection to dynamic, budget-aware sequential decision-making.

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

↑