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 about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get d8850f14-daa4-483c-a300-4ab7cab43403Related 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
