Lune

FOCS2023Top-tier venue

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

Michael Elkin, Idan Shabat

2023Year
1Citations
1Top-tier citations

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 about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext 27fcf42c-565d-4a0a-a50a-afba36da1294

Cited by top-tier papers1

Ask how each one uses it

Builds on2

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines