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

TwinRouterBench:面向现实智能体LLM路由的快速静态与实时动态评估

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(加州大学洛杉矶分校)
Pei Yang, Wanyi Chen, Tongyun Yang, Pengbin Feng, Jiarong Xing, Wentao Guo, Yuhang Yao, Yuhang Han, Hanchen Li, Xu Wang, Yuan Gao, Zeyu Wang, Jie Xiao, Anjie Ya… 展开作者

Pei Yang, Wanyi Chen, Tongyun Yang, Pengbin Feng, Jiarong Xing, Wentao Guo, Yuhang Yao, Yuhang Han, Hanchen Li, Xu Wang, Yuan Gao, Zeyu Wang, Jie Xiao, Anjie Yang, Liang Tian, Lynn Ai, Eric Yang, Tianyu Shi

AI总结:

提出TwinRouterBench基准,通过静态轨迹级前缀和动态智能体执行两轨,实现无需在线LLM评判的步骤级路由评估。

摘要:

LLM路由在长时任务(如编码智能体、深度研究系统和计算机使用智能体)中最为重要,其中单个用户请求会触发多次模型调用。将每次调用路由到最便宜的足够模型可以在不牺牲质量的情况下降低成本,然而现有的路由器基准仅评估一次性提示的路由。它们从未暴露中间智能体步骤中路由器可见的前缀,从未测试更便宜的替代品是否保留下游任务的成功,并且通常在评估时依赖在线LLM评判。我们引入了TwinRouterBench,一个具有两轨的步骤级路由基准。静态轨提供来自SWE-bench、BFCL、mtRAG、QMSum和PinchBench中520个实例的970个路由器可见前缀,每个前缀与在发布的降级和级联协议下估计的执行验证目标层级配对;评分是层级标签、轨迹成员资格和令牌成本的确定性算术,无需在线评估方LLM评判。动态轨提供一个工具,可在完整的500例SWE-bench验证集上运行路由器;本文报告了与静态SWE监督划分不相交的100例保留评估。每次LLM调用时,路由器从锁定池中选择一个具体模型,成功由官方任务解决率和实际API支出衡量。两轨支持快速离线迭代,随后在实时智能体执行下进行端到端验证。代码和数据可在https://github.com/CommonstackAI/TwinRouterBench获取。

英文摘要:

LLM routing matters most in long-horizon applications such as coding agents, deep research systems, and computer-use agents, where a single user request triggers many model calls. Routing each call to the cheapest sufficient model can cut costs without sacrificing quality, yet existing router benchmarks evaluate routers only on one-shot prompts. They never expose the router-visible prefix at an intermediate agent step, never test whether a cheaper replacement preserves downstream task success, and often rely on online LLM judges at evaluation time. We introduce TwinRouterBench, a step-level routing benchmark with two tracks. The static track provides 970 router-visible prefixes from 520 instances across SWE-bench, BFCL, mtRAG, QMSum, and PinchBench, each paired with an execution-verified target tier estimated under a released downgrade-and-cascade protocol; scoring is deterministic arithmetic over tier labels, trajectory membership, and token costs, with no online evaluator-side LLM judge. The dynamic track supplies a harness that runs routers on the full 500-case SWE-bench Verified suite; in this paper we report a 100-case held-out evaluation disjoint from the static SWE supervision split. At each LLM call the router selects a concrete model from a locked pool, and success is measured by official task resolution and realized API spend. The two tracks support fast offline iteration followed by end-to-end validation under live agent execution. Code and data are available at https://github.com/CommonstackAI/TwinRouterBench.

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

↑