Efficient Main-Memory Top-K Selection For Multicore Architectures
Vasileios Zois, Vassilis J. Tsotras, Walid A. Najjar
Abstract
Efficient Top- k query evaluation relies on practices that utilize auxiliary data structures to enable early termination. Such techniques were designed to trade-off complex work in the buffer pool against costly access to disk-resident data. Parallel in-memory Top- k selection with support for early termination presents a novel challenge because computation shifts higher up in the memory hierarchy. In this environment, data scan methods using SIMD instructions and multithreading perform well despite requiring evaluation of the complete dataset. Early termination schemes that favor simplicity require random access to resolve score ambiguity while those optimized for sequential access incur too many object evaluations. In this work, we introduce the concept of rank uncertainty , a measure of work efficiency that enables classifying existing solutions according to their potential for efficient parallel in-memory Top-fc selection. We identify data reordering and layering strategies as those having the highest potential and provide practical guidelines on how to adapt them for parallel in-memory execution (creating the VTA and SLA approaches). In addition, we show that the number of object evaluations can be further decreased by combining data reordering with angle space partitioning (introducing PTA). Our extensive experimental evaluation on varying query parameters using both synthetic and real data, showcase that PTA exhibits between 2 and 4 orders of magnitude better query latency, and throughput when compared to prior work and our optimized algorithmic variants (i.e. VTA, SLA).
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 7b992e24-52dd-4425-ada6-5760bc2f6a50Cited by top-tier papers3
- Fast and Exact Outlier Detection in Metric Spaces: A Proximity Graph-based ApproachDaichi Amagata, Makoto Onizuka, Takahiro HaraSIGMOD 2021 · 22 citations
- Dr. Top-k: delegate-centric Top-k on GPUsAnil Gaihre, Da Zheng, Scott Weitze, Lingda Li et al.SC 2021 · 16 citations
- BCCE: Block-Centric GPU Co-Design for Real-Time Range-Top-K Query at ScaleChengying Huan, Ziheng Meng, Zhengyi Yang, Yongchao Liu et al.HPDC 2026
Related papers
- Scalable top-k retrieval with SpartaGali Sheffi, Dmitry Basin, Edward Bortnikov, David Carmel et al.PPoPP 2020
- Approximating Opaque Top-k QueriesJiwon Chang, Fatemeh NargesianSIGMOD 2025 · 2 citations
- A Rank-Based Approach to Recommender System's Top-K Queries with Uncertain ScoresCoral Scharf, Carmel Domshlak, Avigdor Gal, Haggai RoitmanSIGMOD 2025 · 2 citations
- Parallel Top-K Algorithms on GPU: A Comprehensive Study and New MethodsJingrong Zhang, Akira Naruse, Xipeng Li, Yong WangSC 2023 · 17 citations
- Efficient Approximation of Certain and Possible Answers for Ranking and Window Queries over Uncertain DataSu Feng, Boris Glavic, Oliver KennedyVLDB 2023 · 1 citation
