Sparse Navigable Graphs for Nearest Neighbor Search: Algorithms and Hardness
Sanjeev Khanna, Ashwin Padaki, Erik Waingarten
Abstract
We initiate the study of approximation algorithms and computational barriers for constructing sparse α-navigable graphs [IX23, DGM + 24], a core primitive underlying recent advances in graph-based nearest neighbor search. Given an n-point dataset P with an associated metric d and a parameter α ≥ 1, the goal is to efficiently build the sparsest graph G = (P, E) that is α-navigable: for every distinct s, t ∈ P , there exists an edge (s, u) ∈ E with d(u, t) < d(s, t)/α. We consider two natural sparsity objectives: minimizing the maximum out-degree and minimizing the total size (or equivalently, the average degree).
Our starting point is a strong negative result: the slow-preprocessing version of DiskANN (analyzed in [IX23] for low-doubling metrics) can yield solutions whose sparsity is Ω(n) times larger than optimal, even on Euclidean instances. We then show a tight approximation-preserving equivalence between the Sparsest Navigable Graph problem and the classic Set Cover problem, obtaining an O(n 3 )-time (ln n + 1)approximation algorithm, as well as establishing NP-hardness of achieving an o(ln n)-approximation. Building on this equivalence, we develop faster O(ln n)-approximation algorithms. The first runs in O(n • OPT) time and is therefore much faster when the optimal solution is sparse. The second, based on fast matrix multiplication, is a bicriteria algorithm that computes an O(ln n)-approximation to the sparsest 2α-navigable graph, running in O(n ω ) time. Finally, we complement our upper bounds with a query complexity lower bound, showing that any o(n)-approximation requires examining Ω(n 2 ) distances. This result shows that in the regime where OPT = O(n), our O(n • OPT)-time algorithm is essentially best possible.
Collectively, these results significantly advance our understanding of the computational complexity of computing sparse navigable graphs.
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.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 79bfb408-9734-4f61-be19-6a7c00eeeb84Cited by top-tier papers1
Ask how each one uses itBuilds on7
- Graph-based Nearest Neighbor Search: From Practice to TheoryLiudmila Prokhorenkova, Aleksandr ShekhovtsovICML 2020 · 68 citations
- Worst-case Performance of Popular Approximate Nearest Neighbor Search Implementations: Guarantees and LimitationsPiotr Indyk, Haike XuNeurIPS 2023 · 55 citations
- Navigable Graphs for High-Dimensional Nearest Neighbor Search: Constructions and LimitsHaya Diwan, Jinrui Gou, Cameron Musco, Christopher Musco et al.NeurIPS 2024 · 23 citations
- Distance Adaptive Beam Search for Provably Accurate Graph-Based Nearest Neighbor SearchYousef Al-Jazzazi, Haya Diwan, Jinrui Gou, Cameron Musco et al.NeurIPS 2025 · 3 citations
- Sort Before You Prune: Improved Worst-Case Guarantees of the DiskANN Family of GraphsSiddharth Gollapudi, Ravishankar Krishnaswamy, Kirankumar Shiragur, Harsh WardhanICML 2025
Related papers
- Sparse Neighborhood Graph-Based Approximate Nearest Neighbor Search Revisited: Theoretical Analysis and OptimizationXinran Ma, Zhaoqi Zhou, Chuan Zhou, Zaijiu Shang et al.VLDB 2026 · 1 citation
- Sublinear time approximation of the cost of a metric k-nearest neighbor graphArtur Czumaj, Christian SohlerSODA 2020 · 3 citations
- Revisiting the Index Construction of Proximity Graph-Based Approximate Nearest Neighbor SearchShuo Yang, Jiadong Xie, Yingfan Liu, Jeffrey Xu Yu et al.VLDB 2025 · 16 citations
- BAMG: A Block-Aware Monotonic Graph Index for Disk-Based Approximate Nearest Neighbor SearchHuiling Li, Xin Huang, Byron Choi, Jianliang XuICDE 2026 · 1 citation
- Spectral Sparsification of Metrics and KernelsKent QuanrudSODA 2021 · 5 citations
