[Paper Review] Near-Optimal Deterministic Single-Source Distance Sensitivity Oracles
This paper presents the first deterministic, near-optimal Single-Source Distance Sensitivity Oracles (DSOs) for graphs with integer edge weights in [1, M], achieving O(M^{1/2}n^{3/2}) space and Õ(1) query time. It derandomizes existing randomized SSRP algorithms using combinatorial and algebraic techniques, significantly improving preprocessing time while maintaining optimal space bounds for unweighted and weighted graphs.
Given a graph with a source vertex $s$, the Single Source Replacement Paths (SSRP) problem is to compute, for every vertex $t$ and edge $e$, the length $d(s,t,e)$ of a shortest path from $s$ to $t$ that avoids $e$. A Single-Source Distance Sensitivity Oracle (Single-Source DSO) is a data structure that answers queries of the form $(t,e)$ by returning the distance $d(s,t,e)$. We show how to deterministically compress the output of the SSRP problem on $n$-vertex, $m$-edge graphs with integer edge weights in the range $[1,M]$ into a Single-Source DSO of size $O(M^{1/2}n^{3/2})$ with query time $\widetilde{O}(1)$. The space requirement is optimal (up to the word size) and our techniques can also handle vertex failures. Chechik and Cohen [SODA 2019] presented a combinatorial, randomized $\widetilde{O}(m\sqrt{n}+n^2)$ time SSRP algorithm for undirected and unweighted graphs. Grandoni and Vassilevska Williams [FOCS 2012, TALG 2020] gave an algebraic, randomized $\widetilde{O}(Mn^ω)$ time SSRP algorithm for graphs with integer edge weights in the range $[1,M]$, where $ω<2.373$ is the matrix multiplication exponent. We derandomize both algorithms for undirected graphs in the same asymptotic running time and apply our compression to obtain deterministic Single-Source DSOs. The $\widetilde{O}(m\sqrt{n}+n^2)$ and $\widetilde{O}(Mn^ω)$ preprocessing times are polynomial improvements over previous $o(n^2)$-space oracles. On sparse graphs with $m=O(n^{5/4-\varepsilon}/M^{7/4})$ edges, for any constant $\varepsilon > 0$, we reduce the preprocessing to randomized $\widetilde{O}(M^{7/8}m^{1/2}n^{11/8})=O(n^{2-\varepsilon/2})$ time. This is the first truly subquadratic time algorithm for building Single-Source DSOs on sparse graphs.
Motivation & Objective
- To develop deterministic, space-efficient Single-Source Distance Sensitivity Oracles (DSOs) for graphs with integer edge weights.
- To achieve near-optimal space complexity O(M^{1/2}n^{3/2}) while maintaining Õ(1) query time.
- To derandomize existing randomized SSRP algorithms with the same asymptotic running time, particularly for unweighted and weighted graphs.
- To improve preprocessing time for o(n²)-space oracles, especially on sparse graphs.
- To extend the oracles to support path reporting and achieve constant query time at the cost of slightly increased space.
Proposed method
- Derandomization of Chechik and Cohen’s randomized eO(m√n + n²) combinatorial SSRP algorithm for unweighted graphs using probabilistic method and pivot-based path reconstruction.
- Application of range minimum query (RMQ) data structures to efficiently compute replacement path distances in subintervals of edges.
- Use of random pivots to w.h.p. identify replacement paths that avoid failing edges, leveraging high-probability concentration bounds.
- Recursive search over edge intervals [a,b] with dynamic bounds ∆[a,b] and δ[a,b] to locate the minimal replacement distance pair (dℓ, e∗ℓ).
- Binary search within intervals to locate edges in the far case II that yield the minimal replacement distance, ensuring correctness w.h.p.
- Compression of SSRP output into compact oracles via structured indexing and pivot-based path representation, enabling efficient query resolution.
Experimental results
Research questions
- RQ1Can the randomized eO(m√n + n²) combinatorial SSRP algorithm for unweighted graphs be derandomized with the same asymptotic running time?
- RQ2Can the algebraic eO(Mn^ω) SSRP algorithm for weighted graphs be derandomized while preserving preprocessing efficiency?
- RQ3Is it possible to construct a deterministic Single-Source DSO with near-optimal space O(M^{1/2}n^{3/2}) and Õ(1) query time?
- RQ4Can preprocessing time be reduced below O(n²) for sparse graphs with m = O(n^{5/4−ε} M^{7/4}) edges?
- RQ5Can the query time be reduced to O(1) while maintaining subquadratic preprocessing and near-optimal space?
Key findings
- The paper presents a deterministic Single-Source DSO with O(M^{1/2}n^{3/2}) space and Õ(1) query time, matching the space lower bound up to polylogarithmic factors.
- The preprocessing time for the combinatorial DSO is eO(m√n + n²), which improves over previous o(n²)-space oracles by a √n factor.
- For weighted graphs, the algebraic derandomization yields an eO(Mn^ω) preprocessing time, improving over prior o(n²)-space oracles by polynomial factors.
- A variant of the oracle achieves O(1) query time at the cost of increasing space to O(M^{1/3}n^{5/3}).
- On sparse graphs with m = O(n^{5/4−ε} M^{7/4}) edges, the preprocessing time is reduced to eO(M^{7/8} m^{1/2} n^{11/8}) = O(n^{2−ε/2}), the first truly subquadratic algorithm for such oracles.
- All oracles can be made path-reporting, returning the actual replacement path, not just the distance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.