arXiv:2610.34302cs.DSOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.34302

Bicriteria Approximate Navigable Graphs in General Metrics

Hongyi Chen, Tianyi Zhang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We study approximation algorithms for constructing sparse navigable graphs in general metrics. Given an nn-point metric (P,d)(P, \mathsf{d}) and a parameter α≥1\alpha \geq 1, an α\alpha-navigable graph is a directed graph G=(P,E)G = (P, E) such that for every ordered pair of distinct points s,t∈Ps, t \in P, the vertex ss has an outgoing edge (s,p)(s, p) with d(p,t)<d(s,t)/α\mathsf{d}(p, t) < \mathsf{d}(s, t)/\alpha. The objective is to minimize the number of edges. The study of approximation algorithms for sparse navigable graphs in general metrics was recently initiated by Khanna, Padaki, and Waingarten (SODA 2026), and independently by Conway et al. (SODA 2026). These works show that the single-criterion problem faces a Set Cover barrier: an O(log⁡n)O(\log n)-approximation is achievable, whereas obtaining an o(log⁡n)o(\log n)-approximation is NP-hard. To obtain faster algorithms, Khanna, Padaki, and Waingarten (SODA 2026) introduced bicriteria approximation, in which the output graph is required to be α\alpha-navigable, while its size is compared against that of an optimal β\beta-navigable graph for some relaxed parameter β≥α\beta \geq \alpha. They gave a fast matrix-multiplication-based algorithm that computes an (α,2(1+ε)α)(\alpha, 2(1 + \varepsilon)\alpha)-bicriteria O(log⁡n)O(\log n)-approximation in time O~(nωlog⁡Δ/ε)\widetilde{O}(n^{\omega} \log \Delta/\varepsilon), where Δ\Delta denotes the aspect ratio and ω\omega is the matrix multiplication exponent. Our main result is a simpler near-quadratic-time algorithm with stronger bicriteria guarantees. For every constant α≥1\alpha \geq 1, we compute in time O~(n2log⁡Δ)\widetilde{O}(n^2 \log \Delta) an α\alpha-navigable graph that is simultaneously an (α,2α+O(1))(\alpha, 2\alpha + O(1))-bicriteria O(1)O(1)-approximation and an (α,α+O(1))(\alpha, \alpha + O(1))-bicriteria O(log⁡n)O(\log n)-approximation. We complement the algorithm with a hardness result showing that for every constant η∈(0,1)\eta \in (0, 1), no polynomial-time algorithm can compute an (α,2α−η)(\alpha, 2\alpha - \eta)-bicriteria o(log⁡n)o(\log n)-approximation unless P=NP\mathrm{P} = \mathrm{NP}.

*State Key Laboratory for Novel Software Technology, Nanjing University, hychener01@gmail.com

†^{\dagger}State Key Laboratory for Novel Software Technology, Nanjing University, tianyiz25@nju.edu.cn

1 Introduction

Nearest neighbor search has been a fundamental problem in computer science [Ben75, KOR98, IM98, JDS10, MY16], with wide applications in modern AI systems [JDJ19, LPP+20, GXG+23]. In this problem, we are given a point set PP together with a pairwise distance function d(⋅,⋅)\mathrm{d}(\cdot,\cdot), and the goal is to build an efficient data structure which (approximately) answers arg⁡min⁡p∈Pd(p,q)\arg\min_{p\in P}\mathrm{d}(p,q) for a query point qq in the underlying metric space. Locality-sensitive hashing has been a classical approach with abundant theoretical studies for this problem [AIL+15], but it becomes inefficient for large high-dimensional datasets. A recent line of practical work has adopted graph-based paradigms, including HNSW [MY16], NSG [FXWC17], and DiskANN [SDK+19]; these heuristic approaches have yielded impressive empirical performance on real-world datasets [WXYW21, AEP25]. A central theoretical abstraction behind graph-based search is navigability, which is defined as follows.

Definition 1.1 ([SDK +^{+}19, IX23]). Given a constant parameter α≥1\alpha \geq 1, for any ordered pair (s,t)∈P×P(s, t) \in P \times P with s≠ts \neq t and any point u∈Pu \in P, we say that a directed edge (s,u)(s, u) is an α\alpha-navigation from ss to tt if

d(u,t)<d(s,t)α.\mathrm{d}(u,t)<\frac{\mathrm{d}(s,t)}{\alpha}.

A directed graph G=(P,E)G = (P, E) is said to be α\alpha-navigable if for every ordered pair (s,t)∈P×P(s, t) \in P \times P with s≠ts \neq t, the vertex ss has at least one outgoing edge that forms an α\alpha-navigation toward tt.

Graph-based nearest-neighbor search methods typically proceed in two stages. In the preprocessing stage, one builds a navigable graph G=(P,E)G = (P, E) on the dataset. At query time, many such methods perform a greedy or greedy-search-like traversal over GG: starting from one or several entry points, they repeatedly inspect out-neighbors of currently active vertices and try to move the search toward points closer to the query. Thus, the quality of the graph is governed by two competing requirements: the graph should contain enough edges to satisfy the navigation constraints, but it should also be sparse so that memory usage and the cost of inspecting neighbors remain small. It was shown in [IX23] that, for any α>1\alpha > 1, any α\alpha-navigable graph can be used to construct a data structure which returns (α+1α−1+ϵ)\left(\frac{\alpha+1}{\alpha-1} + \epsilon\right)-approximate nearest neighbors in O(log⁡αΔ(α−1)ϵ)O\left(\log_{\alpha}\frac{\Delta}{(\alpha-1)\epsilon}\right) greedy steps, where Δ\Delta is the aspect ratio of the metric, namely the ratio of the maximum to the minimum distance between distinct points of PP.

This motivates the following problem: given an nn-point metric space (P,d)(P, \mathrm{d}) and a parameter α≥1\alpha \geq 1, construct an α\alpha-navigable graph using as few edges as possible. The authors of [DGM+^{+}24] showed that every set of nn distinct points admits a 1-navigable graph with O~(n3/2)1\widetilde{O}(n^{3/2})^{1} edges, and gave a O~(n2)\widetilde{O}(n^{2})-time construction. In a different direction, Arya and Mount [AM93] showed that, for point sets in dd-dimensional Euclidean space, one can construct a 1-navigable graph with maximum degree 2O(d)2^{O(d)}. However, they are not instance-optimal: a particular input PP may admit a much sparser navigable graph than the worst-case bound.

Two recent concurrent works [KPW26, CDFC +^{+}26] have initiated the study of approximation algorithms for constructing sparse α\alpha-navigable graphs in general metrics. In both works, the authors showed a reduction from Set Cover to α\alpha-navigable graphs, establishing NP-hardness of o(log⁡n)o(\log n)-approximations of the sparsest α\alpha-navigable graphs. On the algorithmic side, both works designed an O~(min⁡{n⋅OPTα,n2.5})\tilde{O}\left(\min\{n \cdot OPT_{\alpha}, n^{2.5}\}\right) time algorithm which computes O(log⁡n)O(\log n)-approximations of the sparsest α\alpha-navigable graphs, where OPTαOPT_{\alpha} is the number of edges in the optimal solution. Besides, for the special case of α=1\alpha = 1, the authors of [CDFC +^{+}26] showed a O~(n2)\tilde{O}(n^{2}) time algorithm with O(log⁡n)O(\log n)-approximation. For general values of α≥1\alpha \geq 1, to achieve faster runtime, the authors of [KPW26] have studied the notion of bicriteria approximation of α\alpha-navigable graphs defined below.

1^{1}Ö hides poly-logarithmic factors.

Definition 1.2 ([KPW26]). Let (P,d)(P, \mathrm{d}) be a finite metric space and β≥α≥1\beta \geq \alpha \geq 1. A directed graph G=(P,E)G = (P, E) is a (α,β)(\alpha, \beta)-bicriteria cc-approximation to the sparsest α\alpha-navigable graph if GG is α\alpha-navigable and

∣E∣≤c⋅min⁡Hisβ−navigable∣E(H)∣.|E|\leq c\cdot\min_{H is\beta-navigable}|E(H)|.

To unify notation, the single criterion problem of approximating α\alpha-navigable graphs can be written as a (α,α)(\alpha, \alpha)-bicriteria problem. In [KPW26], it was shown that a (α,2(1+ϵ)α)(\alpha, 2(1 + \epsilon)\alpha)-bicriteria O(log⁡n)O(\log n)-approximation can be computed by an algorithm in O~(nωlog⁡Δ/ϵ)\tilde{O}(n^\omega \log \Delta/\epsilon) time, where Δ\Delta is the aspect ratio of metric (P,d)(P, \mathrm{d}) and ω\omega is the matrix multiplication exponent. The following question was left open in [KPW26].

Question 1.3. Is there a quadratic-time algorithm for (bicriteria) O(log⁡n)O(\log n)-approximation of the sparsest α\alpha-navigable graph?