RAGRouter: Learning to Route Queries to Multiple Retrieval-Augmented Language Models
On the map: Retrieval-augmented generation → RAG pipeline design and evaluation
Abstract (arXiv)
Retrieval-Augmented Generation (RAG) significantly improves the performance of Large Language Models (LLMs) on knowledge-intensive tasks. However, varying response quality across LLMs under RAG necessitates intelligent routing mechanisms, which select the most suitable model for each query from multiple retrieval-augmented LLMs via a dedicated router model. We observe that external documents dynamically affect LLMs' ability to answer queries, while existing routing methods, which rely on static parametric knowledge representations, exhibit suboptimal performance in RAG scenarios. To address this, we formally define the new retrieval-augmented LLM routing problem, incorporating the influence of retrieved documents into the routing framework. We propose RAGRouter, a RAG-aware routing design, which leverages document embeddings and RAG capability embeddings with contrastive learning to capture knowledge representation shifts and enable informed routing decisions. Extensive experiments on diverse knowledge-intensive tasks and retrieval settings, covering open and closed-source LLMs, show that RAGRouter outperforms the best individual LLM and existing routing methods. With an extended score-threshold-based mechanism, it also achieves strong performance-efficiency trade-offs under low-latency constraints. The code and data are available at https://github.com/OwwO99/RAGRouter.
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Placed in RAG pipeline design and evaluation, one of 15 directions in Retrieval-augmented generation. Builds on 49 of its 56 references that are in the map. First posted on arXiv 29 May 2025.
Builds on
49 of 56 references.
Closest ancestors · 3
Same direction, newest first
- 2025LaRA: Benchmarking Retrieval-Augmented Generation and Long-Context LLMs -- No Silver Bullet for LC or RAG Routing14 Feb
- 2024Speculative RAG: Enhancing Retrieval Augmented Generation through Drafting11 Jul
- 2023Retrieval-Augmented Generation for Large Language Models: A Survey18 Dec
Other references · 46
- 2017Attention Is All You Needcited by 60,361
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,513
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
- 2024Qwen2.5 Technical Reportcited by 4,942
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,955
34 more
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,141
- 2022Survey of Hallucination in Natural Language Generationcited by 2,075
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
- 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,463
- 2020Leveraging Passage Retrieval with Generative Models for Open Domain Question Answeringcited by 1,210
- 2022When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memoriescited by 1,128
- 2022Atlas: Few-shot Learning with Retrieval Augmented Language Modelscited by 952
- 2023Large Language Models Can Be Easily Distracted by Irrelevant Contextcited by 841
- 2024Yi: Open Foundation Models by 01.AIcited by 719
- 2024RouteLLM: Learning to Route LLMs with Preference Datacited by 682
- 2023C-Pack: Packed Resources For General Chinese Embeddingscited by 578
- 2022MedMCQA : A Large-scale Multi-Subject Multi-Choice Dataset for Medical domain Question Answeringcited by 543
- 2024Hybrid LLM: Cost-Efficient and Quality-Aware Query Routingcited by 372
- 2025R1-Searcher: Incentivizing the Search Capability in LLMs via Reinforcement Learningcited by 336
- 2023Benchmarking Large Language Models in Retrieval-Augmented Generationcited by 312
- 2024RouterBench: A Benchmark for Multi-LLM Routing Systemcited by 238
- 2023Large Language Model Routing with Benchmark Datasetscited by 172
- 2024GraphRouter: A Graph-based Router for LLM Selectionscited by 165
- 2022Rethinking with Retrieval: Faithful Large Language Model Inferencecited by 145
- 2023Routing to the Expert: Efficient Reward-guided Ensemble of Large Language Modelscited by 145
- 2021End-to-End Training of Multi-Document Reader and Retriever for Open-Domain Question Answeringcited by 133
- 2024InstructRAG: Instructing Retrieval-Augmented Generation via Self-Synthesized Rationalescited by 101
- 2023Fly-Swat or Cannon? Cost-Effective Language Model Choice via Meta-Modelingcited by 95
- 2024Enhancing Noise Robustness of Retrieval-Augmented Language Models with Adaptive Adversarial Trainingcited by 89
- 2024RouterDC: Query-Based Router by Dual Contrastive Learning for Assembling Large Language Modelscited by 88
- 2025Harnessing Multiple Large Language Models: A Survey on LLM Ensemblecited by 86
- 2024Searching for Best Practices in Retrieval-Augmented Generationcited by 83
- 2024TensorOpera Router: A Multi-Model Router for Efficient LLM Inferencecited by 60
- 2023Are ChatGPT and GPT-4 General-Purpose Solvers for Financial Text Analytics? A Study on Several Typical Taskscited by 59
- 2020WikiAsp: A Dataset for Multi-domain Aspect-based Summarizationcited by 56
- 2024EmbedLLM: Learning Compact Representations of Large Language Modelscited by 48
- 2024BMRetriever: Tuning Large Language Models as Better Biomedical Text Retrieverscited by 38
- 2024Unveiling the Generalization Power of Fine-Tuned Large Language Modelscited by 36
- 2023LLMEval: A Preliminary Study on How to Evaluate Large Language Modelscited by 23
Built on by
Citing papers per year: 2025: 2; 2026: 6.
8 papers.
- 2025When to Reason: Semantic Router for vLLMcited by 12
- 2026SeqRoute: Global Budget-Aware Sequential LLM Routing via Offline Reinforcement Learningcited by 2
- 2026Beyond the Reranker: Do RAG Retrieval Enhancements Help Once a Strong Reranker Is Present?cited by 1
- 2025R2R: A Route-to-Rerank Post-Training Framework for Multi-Domain Decoder-Only Rerankerscited by 0
- 2026The Coverage Illusion: From Pre-retrieval Routing Failure to Post-retrieval Cascades in a Production RAG Systemcited by 0
- 2026KACE: Knowledge-Adaptive Context Engineering for Mathematical Reasoningcited by 0
- 2026Certified Domain Consistency for Multi-Domain Retrieval: Label-Free Per-Domain Contamination Control with Conformal Risk Guaranteescited by 0
- 2026Bridging Static and Agentic RAG for Taiwanese Historical Question Answeringcited by 0
- 2026Bridging Static and Agentic RAG for Taiwanese Historical Question Answering19 Sep 2026
- 2026Certified Domain Consistency for Multi-Domain Retrieval: Label-Free Per-Domain Contamination Control with Conformal Risk Guarantees14 Jul 2026
- 2026Beyond the Reranker: Do RAG Retrieval Enhancements Help Once a Strong Reranker Is Present?14 Jun 2026
- 2026KACE: Knowledge-Adaptive Context Engineering for Mathematical Reasoning30 May 2026
- 2026The Coverage Illusion: From Pre-retrieval Routing Failure to Post-retrieval Cascades in a Production RAG System26 May 2026
- 2026SeqRoute: Global Budget-Aware Sequential LLM Routing via Offline Reinforcement Learning25 May 2026
- 2025R2R: A Route-to-Rerank Post-Training Framework for Multi-Domain Decoder-Only Rerankers25 Nov 2025
- 2025When to Reason: Semantic Router for vLLM9 Oct 2025
Similar, not cited
Close in wording, no citation either way
- 2026Route Before Retrieve: Activating Latent Routing Abilities of LLMs for RAG vs. Long-Context Selection
- 2026R3AG: Retriever Routing for Retrieval-Augmented Generation
- 2025SkewRoute: Training-Free LLM Routing for Knowledge Graph Retrieval-Augmented Generation via Score Skewness of Retrieved Context
- 2026Lightweight Query Routing for Adaptive RAG: A Baseline Study on RAGRouter-Bench
- 2025Efficient Federated Search for Retrieval-Augmented Generation using Lightweight Routing
- 2025LTRR: Learning To Rank Retrievers for LLMs
- 2024Enhancing Retrieval and Managing Retrieval: A Four-Module Synergy for Improved Quality and Efficiency in RAG Systems
- 2026RAGRouter-Bench: A Dataset and Benchmark for Adaptive RAG Routing