RAG-Stack: A Framework for Co-Optimizing RAG Performance and Quality

_reachsumit · x · 2026-08-05

Modern RAG systems involve numerous configuration choices (e.g., retrieval indexes, model selections) that create distinct trade-offs between answer quality and serving performance. This paper introduces RAG-Stack, a framework designed to efficiently discover the quality-performance Pareto frontiers across diverse RAG applications and serving systems.

The framework consists of three core components:

By jointly searching algorithmic and system configurations, RAG-Stack avoids the need to deploy every candidate. Experiments show that given the same optimization iterations, its Pareto frontiers cover 52.5% to 153.2% more of the normalized quality-performance space than state-of-the-art baselines.

Original post →

More from Research

Research channel →