RoutIR: Fast Serving of Retrieval Pipelines for Retrieval-Augmented Generation
On the map: Retrieval-augmented generation → RAG pipeline design and evaluation
Abstract (arXiv)
Retrieval models are key components of Retrieval-Augmented Generation (RAG) systems, which generate search queries, process the documents returned, and generate a response. RAG systems are often dynamic and may involve multiple rounds of retrieval. While many state-of-the-art retrieval methods are available through academic IR platforms, these platforms are typically designed for the Cranfield paradigm in which all queries are known up front and can be batch processed offline. This simplification accelerates research but leaves state-of-the-art retrieval models unable to support downstream applications that require online services, such as arbitrary dynamic RAG pipelines that involve looping, feedback, or even self-organizing agents. In this work, we introduce RoutIR, a Python package that provides a simple and efficient HTTP API that wraps arbitrary retrieval methods, including first stage retrieval, reranking, query expansion, and result fusion. By providing a minimal JSON configuration file specifying the retrieval models to serve, RoutIR can be used to construct and query retrieval pipelines on-the-fly using any permutation of available models (e.g., fusing the results of several first-stage retrieval methods followed by reranking). The API automatically performs asynchronous query batching and caches results by default. While many state-of-the-art retrieval methods are already supported by the package, RoutIR is also easily expandable by implementing the Engine abstract class. The package is open-sourced and publicly available on GitHub: http://github.com/hltcoe/routir.
Key facts. Cited by 1 paper 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 34 of its 53 references that are in the map. First posted on arXiv 15 Jan 2026.
Builds on
34 of 53 references.
Closest ancestors · 3
Same direction, newest first
- 2025Constructing and Evaluating Declarative RAG Pipelines in PyTerrier12 Jun
- 2025GINGER: Grounded Information Nugget-Based Generation of Responses23 Mar
- 2024Corrective Retrieval Augmented Generation29 Jan
Other references · 31
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
- 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,839
- 2025Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Modelscited by 1,261
- 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,252
- 2020Leveraging Passage Retrieval with Generative Models for Open Domain Question Answeringcited by 1,210
- 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 832
- 2022MTEB: Massive Text Embedding Benchmarkcited by 640
- 2020Pretrained Transformers for Text Ranking: BERT and Beyondcited by 267
- 2024Assisting in Writing Wikipedia-like Articles From Scratch with Large Language Modelscited by 154
- 2024xRAG: Extreme Context Compression for Retrieval-augmented Generation with One Tokencited by 125
- 2021The Expando-Mono-Duo Design Pattern for Text Ranking with Pretrained Sequence-to-Sequence Modelscited by 81
19 more
- 2024SPLADE-v3: New baselines for SPLADEcited by 72
- 2025Rank1: Test-Time Compute for Reranking in Information Retrievalcited by 70
- 2025Retrieval-Augmented Generation with Conflicting Evidencecited by 63
- 2023A Setwise Approach for Effective and Highly Efficient Zero-shot Ranking with Large Language Modelscited by 55
- 2022Tevatron: An Efficient and Flexible Toolkit for Dense Retrievalcited by 47
- 2025Tevatron 2.0: Unified Document Retrieval Toolkit across Scale, Language, and Modalitycited by 30
- 2024Efficient Inverted Indexes for Approximate Retrieval over Learned Sparse Representationscited by 24
- 2024Translate-Distill: Learning Cross-Language Dense Retrieval by Translation and Distillationcited by 22
- 2025Collab-RAG: Boosting Retrieval-Augmented Generation for Complex Question Answering via White-Box and Black-Box LLM Collaborationcited by 20
- 2024Overview of the TREC 2023 NeuCLIR Trackcited by 17
- 2020Flexible retrieval with NMSLIB and FlexNeuARTcited by 14
- 2025KiRAG: Knowledge-Driven Iterative Retriever for Enhancing Retrieval-Augmented Generationcited by 13
- 2025Overview of the TREC 2024 NeuCLIR Trackcited by 13
- 2025LLM4Ranking: An Easy-to-use Framework of Utilizing Large Language Models for Document Rerankingcited by 12
- 2025Milco: Learned Sparse Retrieval Across Languages via a Multilingual Connectorcited by 9
- 2025HLTCOE at LiveRAG: GPT-Researcher using ColBERT retrievalcited by 6
- 2022Patapasco: A Python Framework for Cross-Language Information Retrieval Experimentscited by 5
- 2025HLTCOE at TREC 2024 NeuCLIR Trackcited by 5
- 2025ECoRAG: Evidentiality-guided Compression for Long Context RAGcited by 4
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2024Towards Optimizing a Retrieval Augmented Generation using Large Language Model on Academic Data
- 2024Toward Optimal Search and Retrieval for RAG
- 2025Fast or Better? Balancing Accuracy and Cost in Retrieval-Augmented Generation with Flexible User Control
- 2024XRAG: eXamining the Core -- Benchmarking Foundational Components in Advanced Retrieval-Augmented Generation
- 2025RAGVUE: A Diagnostic View for Explainable and Automated Evaluation of Retrieval-Augmented Generation
- 2025RAGSmith: A Framework for Finding the Optimal Composition of Retrieval-Augmented Generation Methods Across Datasets
- 2024CoFE-RAG: A Comprehensive Full-chain Evaluation Framework for Retrieval-Augmented Generation with Enhanced Data Diversity
- 2026Progressive Searching for Retrieval in RAG