RealRoute: Dynamic Query Routing System via Retrieve-then-Verify Paradigm
Organizations: Technical University of Denmark · University of Exeter · University of Toronto · Rutgers University ·
Abstract
Despite the success of Retrieval-Augmented Generation (RAG) in grounding LLMs with external knowledge, its application over heterogeneous sources (e.g., private databases, global corpora, and APIs) remains a significant challenge. Existing approaches typically employ an LLM-as-a-Router to dispatch decomposed sub-queries to specific sources in a predictive manner. However, this "LLM-as-a-Router" strategy relies heavily on the semantic meaning of different data sources, often leading to routing errors when source boundaries are ambiguous. In this work, we introduce RealRoute System, a framework that shifts the paradigm from predictive routing to a robust Retrieve-then-Verify mechanism. RealRoute ensures evidence completeness through parallel, source-agnostic retrieval, followed by a dynamic verifier that cross-checks the results and synthesizes a factually grounded answer. Our demonstration allows users to visualize the real-time "re-routing" process and inspect the verification chain across multiple knowledge silos. Experiments show that RealRoute significantly outperforms predictive baselines in the multi-hop Rag reasoning task. The RealRoute system is released as an open-source toolkit with a user-friendly web interface. The code is available at the URL: https://github.com/Joseph1951210/RealRoute.
Figures & tables
| System | Multi-Hop | Multi-Source Retrieval | Cross-Domain | Knowledge Check |
|---|---|---|---|---|
| Naive RAG Lewis et al. (2020) | ✗ | ✗ | ✗ | ✗ |
| HippoRAG Jimenez Gutierrez et al. (2024) | ✓ | ✗ | ✗ | ✗ |
| GraphRag system Edge et al. (2024) | ✗ | ✓ | ✗ | ✗ |
| Deepsieve system Guo et al. (2026) | ✓ | ✓ | ✗ | ✗ |
| Real Route | ✓ | ✓ | ✓ | ✓ |
| Model | Setting | Method | EM | F1 | Avg Tokens |
|---|---|---|---|---|---|
| GPT-4o | 2-source | Hard Routing (Baseline) | 49.30 | 61.70 | 3926.6 |
| Real Route (Ours) | 53.67 | 66.93 | 2711.5 | ||
| 3-source | Hard Routing (Baseline) | 52.33 | 63.90 | 1881.6 | |
| Real Route (Ours) | 53.00 | 64.61 | 2553.6 | ||
| 4-source | Hard Routing (Baseline) | 56.67 | 68.08 | 1941.2 | |
| Real Route (Ours) | 56.67 | 67.09 | 2651.3 |
| Paradigm | EM | F1 | #Tokens |
|---|---|---|---|
| Direct | 36.2 | 28.0 | 55.5 |
| IR-CoT Trivedi et al. (2023b) | 30.8 | 22.4 | 481.9 |
| ReAct Yao et al. (2022) | 39.6 | 32.2 | 9795.1 |
| ReWOO Xu et al. (2023) | 40.1 | 30.4 | 1986.2 |
| Reflexion Shinn et al. (2023) | 46.7 | 62.5 | 37893.0 |
| DeepSieve Guo et al. (2026) | 49.3 | 61.7 | 3926.6 |
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
Retrieval-Augmented Generation
Retrieval-augmented generation connects language models to external knowledge so answers can use current, domain-specific evidence.
See all 766 papers