Efficiently Constructing Sparse Navigable Graphs
Alex Conway, Laxman Dhulipala, Martin Farach-Colton, Rob Johnson, Ben Landrum, Christopher Musco, Yarin Shechter, Torsten Suel, Richard Wen
摘要
Graph-based nearest neighbor search methods have seen a surge of popularity in recent years, offering state-of-the-art performance across a wide variety of applications. Central to these methods is the task of constructing a sparse navigable search graph for a given dataset endowed with a distance function. Unfortunately, doing so is computationally expensive, so heuristics are universally used in practice.
In this work, we initiate the study of fast algorithms with provable guarantees for search graph construction. For a dataset with n data points, the problem of constructing an optimally sparse navigable graph can be framed as n separate but highly correlated minimum set cover instances. This yields a naive O(n 3 ) time greedy algorithm that returns a navigable graph whose sparsity is at most O(log n) higher than optimal. We improve significantly on this baseline, taking advantage of correlation between the set cover instances to leverage techniques from streaming and sublinear-time set cover algorithms. By also introducing problem-specific pre-processing techniques, we obtain an Õ(n 2 ) time algorithm for constructing an O(log n)-approximate sparsest navigable graph under any distance function.
The runtime of our method is optimal up to logarithmic factors under the Strong Exponential Time Hypothesis via a reduction from the Monochromatic Closest Pair problem. Moreover, we prove that, as with general set cover, obtaining better than an O(log n)-approximation is NP-hard, despite the significant additional structure present in the navigable graph problem. Finally, we show that our approach can also beat cubic time for the closely related and practically important problems of constructing α-shortcut reachable and τ -monotonic graphs, which are also used for nearest neighbor search. For such graphs, we show that black-box sublinear set cover algorithms yield Õ(n 2.5 ) time or better algorithms.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Distance Adaptive Beam Search for Provably Accurate Graph-Based Nearest Neighbor Search 引用了 Reformer: The Efficient Transformer
- 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 引用了 Efficient Approximate Nearest Neighbor Search in Multi-dimensional Databases
- 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
- Distance Adaptive Beam Search for Provably Accurate Graph-Based Nearest Neighbor Search 引用了 Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- Sparse Navigable Graphs for Nearest Neighbor Search: Algorithms and Hardness 引用了 Distance Adaptive Beam Search for Provably Accurate Graph-Based Nearest Neighbor Search
- Sparse Navigable Graphs for Nearest Neighbor Search: Algorithms and Hardness 引用了 Navigable Graphs for High-Dimensional Nearest Neighbor Search: Constructions and Limits
- Sparse Navigable Graphs for Nearest Neighbor Search: Algorithms and Hardness 引用了 Worst-case Performance of Popular Approximate Nearest Neighbor Search Implementations: Guarantees and Limitations
- Navigable Graphs for High-Dimensional Nearest Neighbor Search: Constructions and Limits 引用了 Worst-case Performance of Popular Approximate Nearest Neighbor Search Implementations: Guarantees and Limitations
引用它的顶会 Paper2
它引用的 Paper7
- Retrieval-Augmented Generation for Knowledge-Intensive NLP TasksPatrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni 等NeurIPS 2020 · 19,162 次引用
- Reformer: The Efficient TransformerNikita Kitaev, Lukasz Kaiser, Anselm LevskayaICLR 2020 · 2,878 次引用
- Efficient Approximate Nearest Neighbor Search in Multi-dimensional DatabasesYun Peng, Byron Choi, Tsz Nam Chan, Jianye Yang 等SIGMOD 2023 · 74 次引用
- 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 次引用
相关 Paper
- Sparse Neighborhood Graph-Based Approximate Nearest Neighbor Search Revisited: Theoretical Analysis and OptimizationXinran Ma, Zhaoqi Zhou, Chuan Zhou, Zaijiu Shang 等VLDB 2026 · 1 次引用
- CSPG: Crossing Sparse Proximity Graphs for Approximate Nearest Neighbor SearchMing Yang, Yuzheng Cai, Weiguo ZhengNeurIPS 2024 · 14 次引用
- Graph-based Nearest Neighbor Search: From Practice to TheoryLiudmila Prokhorenkova, Aleksandr ShekhovtsovICML 2020 · 68 次引用
- Graph-Based Algorithms for Diverse Similarity SearchPiyush Anand, Piotr Indyk, Ravishankar Krishnaswamy, Sepideh Mahabadi 等ICML 2025
- BAMG: A Block-Aware Monotonic Graph Index for Disk-Based Approximate Nearest Neighbor SearchHuiling Li, Xin Huang, Byron Choi, Jianliang XuICDE 2026 · 1 次引用
