Probabilistic Routing for Graph-Based Approximate Nearest Neighbor Search

Kejing Lu, Chuan Xiao, Yoshiharu Ishikawa
2/17/2024
cs.LGcs.AIcs.CV

No official code found. Best implementation: ICML2024-code/PEOs (5 stars, last commit 2024-07-09).

Abstract

Approximate nearest neighbor search (ANNS) in high-dimensional spaces is a pivotal challenge in the field of machine learning. In recent years, graph-based methods have emerged as the superior approach to ANNS, establishing a new state of the art. Although various optimizations for graph-based ANNS have been introduced, they predominantly rely on heuristic methods that lack formal theoretical backing. This paper aims to enhance routing within graph-based ANNS by introducing a method that offers a probabilistic guarantee when exploring a node's neighbors in the graph. We formulate the problem as probabilistic routing and develop two baseline strategies by incorporating locality-sensitive techniques. Subsequently, we introduce PEOs, a novel approach that efficiently identifies which neighbors in the graph should be considered for exact distance calculation, thus significantly improving efficiency in practice. Our experiments demonstrate that equipping PEOs can increase throughput on commonly utilized graph indexes (HNSW and NSSG) by a factor of 1.6 to 2.5, and its efficiency consistently outperforms the leading-edge routing technique by 1.1 to 1.4 times.

View on arXivView PDF

Code Implementations(1)

ICML2024-code/PEOsCommunity100%
54C++, CMakeJan 30, 20242 years ago

Similar Papers

Cite this paper

@article{lu2024probabilistic,
  title  = {Probabilistic Routing for Graph-Based Approximate Nearest Neighbor Search},
  author = {Kejing Lu and Chuan Xiao and Yoshiharu Ishikawa},
  year   = {2024},
  eprint = {2402.11354},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.11354v2},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.11354.svg)](https://codeofpaper.com/paper/2402.11354)

Discussion