English

Improved Distance (Sensitivity) Oracles with Subquadratic Space

Data Structures and Algorithms 2024-08-21 v2

Abstract

A distance oracle (DO) with stretch (α,β)(\alpha, \beta) for a graph GG is a data structure that, when queried with vertices ss and tt, returns a value d^(s,t)\widehat{d}(s,t) such that d(s,t)d^(s,t)αd(s,t)+βd(s,t) \le \widehat{d}(s,t) \le \alpha \cdot d(s,t) + \beta. An ff-edge fault-tolerant distance sensitivity oracle (ff-DSO) additionally receives a set FF of up to ff edges and estimates the ss-tt-distance in GFG{-}F. Our first contribution is a new distance oracle with subquadratic space for undirected graphs. Introducing a small additive stretch β>0\beta > 0 allows us to make the multiplicative stretch α\alpha arbitrarily small. This sidesteps a known lower bound of α3\alpha \ge 3 (for β=0\beta = 0 and subquadratic space) [Thorup & Zwick, JACM 2005]. We present a DO for graphs with edge weights in [0,W][0,W] that, for any positive integer tt and any c(0,/2]c \in (0, \ell/2], has stretch (1+1,2W)(1{+}\frac{1}{\ell}, 2W), space O~(n2ct)\widetilde{O}(n^{2-\frac{c}{t}}), and query time O(nc)O(n^c). These are the first subquadratic-space DOs with (1+ϵ,O(1))(1+\epsilon, O(1))-stretch generalizing Agarwal and Godfrey's results for sparse graphs [SODA 2013] to general undirected graphs. Our second contribution is a framework that turns a (α,β)(\alpha,\beta)-stretch DO for unweighted graphs into an (α(1+ε),β)(\alpha (1{+}\varepsilon),\beta)-stretch ff-DSO with sensitivity f=o(log(n)/loglogn)f = o(\log(n)/\log\log n) and retains subquadratic space. This generalizes a result by Bil\`o, Chechik, Choudhary, Cohen, Friedrich, Krogmann, and Schirneck [STOC 2023, TheoretiCS 2024] for the special case of stretch (3,0)(3,0) and f=O(1)f = O(1). By combining the framework with our new distance oracle, we obtain an ff-DSO that, for any γ(0,(+1)/2]\gamma \in (0, (\ell{+}1)/2], has stretch ((1+1)(1+ε),2)((1{+}\frac{1}{\ell}) (1{+}\varepsilon), 2), space n2γ(+1)(f+1)+o(1)/εf+2n^{ 2- \frac{\gamma}{(\ell+1)(f+1)} + o(1)}/\varepsilon^{f+2}, and query time O~(nγ/ε2)\widetilde{O}(n^{\gamma} /{\varepsilon}^2).

Keywords

Cite

@article{arxiv.2408.10014,
  title  = {Improved Distance (Sensitivity) Oracles with Subquadratic Space},
  author = {Davide Bilò and Shiri Chechik and Keerti Choudhary and Sarel Cohen and Tobias Friedrich and Martin Schirneck},
  journal= {arXiv preprint arXiv:2408.10014},
  year   = {2024}
}

Comments

An extended abstract of this work appeared at FOCS 2024

R2 v1 2026-06-28T18:16:49.161Z