Show simple item record

dc.contributor.authorJiang, Wenqi
dc.contributor.authorZhang, Shuai
dc.contributor.authorHan, Boran
dc.contributor.authorWang, Jie
dc.contributor.authorWang, Bernie
dc.contributor.authorKraska, Tim
dc.date.accessioned2025-08-12T15:41:55Z
dc.date.available2025-08-12T15:41:55Z
dc.date.issued2025-07-20
dc.identifier.isbn979-8-4007-1245-6
dc.identifier.urihttps://hdl.handle.net/1721.1/162351
dc.descriptionKDD ’25, August 3–7, 2025, Toronto, ON, Canadaen_US
dc.description.abstractRetrieval-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.en_US
dc.publisherACM|Proceedings of the 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining V.1en_US
dc.relation.isversionofhttps://doi.org/10.1145/3690624.3709194en_US
dc.rightsCreative Commons Attribution-Noncommercialen_US
dc.rights.urihttp://creativecommons.org/licenses/by-nc/4.0/en_US
dc.sourceAssociation for Computing Machineryen_US
dc.titlePipeRAG: Fast Retrieval-Augmented Generation via Adaptive Pipeline Parallelismen_US
dc.typeArticleen_US
dc.identifier.citationWenqi Jiang, Shuai Zhang, Boran Han, Jie Wang, Bernie Wang, and Tim Kraska. 2025. PipeRAG: Fast Retrieval-Augmented Generation via Adaptive Pipeline Parallelism. In Proceedings of the 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining V.1 (KDD '25). Association for Computing Machinery, New York, NY, USA, 589–600.en_US
dc.contributor.departmentMassachusetts Institute of Technology. Department of Electrical Engineering and Computer Scienceen_US
dc.identifier.mitlicensePUBLISHER_POLICY
dc.eprint.versionFinal published versionen_US
dc.type.urihttp://purl.org/eprint/type/ConferencePaperen_US
eprint.statushttp://purl.org/eprint/status/NonPeerRevieweden_US
dc.date.updated2025-08-01T07:54:41Z
dc.language.rfc3066en
dc.rights.holderThe author(s)
dspace.date.submission2025-08-01T07:54:42Z
mit.licensePUBLISHER_CC
mit.metadata.statusAuthority Work and Publication Information Neededen_US


Files in this item

Thumbnail

This item appears in the following Collection(s)

Show simple item record