cs.DSOct 28, 2026

On Worst-Case Guarantees for Graph-Based Nearest-Neighbor Search

Authors: Majid Daliri, Mohammadreza Daneshvaramoli, Purna Dutta, Edo Liberty, Cameron Musco, Christopher Musco, Torsten Suel

Organizations: New York University. · UMass Amherst. · Google.

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 cc-approximate nearest neighbor search in Euclidean space with query time O~(n1/(c−1))\tilde{O}(n^{1/(c-1)}). We complement this result with initial experiments exploring how Steiner points can be incorporated into practical graph-based methods.

Explore similar work

CardsList
  1. HNSW with Accuracy Guarantees Using Graph Spanners

    Jul 2, 2026Minghao Li, Raghav Mittal, Sanjivni Rana +3Exact Nearest Neighbor SearchGraph-Based Retrieval

  2. Neighborhood Stability as a Measure of Nearest Neighbor Searchability

    Feb 18, 2026Thomas Vecchiato, Sebastian BruchApproximate Nearest Neighbor SearchClustering

  3. Approximate Nearest Neighbor Search for Modern AI: A Projection-Augmented Graph Approach

    Mar 1, 2026Kejing Lu, Zhenpeng Pan, Jianbin Qin +2Approximate Nearest Neighbor SearchGraph-Based Retrieval