QSRP: Efficient Reverse k-Ranks Query Processing on High-Dimensional Embeddings
Zheng Bian, Xiao Yan, Jiahao Zhang, Man Lung Yiu, Bo Tang
Abstract
Embedding models represent users and products as high-dimensional embedding vectors and are widely used for recommendation. In this paper, we study the reversequery, which finds the users that are the most interested in a product and has many applications including product promotion, targeted advertising, and market analysis. As reversesolutions for low dimensionality (e.g., trees) fail for the high-dimensional embeddings generated by embedding models, we propose the QSRP framework. QSRP precomputes the score table between all user and product embeddings to facilitate pruning and refinement at query time. As the score table is usually large, QSRP samples some of its columns as the index to fit in memory. To tackle the problem that naive uniform sampling results in poor pruning effect, we propose query-aware sampling, which conducts sampling by explicitly maximizing the pruning effect for a set of sample queries. Moreover, we introduce regression-based pruning, which fits cheap linear functions to predict the bounds used for pruning. We also design techniques to build the index with limited memory, reduce index building time, and handle updates. We evaluate QSRP under various configurations and compare with state-of-the-art baselines. The results show that QSRP achieves shorter query time than the baselines in all cases, and the speedup is usually over 100x.
Ask Lune
Know where this paper stands in minutes, not an afternoon.
Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.
Related papers
- Learnable Embedding sizes for Recommender SystemsSiyi Liu, Chen Gao, Yihong Chen, Depeng Jin et al.ICLR 2021 · 97 citations
- Efficient Recommendation with Millions of Items by Dynamic Pruning of Sub-Item EmbeddingsAleksandr V. Petrov, Craig Macdonald, Nicola TonellottoSIGIR 2025 · 3 citations
- Efficient Reverse k Approximate Nearest Neighbor Search Over High-Dimensional VectorsYitong Song, Kai Wang, Bin Yao, Zhida Chen et al.ICDE 2024 · 3 citations
- Reverse Regret QueryWeicheng Wang, Raymond Chi-Wing Wong, H. V. Jagadish, Min XieICDE 2024 · 3 citations
- Fast Content-Aware Influence Maximization Query Answering by Labeling IndexXingliang Lv, Qihao Shi, Can Wang, Mingli Song et al.ICDE 2026
