Approximate Diverse k-Nearest Neighbor Search in Vector Database
Jiachen Zhao, Xiao Yan, Eric Lo
摘要
Approximate k-nearest neighbor search (Ak-NNS) is a core operation in vector databases, underpinning applications such as retrieval-augmented generation (RAG) and image retrieval. In these scenarios, users often prefer diverse result sets to minimize redundancy and enhance information value. However, existing greedy-based diverse methods frequently yield suboptimal results, failing to adequately approximate the optimal similarity score under certain diversification level. Furthermore, there is a need for flexible algorithms that can adapt to varying user-defined result sizes and diversity requirements.
To address these challenges, we propose a novel approach that seamlessly integrates result diversification into state-ofthe-art (SOTA) Ak-NNS methods. Our approach introduces a progressive search framework, consisting of iterative searching, diversification, and verification phases. Carefully designed diversification and verification steps enable our approach to efficiently approximate the optimal diverse result set according to user-specified diversification levels without additional indexing overhead.
We evaluate our method on three million-scale benchmark datasets, LAION-art, Deep1M, and Txt2img, using latency, similarity, and recall as performance metrics across a range of k values and diversification thresholds. Experimental results demonstrate that our approach consistently retrieves nearoptimal diverse results with minimal latency overhead, particularly under medium and high diversity settings.
• Diversification condition: ∀r i , r j ∈ R, i ̸ = j, such that sim(r i , r j ) < ϵ
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
它引用的 Paper5
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh 等ICML 2021 · 47,906 次引用
- Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text RetrievalLee Xiong, Chenyan Xiong, Ye Li, Kwok-Fung Tang 等ICLR 2021 · 1,547 次引用
- RaBitQ: Quantizing High-Dimensional Vectors with a Theoretical Error Bound for Approximate Nearest Neighbor SearchJianyang Gao, Cheng LongSIGMOD 2024 · 83 次引用
- VBASE: Unifying Online Vector Similarity Search and Relational Queries via Relaxed MonotonicityQianxi Zhang, Shuotao Xu, Qi Chen, Guoxin Sui 等OSDI 2023 · 75 次引用
- DET-LSH: A Locality-Sensitive Hashing Scheme with Dynamic Encoding Tree for Approximate Nearest Neighbor SearchJiuqi Wei, Botao Peng, Xiaodong Lee, Themis PalpanasVLDB 2024 · 35 次引用
相关 Paper
- Welfarist Formulations for Diverse Similarity SearchSiddharth Barman, Nirjhar Das, Shivam Gupta, Kirankumar ShiragurICLR 2026
- LotusFilter: Fast Diverse Nearest Neighbor Search via a Learned Cutoff TableYusuke MatsuiCVPR 2025
- FGIM: a Fast Graph-based Indexes Merging Framework for Approximate Nearest Neighbor SearchZekai Wu, Jiabao Jin, Peng Cheng, Xiaoyao Zhong 等SIGMOD 2026
- Graph-Based Algorithms for Diverse Similarity SearchPiyush Anand, Piotr Indyk, Ravishankar Krishnaswamy, Sepideh Mahabadi 等ICML 2025
- Cracking Vector Search IndexesVasilis Mageirakos, Bowen Wu, Gustavo AlonsoVLDB 2025 · 6 次引用
