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

IRT-Router:基于项目反应理论的高效可解释多LLM路由

IRT-Router: Effective and Interpretable Multi-LLM Routing via Item Response Theory

State Key Laboratory of Cognitive Intelligence, University of Science and Technology of China(认知智能国家重点实验室,中国科学技术大学);Institute of Artificial Intelligence, Hefei Comprehensive National Science Center(人工智能研究院,合肥综合性国家科学中心);School of Computing, National University of Singapore(计算学院,新加坡国立大学);NetEase Fuxi AI Lab(网易伏羲AI实验室)

Wei Song, Zhenya Huang, Cheng Cheng, Weibo Gao, Bihan Xu, GuanHao Zhao, Fei Wang, Runze Wu

AI总结:

针对多LLM选择中性能与成本的权衡,提出基于项目反应理论的IRT-Router路由框架,显式建模LLM能力与查询属性,实现高效可解释路由,并在20个LLM和12个数据集上验证了其优越性。

摘要:

大型语言模型(LLMs)在广泛的自然语言任务中展现了卓越的性能。然而,选择最优的LLM来响应用户查询通常需要在性能与成本之间进行微妙的平衡。虽然强大的模型能提供更好的结果,但成本高昂,而较小的模型虽然更具成本效益,但能力较弱。为了解决这一权衡问题,我们提出了IRT-Router,一个多LLM路由框架,能够高效地将用户查询路由到最合适的LLM。受心理测量学方法——项目反应理论(IRT)的启发,IRT-Router显式地建模了LLM能力与用户查询属性之间的关系。这不仅能够准确预测响应性能,还能提供可解释的洞察,如LLM能力和查询难度。此外,我们设计了一种基于语义相似度的在线查询预热技术,进一步增强了IRT-Router的在线泛化能力。在20个LLM和12个数据集上的大量实验表明,IRT-Router在有效性和可解释性方面优于大多数基线方法。其在冷启动场景中的优越性能进一步证实了IRT-Router在现实应用中的可靠性和实用性。代码可在https://github.com/Mercidaiha/IRT-Router获取。

英文摘要:

Large language models (LLMs) have demonstrated exceptional performance across a wide range of natural language tasks. However, selecting the optimal LLM to respond to a user query often necessitates a delicate balance between performance and cost. While powerful models deliver better results, they come at a high cost, whereas smaller models are more cost-effective but less capable. To address this trade-off, we propose IRT-Router, a multi-LLM routing framework that efficiently routes user queries to the most suitable LLM. Inspired by Item Response Theory (IRT), a psychological measurement methodology, IRT-Router explicitly models the relationship between LLM capabilities and user query attributes. This not only enables accurate prediction of response performance but also provides interpretable insights, such as LLM abilities and query difficulty. Additionally, we design an online query warm-up technique based on semantic similarity, further enhancing the online generalization capability of IRT-Router. Extensive experiments on 20 LLMs and 12 datasets demonstrate that IRT-Router outperforms most baseline methods in terms of effectiveness and interpretability. Its superior performance in cold-start scenarios further confirms the reliability and practicality of IRT-Router in real-world applications. Code is available at https://github.com/Mercidaiha/IRT-Router.

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

↑