arXiv:2608.03487v1 cs.DB

RAG-Stack: RAG 서빙 성능과 품질의 공동 최적화

RAG-Stack: Co-Optimizing RAG Serving Performance and Quality

Haiqiang Zhang, Yuanqing Lei, Wanting Li, Tao Zhang, Wenqi Jiang

제출 2026-08-04

한국어 초록

데이터베이스에서 검색한 정보로 대규모 언어 모델(LLM) 생성을 증강하는 검색-증강 생성(RAG)은 지식 집약적 애플리케이션에서 널리 사용되는 접근 방식이 되었습니다. 그러나 최신 RAG 시스템은 검색 인덱스, 모델 선택, 모델이 검색을 호출하는 방식 등 수많은 구성 선택지를 노출합니다. 각 구성은 답변 품질과 서빙 성능 간에 서로 다른 트레이드오프를 생성하므로, 특정 애플리케이션 배포 환경에 맞는 최적 설정을 선택하기 어렵습니다. 본 논문에서는 다양한 RAG 애플리케이션 및 서빙 시스템 전반에서 품질-성능 파레토 프론티어(Pareto frontier)를 효율적으로 탐색하는 프레임워크인 RAG-Stack을 제시합니다. RAG-Stack은 평가할 다음 RAG 구성을 선택하는 반복적 설계 공간 탐험(exploration) 알고리즘인 RAG-PE, 다양한 RAG 알고리즘을 위한 워크로드 추상화인 RAG-IR, 그리고 주어진 하드웨어에서의 최적 배포 및 서빙 성능을 예측하는 성능 모델인 RAG-CM으로 구성됩니다. 이러한 구성 요소들이 결합되어 RAG-Stack은 모든 후보를 직접 배포하지 않고도 결합된 알고리즘-시스템 구성 공간을 탐색할 수 있으며, 기존 파레토 프론티어를 새로운 서빙 시스템으로 전이할 수 있습니다. 다양한 데이터셋에 걸쳐 동일한 최적화 반복 횟수가 주어졌을 때, RAG-Stack이 발견한 파레토 프론티어는 동일한 RAG 설계 공간에서 평가된 최신 구성 탐색 기법들이 찾은 파레토 프론티어보다 정규화된 품질-성능 공간을 52.5%에서 153.2% 더 넓게 커버합니다.

원문 초록

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.

제출 이력

확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.

  1. arXiv:2608.03487v1제출 시각 미확인

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

공통 태그로 연결된 공개 논문이 아직 없습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.