FlashRetrieve: Ultrafast and High-Throughput Sparse Retrieval using GPU Acceleration

We introduce FlashRetrieve, an exact top-k sparse retrieval engine that adapts efficient query processing techniques for use on GPUs. FlashRetrieve combines (1) dynamic block-max pruning, (2) shared-memory score accumulation, and (3) a global top-k threshold shared across parallel workers. Experiments show that it can perform BM25 retrieval over MS MARCO at 39 μs/query on a single consumer-grade GPU (14x faster than the strongest exact baseline), achieving a throughput of nearly 150k queries/s when queries are batched. We find that it supports other sparse representations (including SPLADE-v3, at 78 μs/query), runs on a variety of GPU architectures and multi-GPU environments, and scales to collections that exceed available GPU memory (64 μs/query over 134M MS MARCO v2 passages, with 1.7 GB of postings offloaded to host memory). Altogether, FlashRetrieve provides faster retrieval results to end users, can handle the deluge of queries issued by agents, and may enable new applications that need top-k sparse dot products. The code is available at: https://github.com/seanmacavaney/flash-retr

Authors

Institutions

Publication Details

Journal
arXiv
Published
2026-12-02
DOI
https://doi.org/10.48550/arxiv.2612.04332
Primary Topic
Information Retrieval and Search Behavior
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

FlashRetrieve: Ultrafast and High-Throughput Sparse Retrieval using GPU Acceleration

Antonio Mallia, Sean MacAvaney, Nicola Tonellotto, Ferdinand Schlatt et al.
arXiv
Information Retrieval and Search Behavior
preprint

FlashRetrieve: Ultrafast and High-Throughput Sparse Retrieval using GPU Acceleration

Antonio Mallia, Sean MacAvaney, Nicola Tonellotto, Ferdinand Schlatt, Benno Stein, Maik Fröbe
preprint en

Abstract

We introduce FlashRetrieve, an exact top-k sparse retrieval engine that adapts efficient query processing techniques for use on GPUs. FlashRetrieve combines (1) dynamic block-max pruning, (2) shared-memory score accumulation, and (3) a global top-k threshold shared across parallel workers. Experiments show that it can perform BM25 retrieval over MS MARCO at 39 μs/query on a single consumer-grade GPU (14x faster than the strongest exact baseline), achieving a throughput of nearly 150k queries/s when queries are batched. We find that it supports other sparse representations (including SPLADE-v3, at 78 μs/query), runs on a variety of GPU architectures and multi-GPU environments, and scales to collections that exceed available GPU memory (64 μs/query over 134M MS MARCO v2 passages, with 1.7 GB of postings offloaded to host memory). Altogether, FlashRetrieve provides faster retrieval results to end users, can handle the deluge of queries issued by agents, and may enable new applications that need top-k sparse dot products. The code is available at: https://github.com/seanmacavaney/flash-retr

arXiv
University of Pisa (IT), Bauhaus-Universität Weimar (DE), University of Glasgow (GB)
Information Retrieval and Search Behavior
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon