Lune

NeurIPS2023Top-tier venue

Worst-case Performance of Popular Approximate Nearest Neighbor Search Implementations: Guarantees and Limitations

Piotr Indyk, Haike Xu

2023Year
55Citations
23Top-tier citations

Abstract

Graph-based approaches to nearest neighbor search are popular and powerful tools for handling large datasets in practice, but they have limited theoretical guarantees. We study the worst-case performance of recent graph-based approximate nearest neighbor search algorithms, such as HNSW, NSG and DiskANN. For DiskANN, we show that its"slow preprocessing"version provably supports approximate nearest neighbor search query with constant approximation ratio and poly-logarithmic query time, on data sets with bounded"intrinsic"dimension. For the other data structure variants studied, including DiskANN with"fast preprocessing", HNSW and NSG, we present a family of instances on which the empirical query time required to achieve a"reasonable"accuracy is linear in instance size. For example, for DiskANN, we show that the query procedure can take at least 0.1n0.1 n steps on instances of size nn before it encounters any of the 55 nearest neighbors of the query.

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.

lune papers fulltext e57cfb03-7e8a-4ae1-a73e-dc4a506ffc5a

Cited by top-tier papers23

Ask how each one uses it

Builds on3

Related papers

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