随着大型语言模型(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.
Beyond Shortest Path: Agentic Vehicular Routing with Semantic Context
Institute of Computing (IC)(计算学院);Hub de Inteligência Artificial e Arquiteturas Cognitivas (H.IAAC)(人工智能与认知架构中心);Universidade Estadual de Campinas (UNICAMP)(坎皮纳斯州立大学)
Agent-as-a-Router: Agentic Model Routing for Coding Tasks
National University of Singapore(新加坡国立大学);DAMO Academy, Alibaba Group(阿里巴巴达摩院);University of California, Berkeley(加州大学伯克利分校);The Hong Kong University of Science and Technology(香港科技大学);Zhejiang University(浙江大学)
Learning Query-Aware Budget-Tier Routing for Runtime Agent Memory
Nanyang Technological University(南洋理工大学);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);University of Illinois Chicago(伊利诺伊大学香槟分校);Tsinghua University(清华大学);Sun Yat-sen University(中山大学);The Hong Kong University of Science and Technology (Guangzhou)(香港科学与技术大学(广州))
TheoremForge: Scaling up Formal Data Synthesis with Low-Budget Agentic Workflow
Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学全球化人工智能学院);Beijing Key Laboratory of Research on Large Models(北京大模型研究关键实验室);Engineering Research Center of Next-Generation Intelligent Search(下一代智能搜索与推荐工程研究中心)
TwinRouterBench: Fast Static and Live Dynamic Evaluation for Realistic Agentic LLM Routing
Gradient;Soochow University(苏州大学);Independent Researcher(独立研究者);University of Southern California(南加州大学);Rice University(Rice大学);Carnegie Mellon University(卡内基梅隆大学);Shanghai Jiao Tong University(上海交通大学);University of California, Berkeley(加州大学伯克利分校);University of the Chinese Academy of Sciences(中国科学院大学);University of California, Los Angeles(加州大学洛杉矶分校)
RouteLMT: Learned Sample Routing for Hybrid LLM Translation Deployment
School of Computer Science and Engineering, Northeastern University, Shenyang, China(东北大学计算机科学与工程学院,中国沈阳);NiuTrans Research, Shenyang, China(牛译研究院,中国沈阳)
RouteGoT: Node-Adaptive Routing for Cost-Efficient Graph of Thoughts Reasoning
School of New Media and Communication, Tianjin University(新媒体与传播学院,天津大学);School of Computer Science and Engineering, Beihang University(计算机科学与工程学院,北航);Shanghai Jiao Tong University(上海交通大学)