Skip to content

Nearly Optimal Sparse Navigable Graphs in General Metrics

Hongyi Chen, Tianyi Zhang

cs.DS

Abstract

We study approximation algorithms for constructing sparse navigable graphs in general metrics. Given an nn-point metric (P,d)(P,d) and a parameter α≥1α\ge1, a directed graph on PP is αα-navigable if, for every pair of distinct points s,t∈Ps,t\in P, the source ss has an outgoing neighbor pp with d(p,t)<d(s,t)/αd(p,t)<d(s,t)/α. The objective is to minimize the number of edges. Recent independent works of Khanna, Padaki, and Waingarten (2026) and Conway et al. (2026) give O(log⁡n)O(\log n)-approximation algorithms and show that an o(log⁡n)o(\log n) approximation is NP-hard in general. Before our work, the best known running time for such an approximation for general α≥1α\ge1 was O~(min⁡{nOPT⁡α,n2.5})\widetilde O(\min\{n\operatorname{OPT}_α,n^{2.5}\}), where OPT⁡α\operatorname{OPT}_α is the minimum number of edges in an αα-navigable graph. In this paper, we give a randomized algorithm that, with high probability, runs in O~(n2)\widetilde O(n^2) time and achieves an O(log⁡n)O(\log n) approximation for every α≥1α\ge1. In general, these guarantees are nearly optimal up to constant factors in the approximation and polylogarithmic factors in the running time.

Create a lesson