Scalable top-k retrieval with Sparta
Gali Sheffi, Dmitry Basin, Edward Bortnikov, David Carmel, Idit Keidar
Abstract
Many big data processing applications rely on a top-k retrieval building block, which selects (or approximates) the k highestscoring data items based on an aggregation of features. In web search, for instance, a document's score is the sum of its scores for all query terms. Top-k retrieval is often used to sift through massive data and identify a smaller subset of it for further analysis. Because it filters out the bulk of the data, it often constitutes the main performance bottleneck.
Beyond the rise in data sizes, today's data processing scenarios also increase the number of features contributing to the overall score. In web search, for example, verbose queries are becoming mainstream, while state-of-the-art algorithms fail to process long queries in real-time.
We present Sparta, a practical parallel algorithm that exploits multi-core hardware for fast (approximate) top-k retrieval. Thanks to lightweight coordination and judicious context sharing among threads, Sparta scales both in the number of features and in the searched index size. In our web search case study on 50M documents, Sparta processes 12term queries more than twice as fast as the state-of-the-art. On a tenfold bigger index, Sparta processes queries at the same speed, whereas the average latency of existing algorithms soars to be an order-of-magnitude larger than Sparta's.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 54b96bbc-7233-44be-9741-1c2ddaf8fe86Related papers
- ParetoES: Hardware-Accelerated Sparse Embedding Similarity via Pareto-Optimal PruningJiaqi Zhai, Xuanhua Shi, Wenju Zhao, Kaiyi Huang et al.ISCA 2026
- Parallel Top-K Algorithms on GPU: A Comprehensive Study and New MethodsJingrong Zhang, Akira Naruse, Xipeng Li, Yong WangSC 2023 · 17 citations
- Efficient Main-Memory Top-K Selection For Multicore ArchitecturesVasileios Zois, Vassilis J. Tsotras, Walid A. NajjarVLDB 2020 · 8 citations
- Realtime Top-k Personalized PageRank over Large Graphs on GPUsJieming Shi, Renchi Yang, Tianyuan Jin, Xiaokui Xiao et al.VLDB 2020 · 44 citations
- Parallelism-Optimizing Data Placement for Faster Data-Parallel ComputationsNirvik Baruah, Peter Kraft, Fiodar Kazhamiaka, Peter Bailis et al.VLDB 2023 · 9 citations
