atlas

Research map / Large language models / Retrieval and knowledge

RAGRouter: Learning to Route Queries to Multiple Retrieval-Augmented Language Models

NeurIPS 2025 · Large language models › Retrieval and knowledge · approach: RAG robustness and evaluation · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes RAGRouter, a contrastive-learning router that picks among retrieval-augmented LLMs per query by modeling document-induced knowledge shifts and per-model RAG capability.

Problem

Routing queries to the best LLM when responses are produced under retrieval-augmented generation, where retrieved documents change which model can answer correctly; existing routers ignore documents and assume static parametric knowledge.

Approach

Represents each LLM with a parametric knowledge embedding plus a learnable RAG capability embedding, fuses them with document and query-document cross-encoder features via attention, and trains with cross-setting and intra-setting contrastive learning plus a classification loss so that query-model similarity reflects answerability under RAG.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use RAG-aware routing instead of the best single LLMRAGRouter · Main tasks (Avg)testing accuracy (%): 60.85 -> 64.46Helped
Use RAG-aware routing instead of non-RAG-aware routingRAGRouter · Main tasks (Avg)testing accuracy (%): 61.17 -> 64.46Helped
Include closed-source LLM candidates in the poolRAGRouter · NQ + WebQtesting accuracy (%): 57.71 -> 59.38Helped
Use score-threshold-based routingRAGRouter · MedMCQA LocalArea (%): 57.12Helped
Remove the Cross Encoder (equivalently, add query-document interaction encoding) (ablation)RAGRouter · Main tasks (Avg)testing accuracy (%): 63.48 -> 64.46Helped
Remove the RAG Capability Embedding Layer (equivalently, explicitly model RAG capability) (ablation)RAGRouter · Main tasks (Avg)testing accuracy (%): 63.70 -> 64.46Helped
Remove CSC (equivalently, add Cross-Setting Contrast) (ablation)RAGRouter · Main tasks (Avg)testing accuracy (%): 63.49 -> 64.46Helped
Remove ISC (equivalently, add Intra-Setting Contrast) (ablation)RAGRouter · Main tasks (Avg)testing accuracy (%): 63.82 -> 64.46Helped
Remove ISC and CSC (equivalently, use both contrastive objectives) (ablation)RAGRouter · Main tasks (Avg)testing accuracy (%): 62.28 -> 64.46Helped
Set embedding dimension to 128 instead of 768 (ablation)RAGRouter · Main tasks (Avg)testing accuracy (%): 63.00 -> 64.46Helped
Set embedding dimension to 256 instead of 768 (ablation)RAGRouter · Main tasks (Avg)testing accuracy (%): 63.65 -> 64.46Helped
Set embedding dimension to 384 instead of 768 (ablation)RAGRouter · Main tasks (Avg)testing accuracy (%): 63.43 -> 64.46Helped

Surprising findings

Limitations

Experimental setup

Datasets: PopQA MedMCQA Natural Questions WebQuestions TriviaQA 2018 English Wikipedia dump WikiASP HotpotQA

Benchmarks: PopQA MedMCQA Natural Questions WebQuestions TriviaQA WikiASP HotpotQA

Metrics: Cover Exact Match accuracy Area under accuracy-latency curve Peak accuracy Latency gap-to-match ROUGE-L

Baselines: Prompt LLM GraphRouter RouterDC KNN Router Matrix Factorization Oracle Single Best Random Weighted

Builds on: RouterDC GraphRouter RouteLLM EmbedLLM

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy