English

RAGO: Systematic Performance Optimization for Retrieval-Augmented Generation Serving

Information Retrieval 2025-03-24 v2 Artificial Intelligence Computation and Language Distributed, Parallel, and Cluster Computing

Abstract

Retrieval-augmented generation (RAG), which combines large language models (LLMs) with retrievals from external knowledge databases, is emerging as a popular approach for reliable LLM serving. However, efficient RAG serving remains an open challenge due to the rapid emergence of many RAG variants and the substantial differences in workload characteristics across them. In this paper, we make three fundamental contributions to advancing RAG serving. First, we introduce RAGSchema, a structured abstraction that captures the wide range of RAG algorithms, serving as a foundation for performance optimization. Second, we analyze several representative RAG workloads with distinct RAGSchema, revealing significant performance variability across these workloads. Third, to address this variability and meet diverse performance requirements, we propose RAGO (Retrieval-Augmented Generation Optimizer), a system optimization framework for efficient RAG serving. Our evaluation shows that RAGO achieves up to a 2x increase in QPS per chip and a 55% reduction in time-to-first-token latency compared to RAG systems built on LLM-system extensions.

Keywords

Cite

@article{arxiv.2503.14649,
  title  = {RAGO: Systematic Performance Optimization for Retrieval-Augmented Generation Serving},
  author = {Wenqi Jiang and Suvinay Subramanian and Cat Graves and Gustavo Alonso and Amir Yazdanbakhsh and Vidushi Dadu},
  journal= {arXiv preprint arXiv:2503.14649},
  year   = {2025}
}

Comments

16 pages, 19 figures, 4 tables

R2 v1 2026-06-28T22:25:52.253Z