Large language models (LLMs) excel in most NLP tasks but also require expensive cloud servers for deployment due to their size, while smaller models that can be deployed on lower cost (e.g., edge) devices, tend to lag behind in terms of response quality. Therefore in this work we propose a hybrid inference approach which combines their respective strengths to save cost and maintain quality. Our approach uses a router that assigns queries to the small or large model based on the predicted query difficulty and the desired quality level. The desired quality level can be tuned dynamically at test time to seamlessly trade quality for cost as per the scenario requirements. In experiments our approach allows us to make up to 40% fewer calls to the large model, with no drop in response quality.
RouterDC: Query-Based Router by Dual Contrastive Learning for Assembling Large Language Models
Southern University of Science and Technology(南方科技大学);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));The Hong Kong University of Science and Technology(香港科技大学)
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)(香港科学与技术大学(广州))
ConsRoute:Consistency-Aware Adaptive Query Routing for Cloud-Edge-Device Large Language Models
Department of Computer Science and Technology, Harbin Institute of Technology(哈尔滨工业大学计算机科学与技术系);National Key Laboratory of Smart Farm Technologies and Systems(国家智能农业技术与系统重点实验室);Department of Computer Science and Technology, Harbin Institute of Technology (ShenZhen)(哈尔滨工业大学(深圳)计算机科学与技术系)
Faculty of Informatics(信息学系);Information Technologies, Slovak University of Technology in Bratislava(信息技术,斯洛伐克技术大学布拉迪斯拉发分校);Centre for Machine Learning, University of Southern Denmark(机器学习中心,丹麦南部大学)
Routing Should Pay for Itself: Sparse Supervision for Economical LLM Routing
School of Artificial Intelligence, Nanjing University(南京大学人工智能学院);National Key Laboratory for Novel Software Technology, Nanjing University(南京大学计算机软件新技术全国重点实验室);The Hong Kong University of Science and Technology(香港科技大学);SinapisAI
DBCopilot: Natural Language Querying over Massive Databases via Schema Routing
Institute of Software, CAS(中国科学院软件研究所);Hangzhou Institute for Advanced Study, UCAS(中国科学院大学杭州高等研究院);University of Chinese Academy of Sciences (UCAS)(中国科学院大学);Alibaba Cloud Intelligence Group(阿里巴巴云智能集团)
Beyond Top-$k$ Skill Retrieval: Diversity-Aware Skill Routing for LLM Agents
Virginia Tech(弗吉尼亚理工大学);University of Southern California(南加州大学);Adobe Research(Adobe研究院);Dolby Labs(杜比实验室);Texas A&M University(德克萨斯A&M大学);Arizona State University(亚利桑那州立大学)
RealRoute: Dynamic Query Routing System via Retrieve-then-Verify Paradigm
Technical University of Denmark(技术大学);University of Exeter(埃克塞特大学);University of Toronto(多伦多大学);Rutgers University(罗格斯大学);NJIT(新 jersey 工业技术学院);University of Georgia(佐治亚大学);Wake Forest University(威克森林大学)
RouteLMT: Learned Sample Routing for Hybrid LLM Translation Deployment
School of Computer Science and Engineering, Northeastern University, Shenyang, China(东北大学计算机科学与工程学院,中国沈阳);NiuTrans Research, Shenyang, China(牛译研究院,中国沈阳)
Breaking the Tie: A Cluster-Aware Routing Framework for Large Language Models
Institute of Cyberspace Security, Zhejiang University of Technology(浙江工业大学网络空间安全研究院);Binjiang Institute of Artificial Intelligence, Zhejiang University of Technology(浙江工业大学滨江人工智能研究院);Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州))
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实验室)
CR^2: Cost-Aware Risk-Controlled Routing for Wireless Device-Edge LLM Inference
Cooperative Medianet Innovation Center, Shanghai Jiao Tong University(合作中位网创新中心,上海交通大学);Department of Broadband Communication, Pengcheng Laboratory(宽带通信部,鹏城实验室);Future Network of Intelligent Institute (FNii), the Chinese University of Hong Kong (Shenzhen)(智能网络研究所(FNii),香港中文大学(深圳));Meta
From Sampled Outcomes to Capability Distributions: Rethinking Supervision for LLM Routing
School of Artificial Intelligence, Nanjing University(南京大学人工智能学院);National Key Laboratory for Novel Software Technology, Nanjing University(南京大学新型软件技术国家重点实验室);Hong Kong University of Science and Technology(香港科学与技术大学);Frontier Robotics(前沿机器人)
RouteJudge: An Open Platform for Reproducible and Preference-Aware LLM Routing
School of Artificial Intelligence, Nanjing University(南京大学人工智能学院);National Key Laboratory for Novel Software Technology, Nanjing University(南京大学计算机软件新技术国家重点实验室);SinapisAI
Yandex(Yandex(央捷科斯));Lomonosov Moscow State University(罗蒙诺索夫莫斯科国立大学);Moscow Institute of Physics and Technology(莫斯科物理技术学院);National Research University Higher School of Economics(国立研究型大学高等经济学院)