RAG-Stack: Co-Optimizing RAG Serving Performance and Quality
On the map: Retrieval-augmented generation → RAG pipeline design and evaluation
Abstract (arXiv)
Retrieval-augmented generation (RAG), which augments large language model (LLM) generation with information retrieved from databases, has become a widely used approach for knowledge-intensive applications. Modern RAG systems, however, expose many configuration choices, such as retrieval indexes, model selections, and how models invoke retrieval. Each configuration yields a different trade-off between answer quality and serving performance, making it challenging to choose the optimal setting for a specific application deployment. We present RAG-Stack, a framework for efficiently discovering quality-performance Pareto frontiers across diverse RAG applications and serving systems. RAG-Stack consists of RAG-PE, an iterative design-space exploration algorithm that selects the next RAG configuration to evaluate; RAG-IR, a workload abstraction for diverse RAG algorithms; and RAG-CM, a performance model that predicts the optimal deployment and serving performance on the given hardware. Together, these components allow RAG-Stack to search the joint algorithm-system configuration space without deploying every candidate and to transfer an existing Pareto frontier to a new serving system. Given the same number of optimization iterations across diverse datasets, the Pareto frontiers found by RAG-Stack cover 52.5% to 153.2% more of the normalized quality-performance space than those found by state-of-the-art configuration-search methods evaluated over the same RAG design space.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in RAG pipeline design and evaluation, one of 15 directions in Retrieval-augmented generation. Builds on 27 of its 61 references that are in the map. First posted on arXiv 4 Aug 2026.
Builds on
27 of 61 references.
Closest ancestors · 6
Same direction, newest first
- 2025VectorLiteRAG: Latency-Aware and Fine-Grained Resource Partitioning for Efficient RAG11 Apr
- 2025RAGO: Systematic Performance Optimization for Retrieval-Augmented Generation Serving18 Mar
- 2024METIS: Fast Quality-Aware RAG Systems with Configuration Adaptation13 Dec
- 2024Long2RAG: Evaluating Long-Context & Long-Form Retrieval-Augmented Generation with Key Point Recall30 Oct
- 2024FlashRAG: A Modular Toolkit for Efficient Retrieval-Augmented Generation Research22 May
- 2023Chameleon: a Heterogeneous and Disaggregated Accelerator System for Retrieval-Augmented Language Models15 Oct
Other references · 21
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,591
- 2020ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERTcited by 1,160
- 2023WizardLM: Empowering large pre-trained language models to follow complex instructionscited by 1,116
- 2024M3-Embedding: Multi-Linguality, Multi-Functionality, Multi-Granularity Text Embeddings Through Self-Knowledge Distillationcited by 1,050
- 2020MPNet: Masked and Permuted Pre-training for Language Understandingcited by 973
- 2016Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphscited by 853
- 2025AlphaEvolve: A coding agent for scientific and algorithmic discoverycited by 763
- 2021Retrieval Augmentation Reduces Hallucination in Conversationcited by 691
- 2019ELI5: Long Form Question Answeringcited by 567
- 2022Precise Zero-Shot Dense Retrieval without Relevance Labelscited by 508
- 2016The CMA Evolution Strategy: A Tutorialcited by 364
9 more
- 2023FreshLLMs: Refreshing Large Language Models with Search Engine Augmentationcited by 308
- 2023Unexpected Improvements to Expected Improvement for Bayesian Optimizationcited by 144
- 2023Tree-Structured Parzen Estimator: Understanding Its Algorithm Components and Their Roles for Better Empirical Performancecited by 143
- 2024Large Language Models to Enhance Bayesian Optimizationcited by 127
- 2018PipeDream: Fast and Efficient Pipeline Parallel DNN Trainingcited by 116
- 2018A Flexible Framework for Multi-Objective Bayesian Optimization using Random Scalarizationscited by 98
- 2019Bayesian Optimization of Composite Functionscited by 45
- 2024RAG4ITOps: A Supervised Fine-Tunable and Comprehensive RAG Framework for IT Operations and Maintenancecited by 7
- 2025Multi-Objective Bayesian Optimization for Networked Black-Box Systems: A Path to Greener Profits and Smarter Designscited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025RAG-Stack: Co-Optimizing RAG Quality and Performance From the Vector Database Perspective
- 2026Mapping the RAG Landscape: A Four Axis Taxonomy of Efficiency, Defense, Interactivity, and Reasoning
- 2024Toward Optimal Search and Retrieval for RAG
- 2024RAG Foundry: A Framework for Enhancing LLMs for Retrieval Augmented Generation
- 2024XRAG: eXamining the Core -- Benchmarking Foundational Components in Advanced Retrieval-Augmented Generation
- 2025Harmonia: End-to-End RAG Serving Optimization
- 2026RAISE: RAG Design as an Architecture Search Problem
- 2024CoFE-RAG: A Comprehensive Full-chain Evaluation Framework for Retrieval-Augmented Generation with Enhanced Data Diversity