Skip to main content
QUICK REVIEW

[Paper Review] Scalable Nearest Neighbor Search based on kNN Graph

Wan‐Lei Zhao, Jie Yang|arXiv (Cornell University)|Jan 30, 2017
Advanced Image and Video Retrieval TechniquesComputer Science17 references6 citations
TL;DR

This paper proposes IVF+E-GNNS, a scalable nearest neighbor search method combining kNN graph-based hill-climbing with multi-layer residue vector quantization (RVQ) for inverted indexing. By leveraging RVQ to guide search from high-probability regions and enabling efficient, memory-light indexing, the method achieves near-100% recall with high speed, outperforming both compressive and non-compressive baselines in speed, recall, and memory efficiency on SIFT1M and GIST1M datasets.

ABSTRACT

Nearest neighbor search is known as a challenging issue that has been studied for several decades. Recently, this issue becomes more and more imminent in viewing that the big data problem arises from various fields. In this paper, a scalable solution based on hill-climbing strategy with the support of k-nearest neighbor graph (kNN) is presented. Two major issues have been considered in the paper. Firstly, an efficient kNN graph construction method based on two means tree is presented. For the nearest neighbor search, an enhanced hill-climbing procedure is proposed, which sees considerable performance boost over original procedure. Furthermore, with the support of inverted indexing derived from residue vector quantization, our method achieves close to 100% recall with high speed efficiency in two state-of-the-art evaluation benchmarks. In addition, a comparative study on both the compressional and traditional nearest neighbor search methods is presented. We show that our method achieves the best trade-off between search quality, efficiency and memory complexity.

Motivation & Objective

  • To address the scalability and efficiency challenges of nearest neighbor search in high-dimensional, large-scale vector spaces.
  • To improve the hill-climbing search on kNN graphs by reducing local optima trapping through guided initialization.
  • To achieve high search recall with minimal memory overhead by using inverted indexing based on multi-layer residue vector quantization.
  • To balance speed, recall, and memory cost in nearest neighbor search, outperforming existing compressive and non-compressive methods.
  • To enable billion-scale nearest neighbor search through efficient, sparse indexing over compressed representations.

Proposed method

  • Proposes a scalable kNN graph construction method with time complexity O(n·log(n)·D), enabling efficient indexing for large-scale datasets.
  • Introduces an enhanced hill-climbing procedure that uses multi-layer residue vector quantization (RVQ) to guide search from regions likely containing the true nearest neighbor.
  • Employs inverted indexing derived from RVQ to store only reference vector IDs, minimizing memory overhead while enabling fast retrieval.
  • Uses coarse-to-fine partitioning of the vector space via RVQ to direct search toward high-likelihood candidate regions, improving convergence and recall.
  • Combines kNN graph-based search with quantization-based indexing to achieve both high accuracy and speed efficiency.
  • Supports billion-scale datasets through sparse indexing with small vocabularies, enabling efficient and scalable search.

Experimental results

Research questions

  • RQ1Can a kNN graph-based nearest neighbor search method achieve high recall with low memory cost and high speed on large-scale datasets?
  • RQ2How can hill-climbing search on kNN graphs be improved to avoid local optima and accelerate convergence?
  • RQ3Can residue vector quantization be used effectively to guide search initialization without significant memory overhead?
  • RQ4How does the proposed method compare in speed, recall, and memory efficiency to state-of-the-art compressive and non-compressive nearest neighbor search methods?
  • RQ5Can the method scale to billion-level datasets while maintaining high search quality and efficiency?

Key findings

  • IVF+E-GNNS achieves near-100% recall on SIFT1M and GIST1M with only 1.8ms and 8.0ms average query time, respectively, outperforming EFANNA and ANN in recall-speed trade-off.
  • The method achieves 98.3% recall@1 and 98.3% recall@100 on SIFT1M, and 94.3% recall@1 and 94.3% recall@100 on GIST1M, with minimal memory overhead (1.234× and 1.053× reference set size).
  • Compared to IVFPQ and IVFRVQ, IVF+E-GNNS achieves significantly higher recall with faster search times and lower memory consumption.
  • The method outperforms E2LSH and FLANN in both speed and recall, especially at high recall thresholds, and is more scalable than exhaustive search.
  • The use of RVQ-based inverted indexing enables sparse, efficient indexing with negligible memory cost, making billion-scale search feasible.
  • The enhanced hill-climbing procedure guided by RVQ improves search quality by over 10% in average recall compared to baseline E-GNNS, with comparable search time.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.