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

LLMRouterBench: 一个大规模基准和统一框架用于LLM路由

LLMRouterBench: A Massive Benchmark and Unified Framework for LLM Routing

Northwestern Polytechnical University(西北工业大学);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室)

Hao Li, Yiqun Zhang, Zhaoyan Guo, Chenxu Wang, Shengji Tang, Qiaosheng Zhang, Yang Chen, Biqing Qi, Peng Ye, Lei Bai, Zhen Wang, Shuyue Hu

AI总结:

LLMRouterBench通过大规模基准和统一框架评估LLM路由方法,揭示了模型互补性、性能-成本权衡及路由方法的局限性。

摘要:

大规模语言模型(LLM)路由将每个查询分配给一个集合中最合适的模型。我们介绍了LLMRouterBench,这是一个大规模基准和统一框架,用于LLM路由。它包含来自21个数据集和33个模型的超过40万实例。此外,它提供了全面的指标,用于性能导向的路由和性能-成本权衡路由,并集成了10个代表性的路由基线。使用LLMRouterBench,我们系统地重新评估了该领域。虽然确认了模型互补性——LLM路由的核心前提——但我们发现许多路由方法在统一评估下表现相似,而一些近期方法,包括商业路由器,未能可靠地优于简单的基线。同时,与Oracle之间仍存在显著差距,主要由持续的模型-回忆失败驱动。我们进一步表明,骨干嵌入模型影响有限,较大的集合相比精心挑选的模型表现出递减的回报,且该基准还支持延迟感知的分析。所有代码和数据均可在https://github.com/ynulihao/LLMRouterBench获取。

英文摘要:

Large language model (LLM) routing assigns each query to the most suitable model from an ensemble. We introduce LLMRouterBench, a large-scale benchmark and unified framework for LLM routing. It comprises over 400K instances from 21 datasets and 33 models. Moreover, it provides comprehensive metrics for both performance-oriented routing and performance-cost trade-off routing, and integrates 10 representative routing baselines. Using LLMRouterBench, we systematically re-evaluate the field. While confirming strong model complementarity-the central premise of LLM routing-we find that many routing methods exhibit similar performance under unified evaluation, and several recent approaches, including commercial routers, fail to reliably outperform a simple baseline. Meanwhile, a substantial gap remains to the Oracle, driven primarily by persistent model-recall failures. We further show that backbone embedding models have limited impact, that larger ensembles exhibit diminishing returns compared to careful model curation, and that the benchmark also enables latency-aware analysis. All code and data are available at https://github.com/ynulihao/LLMRouterBench.

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

↑