UPDF AI

RAGO: Systematic Performance Optimization for Retrieval-Augmented Generation Serving

Wenqi Jiang,Suvinay Subramanian,3 Authors,Vidushi Dadu

2025 · DOI: 10.1145/3695053.3731093
International Symposium on Computer Architecture · 34 Citations

TLDR

RAGO (Retrieval-Augmented Generation Optimizer), a system optimization framework for efficient RAG serving that achieves up to a 2 × increase in QPS per chip and a 55% reduction in time-to-first-token latency compared to RAG systems built on LLM-system extensions is proposed.

Abstract

Retrieval-augmented generation (RAG) 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. This paper makes 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. RAGO achieves up to a 2 × increase in QPS per chip and a 55% reduction in time-to-first-token latency compared to RAG systems built on LLM-system extensions.