Search arXiv⌕ Search

arXiv · 2612.04332

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

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

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Sean MacAvaney, Maik Fröbe, Ferdinand Schlatt, Antonio Mallia, Benno Stein, Nicola Tonellotto. 2026-12-02. FlashRetrieve: Ultrafast and High-Throughput Sparse Retrieval using GPU Acceleration. https://searcharxiv.org/abs/2612.04332

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Ontology Interoperability: A Comprehensive Framework for Industry-Scale Applications

Different ontologies with conflicting and overlapping concepts cause havoc in the design, develop, and deploy phases of ontology-driven applications. In this work, we propose a comprehensive ontology interoperability framework for industrial-scale ontology-driven applications. The framework employs three state-of-the-art semantic techniques in different phases of the ontology engineering (OE) life cycle: ontology design patterns (ODPs) in the design phase, ontology matching and versioning (OM\&OV) in the develop phase, and ontology validation (OVA) in the deploy phase, to achieve better ontology interoperability.

cs.IR↗

Understanding the Core: Generative Temporal-Hierarchical Behavior Modeling for Recommendation

Industrial recommender systems observe abundant user behaviors, but the core behavior, the deepest interaction in the hierarchy and typically the strongest observable signal for the primary recommendation objective, is sparse. Core-behavior-only next-token prediction yields sequences too short for effective interest modeling, whereas incorporating exposure and engagement behaviors enriches temporal evidence but can dilute this objective. The central challenge is therefore to exploit dense behavioral trajectories while prioritizing the core behavior. We view such histories as temporal-hierarchical: user interest evolves over time, while behaviors at different engagement depths play unequal roles. We propose GAMER, a decoder-only framework for generative pretraining over temporal-hierarchical behavior sequences. GAMER consolidates each local user-item behavior chain into its deepest observed state, termed a consolidated chain state, and serializes these states chronologically to preserve temporal coverage and engagement depth. Its Temporal-Hierarchical Attention (T-Hier Attention) conditions causal sequence modeling on behavior depth. The resulting pretrained backbone supports Core-Behavior Item Retrieval, Behavior-Conditioned Item Generation, and User Response Prediction. We further construct ShortVideoAD, a short-video advertising benchmark with sessionized histories, an explicit behavior hierarchy, and semantic item identifiers. Experiments on ShortVideoAD and public datasets demonstrate the effectiveness and transferability of GAMER. On ShortVideoAD core-behavior item retrieval with semantic IDs, GAMER achieves relative gains of 22.13% in HR@10 and 33.73% in NDCG@10 over MBGen, the strongest baseline. The same pretrained checkpoint also benefits Behavior-Conditioned Item Generation and CVR prediction.

cs.IR↗

Semantic Tokens Beat IDs in Large Ranking Models: A Scaling Law Perspective

Recent studies on scaling up ranking models have achieved substantial improvement for recommendation systems and search engines. However, most large-scale ranking systems rely on item and query IDs, where each item or query is treated as an independent categorical symbol and mapped to a learned embedding. As items and queries rapidly appear and disappear, these embeddings become difficult to train and maintain. This instability impedes effective learning of neural network parameters and limits the scalability of ranking models. In this paper, we show that semantic tokens possess greater scaling potential compared to item and query IDs. Our proposed framework TRM improves the token generation and application pipeline, leading to a 72% reduction in sparse storage while achieving a 0.85% increase in AUC. Extensive experiments further show that TRM consistently outperforms state-of-the-art models as model capacity scales.Finally, TRM has been successfully deployed on large-scale personalized search engines, yielding a 0.26% improvement in user active days and a 0.75% reduction in change query ratio through an A/B test. We present the first complete replacement of both item and query IDs with semantic tokens in large-scale ranking scenarios, demonstrating superior scalability.

cs.IR↗