On Worst-Case Guarantees for Graph-Based Nearest-Neighbor Search
Majid Daliri, Mohammadreza Daneshvaramoli, Purna Dutta, Edo Liberty, Cameron Musco, Christopher Musco, Torsten Suel
Abstract
Graph-based nearest neighbor search algorithms like HNSW, DiskANN, NSG, and others have surged in popularity in recent years due to their excellent empirical performance in comparison to space-partitioning methods like IVF data structures and Locality Sensitive Hashing (LSH). However, in contrast to LSH and related methods, obtaining strong worst-case theoretical guarantees for graph-based search has proven challenging. In this paper, we prove a strong lower bound that helps explain the lack of progress towards such guarantees. We show that no standard graph-based method (any that runs a variant of greedy search on a flat or hierarchical graph) can achieve sublinear query time for approximate nearest neighbor search in Euclidean space, even for an arbitrarily large approximation factor. On the other hand, we prove that sublinear query time is possible if we allow for Steiner points in the search graph. We obtain bounds comparable to LSH, showing e.g., that graph-based search with Steiner points can solve -approximate nearest neighbor search in Euclidean space with query time . We complement this result with initial experiments exploring how Steiner points can be incorporated into practical graph-based methods.
Create a lesson
Related papers
Efficient Privacy-Preserving High-Dimensional Approximate Nearest Neighbor Search
Shared title terminology · Lyu Xu, Guozhong Li, Qichen Wang
Dynamic k-Median with Worst-Case Update Time and Recourse
Shared title terminology · Chenglin Fan
Worst-Case to Average-Case Reductions for Basic Linear Algebra
Shared title terminology · Or Zamir
Optimal Worst-Case Open Addressing: Braided Cuckoo Hashing
Shared title terminology · Andrew Krapivin, William Kuszmaul
Deterministic Incremental Triconnectivity in O(\log^2 n) Worst-Case Time
Shared title terminology · Niels Inselmann Christiansen, Eva Rotenberg
Dynamic (Δ+1)-Coloring Against an Adaptive Adversary: Faster, Simpler, Worst-Case, and Bounded Recourse
Shared title terminology · Yuval Gil, Magnús M. Halldórsson