Skip to content

Fast Sparse αα-Navigable Graph Construction with Improved Resource Augmentation

Alex Conway, Laxman Dhulipala, Martin Farach-Colton, Ben Landrum, Christopher Musco, Yarin Shechter, Torsten Suel, Richard Wen

cs.DS

Abstract

Graph-based nearest neighbor search methods, which run greedy search on a directed graph over the data points, have surged in popularity in recent years. A common goal is to construct a search graph with the αα-navigability property, which ensures that greedy search returns provably good approximate nearest neighbors and converges in few iterations. Increasing α≥1α\geq 1 improves accuracy and convergence rate, but requires more edges, which increases both space and search time. This tradeoff has motivated the study of algorithms for constructing a sparsest αα-navigable graph for a given set of points. For any point set and any distance function, we show how to compute an αα-navigable graph with at most O(log⁡n)O(\log n) times as many edges as the sparsest (1+ε)α(1+\varepsilon)α-navigable graph, in O(nωlog⁡(Δ)/ε)O(n^ω\log(Δ)/\varepsilon) time, where ω<2.372ω< 2.372 is the matrix multiplication exponent and ΔΔ is the aspect ratio of the input. This improves on Khanna, Padaki, and Waingarten (SODA 2026), who achieve the same runtime but are only competitive with the sparsest 2(1+ε)α2(1+\varepsilon)α-navigable graph. Since sparsity often increases rapidly with αα (typically α≤1.1α\leq 1.1), their bound can be significantly weaker. Previously, the best algorithm competing with the sparsest (1+ε)α(1+\varepsilon)α-navigable graph required O~(n2.5)\widetilde{O}(n^{2.5}) time. Our techniques also extend to constructing sparse ττ-monotonic graphs, another popular target in nearest neighbor search. Finally, we give a fine-grained complexity analysis suggesting that improving the O(nω)O(n^ω) running time is unlikely, or would require a very different approach. It is based on hardness results for problems related to verifying whether a graph is navigable, a topic of independent interest.

Create a lesson