Sparse Navigable Graphs for Nearest Neighbor Search: Algorithms and Hardness
Sanjeev Khanna, Ashwin Padaki, Erik Waingarten
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Sort Before You Prune: Improved Worst-Case Guarantees of the DiskANN Family of Graphs 引用了 Graph-based Nearest Neighbor Search: From Practice to Theory
- Sort Before You Prune: Improved Worst-Case Guarantees of the DiskANN Family of Graphs 引用了 Worst-case Performance of Popular Approximate Nearest Neighbor Search Implementations: Guarantees and Limitations
- Distance Adaptive Beam Search for Provably Accurate Graph-Based Nearest Neighbor Search 引用了 Sort Before You Prune: Improved Worst-Case Guarantees of the DiskANN Family of Graphs
- Distance Adaptive Beam Search for Provably Accurate Graph-Based Nearest Neighbor Search 引用了 Navigable Graphs for High-Dimensional Nearest Neighbor Search: Constructions and Limits
- Distance Adaptive Beam Search for Provably Accurate Graph-Based Nearest Neighbor Search 引用了 Efficiently Constructing Sparse Navigable Graphs
- Efficiently Constructing Sparse Navigable Graphs 引用了 Distance Adaptive Beam Search for Provably Accurate Graph-Based Nearest Neighbor Search
- Distance Adaptive Beam Search for Provably Accurate Graph-Based Nearest Neighbor Search 引用了 Graph-based Nearest Neighbor Search: From Practice to Theory
- Distance Adaptive Beam Search for Provably Accurate Graph-Based Nearest Neighbor Search 引用了 Worst-case Performance of Popular Approximate Nearest Neighbor Search Implementations: Guarantees and Limitations
- Navigable Graphs for High-Dimensional Nearest Neighbor Search: Constructions and Limits 引用了 Graph-based Nearest Neighbor Search: From Practice to Theory
- Navigable Graphs for High-Dimensional Nearest Neighbor Search: Constructions and Limits 引用了 Worst-case Performance of Popular Approximate Nearest Neighbor Search Implementations: Guarantees and Limitations
- Efficiently Constructing Sparse Navigable Graphs 引用了 Navigable Graphs for High-Dimensional Nearest Neighbor Search: Constructions and Limits
- Efficiently Constructing Sparse Navigable Graphs 引用了 Worst-case Performance of Popular Approximate Nearest Neighbor Search Implementations: Guarantees and Limitations
- Worst-case Performance of Popular Approximate Nearest Neighbor Search Implementations: Guarantees and Limitations 引用了 Graph-based Nearest Neighbor Search: From Practice to Theory
引用它的顶会 Paper1
它引用的 Paper7
- Graph-based Nearest Neighbor Search: From Practice to TheoryLiudmila Prokhorenkova, Aleksandr ShekhovtsovICML 2020 · 68 次引用
- Worst-case Performance of Popular Approximate Nearest Neighbor Search Implementations: Guarantees and LimitationsPiotr Indyk, Haike XuNeurIPS 2023 · 55 次引用
- Navigable Graphs for High-Dimensional Nearest Neighbor Search: Constructions and LimitsHaya Diwan, Jinrui Gou, Cameron Musco, Christopher Musco 等NeurIPS 2024 · 23 次引用
- Distance Adaptive Beam Search for Provably Accurate Graph-Based Nearest Neighbor SearchYousef Al-Jazzazi, Haya Diwan, Jinrui Gou, Cameron Musco 等NeurIPS 2025 · 3 次引用
- Sort Before You Prune: Improved Worst-Case Guarantees of the DiskANN Family of GraphsSiddharth Gollapudi, Ravishankar Krishnaswamy, Kirankumar Shiragur, Harsh WardhanICML 2025
相关 Paper
- Sparse Neighborhood Graph-Based Approximate Nearest Neighbor Search Revisited: Theoretical Analysis and OptimizationXinran Ma, Zhaoqi Zhou, Chuan Zhou, Zaijiu Shang 等VLDB 2026 · 1 次引用
- Sublinear time approximation of the cost of a metric k-nearest neighbor graphArtur Czumaj, Christian SohlerSODA 2020 · 3 次引用
- Revisiting the Index Construction of Proximity Graph-Based Approximate Nearest Neighbor SearchShuo Yang, Jiadong Xie, Yingfan Liu, Jeffrey Xu Yu 等VLDB 2025 · 16 次引用
- BAMG: A Block-Aware Monotonic Graph Index for Disk-Based Approximate Nearest Neighbor SearchHuiling Li, Xin Huang, Byron Choi, Jianliang XuICDE 2026 · 1 次引用
- Spectral Sparsification of Metrics and KernelsKent QuanrudSODA 2021 · 5 次引用
