← Back to Paper Radar

Archived This paper is outside Paper Radar's one-year feed. More archived papers

PipeRAG: Fast Retrieval-Augmented Generation via Adaptive Pipeline Parallelism

Wenqi Jiang, Shuai Zhang, Boran Han, Jie Wang, Bernie Wang, Tim Kraska
Knowledge Discovery and Data Mining | 2025

Abstract brief · Based on the abstract alone

The authors present PipeRAG, an algorithm-system co-design that overlaps retrieval with generation, uses flexible retrieval intervals, and applies a performance model to balance retrieval quality against latency.

Why read this

Engineers serving RAG with frequent retrievals from large databases can use it to cut retrieval-driven latency.

What the authors found

  • The authors report up to 2.6× lower end-to-end generation latency with improved generation quality when all three methods are combined. The abstract does not name the baseline, models, or hardware. Abstract

Main limitation

The 2.6× figure is a best-case result. Typical gains and the evaluation settings are not given in the abstract. Abstract

Abstract

Retrieval-augmented generation (RAG) can enhance the generation quality of large language models (LLMs) by incorporating external token databases. However, retrievals from large databases can constitute a substantial portion of the overall generation time, particularly when retrievals are periodically performed to align the retrieved content with the latest states of generation. In this paper, we introduce PipeRAG, a novel algorithm-system co-design approach to reduce generation latency and enhance generation quality. PipeRAG integrates (1) pipeline parallelism to enable concurrent retrieval and generation processes, (2) flexible retrieval intervals to maximize the efficiency of pipeline parallelism, and (3) a performance model to automatically balance retrieval quality and latency based on the generation states and underlying hardware. Our evaluation shows that, by combining the three aforementioned methods, PipeRAG achieves up to 2.6× speedup in end-to-end generation latency while improving generation quality. These promising results showcase the effectiveness of co-designing algorithms with underlying systems, paving the way for the adoption of PipeRAG in future RAG systems.

Generated automatically from abstract on 2026-11-28.