A Comprehensive Survey and Experimental Comparison of Graph-Based Approximate Nearest Neighbor Search

Mengzhao Wang, Xiaoliang Xu, Qiang Yue, Yuxiang Wang
1/29/2021
cs.IRcs.DB
survey

Official code: Lsyhprum/WEAVESS (82 stars, C++, MIT, last commit 2021-05-16).

Abstract

Approximate nearest neighbor search (ANNS) constitutes an important operation in a multitude of applications, including recommendation systems, information retrieval, and pattern recognition. In the past decade, graph-based ANNS algorithms have been the leading paradigm in this domain, with dozens of graph-based ANNS algorithms proposed.

Show full abstract

Such algorithms aim to provide effective, efficient solutions for retrieving the nearest neighbors for a given query. Nevertheless, these efforts focus on developing and optimizing algorithms with different approaches, so there is a real need for a comprehensive survey about the approaches' relative performance, strengths, and pitfalls. Thus here we provide a thorough comparative analysis and experimental evaluation of 13 representative graph-based ANNS algorithms via a new taxonomy and fine-grained pipeline. We compared each algorithm in a uniform test environment on eight real-world datasets and 12 synthetic datasets with varying sizes and characteristics. Our study yields novel discoveries, offerings several useful principles to improve algorithms, thus designing an optimized method that outperforms the state-of-the-art algorithms. This effort also helped us pinpoint algorithms' working portions, along with rule-of-thumb recommendations about promising research directions and suitable algorithms for practitioners in different fields.

View on arXivView PDF

Code Implementations(1)

Lsyhprum/WEAVESSOfficial100%
MIT

A Comprehensive Survey and Experimental Comparison of Graph-based Approximate Nearest Neighbor Search

8230C++, PythonAug 12, 20205 years agoMIT

Similar Papers

Cite this paper

@article{wang2021comprehensive,
  title  = {A Comprehensive Survey and Experimental Comparison of Graph-Based Approximate Nearest Neighbor Search},
  author = {Mengzhao Wang and Xiaoliang Xu and Qiang Yue and Yuxiang Wang},
  year   = {2021},
  eprint = {2101.12631},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2101.12631}
}

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/2101.12631.svg)](https://codeofpaper.com/paper/2101.12631)

Discussion