Lune

ICDE2026Top-tier venue

Approximate Diverse k-Nearest Neighbor Search in Vector Database

Jiachen Zhao, Xiao Yan, Eric Lo

2026Year

Abstract

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 ) < ϵ

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.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

Builds on5

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines