Lune

FOCS2023Top-tier venue

Path-Reporting Distance Oracles with Logarithmic Stretch and Size O(n log log n)

Michael Elkin, Idan Shabat

Abstract

Given an n-vertex undirected graph G=(V,E,w)G=(V, E, w) and a parameter k≥1k \geq 1, a path-reporting distance oracle (or PRDO) is a data structure of size S(n,k)S(n, k), that given a query (u,v)∈V2(u, v) \in V^{2}, returns an f(k)f(k)-approximate shortest u−vu-v path P in G within time q(k)+O(∣P∣)q(k)+O(|P|). Here S(n,k),f(k)S(n, k), f(k) and q(k)q(k) are arbitrary (hopefully slowly-growing) functions. A distance oracle that only returns an approximate estimate d^(u,v)\hat{d}(u, v) of the distance dG(u,v)d_{G}(u, v) between the queried vertices is called a nonpath-reporting distance oracle.A landmark PRDO due to Thorup and Zwick [56] has S(n,k)=O(k⋅n1+1k),f(k)=2k−1S(n, k)=O\left(k \cdot n^{1+\frac{1}{k}}\right), f(k)=2 k-1 and q(k)=O(k)q(k)=O(k). Wulff-Nilsen [59] devised an improved query algorithm for this oracle with q(k)=O(log⁡k)q(k)=O(\log k). The size of this oracle is Ω(nlog⁡n)\Omega(n \log n) for all k. Elkin and Pettie [30] devised a PRDO with S(n,k)=O(log⁡k⋅n1+1k),f(k)=O(klog⁡4/37)S(n, k)=O\left(\log k \cdot n^{1+\frac{1}{k}}\right), f(k)=O\left(k^{\log _{4 / 3} 7}\right) and q(k)=O(log⁡k)q(k)=O(\log k). Neiman and Shabat [46] recently devised an improved PRDO with S(n,k)=O(n1+1k),f(k)=O(klog⁡4/34)S(n, k)=O\left(n^{1+\frac{1}{k}}\right), f(k)=O\left(k^{\log _{4 / 3} 4}\right) and q(k)=O(log⁡k)q(k)=O(\log k). These oracles (of [30], [46]) can be much sparser than O(nlog⁡n)O(n \log n) (the oracle of [46] can have linear size), but their stretch is polynomially larger than the optimal bound of 2k−12 k-1. On the other hand, a long line of non-pathreporting distance oracles culminated in a celebrated result by Chechik [14], in which S(n,k)=O(n1+1k),f(k)=2k−1S(n, k)=O\left(n^{1+\frac{1}{k}}\right), f(k)=2 k-1 and q(k)=O(1)q(k)=O(1).In this paper we make a dramatic progress in bridging the gap between path-reporting and non-path-reporting distance oracles. In particular, we devise a PRDO with size S(n,k)=S(n, k)= O([k⋅log⁡log⁡nlog⁡n]⋅n1+1k)O\left(\left[\frac{k \cdot \log \log n}{\log n}\right] \cdot n^{1+\frac{1}{k}}\right), stretch f(k)=O(k)f(k)=O(k) and query time q(k)=O(log⁡⌈k⋅log⁡log⁡nlog⁡n⌉)q(k)=O\left(\log \left\lceil\frac{k \cdot \log \log n}{\log n}\right\rceil\right). As ⌈k⋅log⁡log⁡nlog⁡n⌉=O(log⁡k)\left\lceil\frac{k \cdot \log \log n}{\log n}\right\rceil=O(\log k) for k≤log⁡nk \leq \log n, its size is always at most O(log⁡k⋅n1+1k)O\left(\log k \cdot n^{1+\frac{1}{k}}\right), and its query time is O(log⁡log⁡k)O(\log \log k). Moreover, for k=O(log⁡nlog⁡log⁡n)k=O\left(\frac{\log n}{\log \log n}\right), we have [k⋅log⁡log⁡nlog⁡n]=O(1)\left[\frac{k \cdot \log \log n}{\log n}\right]=O(1), i.e., S(n,k)=O(n1+1k),f(k)=O(k)S(n, k)=O\left(n^{1+\frac{1}{k}}\right), f(k)=O(k), and q(k)=O(1)q(k)=O(1). For k=Θ(log⁡n)k=\Theta(\log n), our oracle has size O(nlog⁡log⁡n)O(n \log \log n), stretch O(log⁡n)O(\log n) and query time O(log⁡(3)n)O\left(\log ^{(3)} n\right). We can also have linear size O(n)O(n), stretch O(log⁡n⋅log⁡log⁡n)O(\log n \cdot \log \log n) and query time O(log⁡(3)n)O\left(\log ^{(3)} n\right).These trade-offs exhibit polynomial improvement in stretch over the PRDOs of [30], [46]. For k=Ω(log⁡nlog⁡log⁡n)k=\Omega\left(\frac{\log n}{\log \log n}\right), our tradeoffs also strictly improve the long-standing bounds of [56], [59].Our results on PRDOs are based on novel constructions of approximate distance preservers, that we devise in this paper. Specifically, we show that for any ϵgt0\epsilon gt 0, any k=1,2,…k=1,2, \ldots, and any graph G=(V,E,w)G=(V, E, w) and a collection P\mathcal{P} of p vertex pairs, there exists a (1+ϵ)(1+\epsilon)-approximate preserver for G,PG, \mathcal{P} with O(γ(ϵ,k)⋅p+nlog⁡k+n1+1k)O\left(\gamma(\epsilon, k) \cdot p+n \log k+n^{1+\frac{1}{k}}\right) edges, where γ(ϵ,k)=\gamma(\epsilon, k)= (log⁡kϵ)O(log⁡k)\left(\frac{\log k}{\epsilon}\right)^{O(\log k)}. These new preservers are significantly sparser than the previous state-of-the-art approximate preservers due to Kogan and Parter [41].

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Bridge Girth: A Unifying Notion in Network Design cites Having Hope in Hops: New Spanners, Preservers and Lower Bounds for Hopsets
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Light Tree Covers, Routing, and Path-Reporting Oracles via Spanning Tree Covers in Doubling GraphsHsien-Chih Chang, Jonathan Conroy, Hung Le, Shay Solomon et al.STOC 2025 · 6 citations

Builds on2

  1. Having Hope in Hops: New Spanners, Preservers and Lower Bounds for HopsetsShimon Kogan, Merav ParterFOCS 2022 · 5 citations
  2. Bridge Girth: A Unifying Notion in Network DesignGreg Bodwin, Gary Hoppenworth, Ohad TrabelsiFOCS 2023 · 2 citations

Related papers

  1. Optimal Approximate Distance Oracle for Planar GraphsHung Le, Christian Wulff-NilsenFOCS 2021 · 7 citations
  2. Nearly 2-Approximate Distance Oracles in Subquadratic TimeShiri Chechik, Tianyi ZhangSODA 2022 · 5 citations
  3. Improved Distance (Sensitivity) Oracles with Subquadratic SpaceDavide Bilò, Shiri Chechik, Keerti Choudhary, Sarel Cohen et al.FOCS 2024 · 2 citations
  4. Approximate Distance Oracles Subject to Multiple Vertex FailuresRan Duan, Yong Gu, Hanlin RenSODA 2021 · 5 citations
  5. Approximate Distance Sensitivity Oracles in Subquadratic SpaceDavide Bilò, Shiri Chechik, Keerti Choudhary, Sarel Cohen et al.STOC 2023 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines