RouterDC: Query-Based Router by Dual Contrastive Learning for Assembling Large Language Models
Shuhao Chen, Weisen Jiang, Baijiong Lin, James T. Kwok, Yu Zhang
摘要
Recent works show that assembling multiple off-the-shelf large language models (LLMs) can harness their complementary abilities. To achieve this, routing is a promising method, which learns a router to select the most suitable LLM for each query. However, existing routing models are ineffective when multiple LLMs perform well for a query. To address this problem, in this paper, we propose a method called query-based Router by Dual Contrastive learning (RouterDC). The RouterDC model, which consists of an encoder and LLM embeddings, is trained by two proposed contrastive losses (sample-LLM and sample-sample losses). Experimental results show that RouterDC is effective in assembling LLMs and largely outperforms individual top-performing LLMs as well as existing routing methods on both in-distribution (+2.76%) and out-of-distribution (+1.90%) tasks. The source code is available at https://github.com/shuhao02/RouterDC.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 44 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Router-R1: Teaching LLMs Multi-Round Routing and Aggregation via Reinforcement Learning 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- ReMA: Learning to Meta-Think for LLMs with Multi-agent Reinforcement Learning 引用了 MasRouter: Learning to Route LLMs for Multi-Agent Systems
- ReMA: Learning to Meta-Think for LLMs with Multi-agent Reinforcement Learning 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- Learning to Orchestrate Agents in Natural Language with the Conductor 引用了 Measuring Massive Multitask Language Understanding
- Universal Model Routing for Efficient LLM Inference 引用了 Measuring Massive Multitask Language Understanding
- Learning Transferable Visual Models From Natural Language Supervision 引用了 A Simple Framework for Contrastive Learning of Visual Representations
引用它的顶会 Paper44
- Universal Model Routing for Efficient LLM InferenceWittawat Jitkrittum, Harikrishna Narasimhan, Ankit Singh Rawat, Jeevesh Juneja 等ICLR 2026 · 99 次引用
- Router-R1: Teaching LLMs Multi-Round Routing and Aggregation via Reinforcement LearningHaozhen Zhang, Tao Feng, Jiaxuan YouNeurIPS 2025 · 81 次引用
- ReMA: Learning to Meta-Think for LLMs with Multi-agent Reinforcement LearningZiyu Wan, Yunxiang Li, Xiaoyu Wen, Yan Song 等NeurIPS 2025 · 76 次引用
- MasRouter: Learning to Route LLMs for Multi-Agent SystemsYanwei Yue, Guibin Zhang, Boyang Liu, Guancheng Wan 等ACL 2025 · 45 次引用
- Learning to Orchestrate Agents in Natural Language with the ConductorStefan Nielsen, Edoardo Cetin, Peter Schwendeman, Qi Sun 等ICLR 2026 · 22 次引用
它引用的 Paper27
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh 等ICML 2021 · 47,906 次引用
- A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 次引用
- Direct Preference Optimization: Your Language Model is Secretly a Reward ModelRafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning 等NeurIPS 2023 · 10,924 次引用
- Measuring Massive Multitask Language UnderstandingDan Hendrycks, Collin Burns, Steven Basart, Andy Zou 等ICLR 2021 · 7,905 次引用
- Deberta: decoding-Enhanced Bert with Disentangled AttentionPengcheng He, Xiaodong Liu, Jianfeng Gao, Weizhu ChenICLR 2021 · 3,729 次引用
相关 Paper
- RAGRouter: Learning to Route Queries to Multiple Retrieval-Augmented Language ModelsJiarui Zhang, Xiangyu Liu, Yong Hu, Chaoyue Niu 等NeurIPS 2025 · 12 次引用
- RadialRouter: Structured Representation for Efficient and Robust Large Language Models RoutingRuihan Jin, Pengpeng Shao, Zhengqi Wen, Jinyang Wu 等EMNLP Findings 2025 · 1 次引用
- ICL-Router: In-Context Learned Model Representations for LLM RoutingChenxu Wang, Hao Li, Yiqun Zhang, Linyao Chen 等AAAI 2026 · 11 次引用
- RouterHGC: Optimized Router for LLM-based Multi-Agent Systems via Heterogeneous Graph Contrastive LearningYitao Xiao, Shaoyong Guo, Guoming Yang, Qingnan Wang 等ACL Findings 2026
- LLMRouterBench: A Massive Benchmark and Unified Framework for LLM RoutingHao Li, Yiqun Zhang, Zhaoyan Guo, Chenxu Wang 等ACL Findings 2026
