paper-with-me

Papers

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

2025-10-23 · Wenqi Jiang 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.

📄 PDF Abstract BibTeX arXiv:2510.20296

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Hashing with Mutual Information

2018-03-02 · Fatih Cakir, Kun He, Sarah Adel Bargal, Stan Sclaroff

Binary vector embeddings enable fast nearest neighbor retrieval in large databases of high-dimensional objects, and play an important role in many practical applications, such as image and video retrieval. We study the p…

Image RetrievalRetrievalVideo Retrieval

Cost-Effective, Low Latency Vector Search with Azure Cosmos DB

2025-05-09 · Nitish Upreti, Krishnan Sundaram, Hari Sudan Sundar, Samer Boshra 외

Vector indexing enables semantic search over diverse corpora and has become an important interface to databases for both users and AI agents. Efficient vector search requires deep optimizations in database systems. This …

Enriched Long-term Recurrent Convolutional Network for Facial Micro-Expression Recognition

2018-05-22 · Huai-Qian Khor, John See, Raphael C. -W. Phan, Weiyao Lin

Facial micro-expression (ME) recognition has posed a huge challenge to researchers for its subtlety in motion and limited databases. Recently, handcrafted techniques have achieved superior performance in micro-expression…

Data AugmentationMicro Expression RecognitionMicro-Expression RecognitionSpecificity

Finding Needles in Emb(a)dding Haystacks: Legal Document Retrieval via Bagging and SVR Ensembles

2025-01-09 · Kevin Bönisch, Alexander Mehler

We introduce a retrieval approach leveraging Support Vector Regression (SVR) ensembles, bootstrap aggregation (bagging), and embedding spaces on the German Dataset for Legal Information Retrieval (GerDaLIR). By conceptua…

Information RetrievalRetrieval

Learning-Based Quality Assessment for Image Super-Resolution

2020-12-16 · Tiesong Zhao, YuTing Lin, Yiwen Xu, Weiling Chen 외

Image Super-Resolution (SR) techniques improve visual quality by enhancing the spatial resolution of images. Quality evaluation metrics play a critical role in comparing and optimizing SR algorithms, but current metrics …

Image Super-ResolutionSuper-Resolution