mlsanityData to 7 Oct 2026

RAG-Stack: Co-Optimizing RAG Quality and Performance From the Vector Database Perspective

arXiv 2510.20296 ↗First posted 23 Oct 2025cs.DB cs.AIcited by 1

On the map: Retrieval-augmented generation → RAG pipeline design and evaluation

Abstract (arXiv)

Retrieval-augmented generation (RAG) has emerged as one of the most prominent applications of vector databases. By integrating documents retrieved from a database into the prompt of a large language model (LLM), RAG enables more reliable and informative content generation. While there has been extensive research on vector databases, many open research problems remain once they are considered in the wider context of end-to-end RAG pipelines. One practical yet challenging problem is how to jointly optimize both system performance and generation quality in RAG, which is significantly more complex than it appears due to the numerous knobs on both the algorithmic side (spanning models and databases) and the systems side (from software to hardware). In this paper, we present RAG-Stack, a three-pillar blueprint for quality-performance co-optimization in RAG systems. RAG-Stack comprises: (1) RAG-IR, an intermediate representation that serves as an abstraction layer to decouple quality and performance aspects; (2) RAG-CM, a cost model for estimating system performance given an RAG-IR; and (3) RAG-PE, a plan exploration algorithm that searches for high-quality, high-performance RAG configurations. We believe this three-pillar blueprint will become the de facto paradigm for RAG quality-performance co-optimization in the years to come.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in RAG pipeline design and evaluation, one of 15 directions in Retrieval-augmented generation. First posted on arXiv 23 Oct 2025.

Builds on

0 of 0 references.

No references here yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026RAG-Stack: Co-Optimizing RAG Serving Performance and Quality
  2. 2025RAGO: Systematic Performance Optimization for Retrieval-Augmented Generation Serving
  3. 2024METIS: Fast Quality-Aware RAG Systems with Configuration Adaptation
  4. 2024RAG Foundry: A Framework for Enhancing LLMs for Retrieval Augmented Generation
  5. 2024Retrieval Augmented Generation Systems: Automatic Dataset Creation, Evaluation and Boolean Agent Setup
  6. 2026RAGPerf: An End-to-End Benchmarking Framework for Retrieval-Augmented Generation Systems
  7. 2024AutoRAG: Automated Framework for optimization of Retrieval Augmented Generation Pipeline
  8. 2024InspectorRAGet: An Introspection Platform for RAG Evaluation