Abstract
This paper presents a deterministic derandomization of two fundamental graph algorithms: Replacement Paths and Distance Sensitivity Oracles (DSOs). By substituting traditional random sampling techniques with a deterministic greedy framework, the authors achieve a near-optimal $O(m\sqrt{n})$ combinatorial algorithm for replacement paths in directed unweighted graphs. This result matches the state-of-the-art running times previously only attainable via randomized methods, effectively closing a decade-long gap in algorithmic graph theory.
Introduction
In modern network infrastructure, such as telecommunications or power grids, the ability to maintain connectivity despite component failure is critical. Fault-tolerant graph algorithms address this by pre-calculating or efficiently finding alternative routes when specific edges or vertices become unavailable. Historically, the most efficient solutions for these problems relied on randomized sampling—specifically, the "sampling lemma," which posits that a random subset of vertices will likely intersect all sufficiently long paths. While effective, randomized algorithms introduce a margin of failure and lack the predictability required for certain high-stakes systems. This work provides a deterministic alternative that maintains the efficiency of its randomized predecessors.
Problem Definitions
The research focuses on two primary problems in fault-tolerant network analysis:
- Replacement Paths (RP): Given a shortest path from source $s$ to target $t$, the goal is to find the shortest alternative path for every possible single-edge failure along that original route.
- Distance Sensitivity Oracles (DSOs): This involves constructing a data structure that can efficiently answer distance queries between any two vertices $u$ and $v$ following the failure of a set of $f$ edges or vertices.
Methodology: The Derandomization Framework
The core contribution of this work is a general derandomization framework that replaces the standard sampling lemma with a three-step deterministic approach:
1. Existence Proof
The authors demonstrate that there exists a relatively small set of "critical paths" such that hitting these paths with a set of pivot vertices is sufficient to guarantee the correctness of the algorithm.
2. Efficient Computation and Path Reuse
To find these critical paths without prior knowledge of which components will fail, the authors introduce the "Method of Reusing Common Subpaths." This technique identifies overlapping segments across different failure scenarios, significantly pruning the search space and reducing the number of paths the algorithm must track.
3. Deterministic Hitting Set
Finally, the framework employs a deterministic greedy algorithm, GreedyPivotsSelection, to identify a small set of vertices that intersects every path in the critical set. This replaces the "luck" of random sampling with a guaranteed coverage of the necessary path space.
For DSOs, the authors adapt Fault-Tolerant Trees—a recursive data structure—and utilize dynamic programming to build them efficiently under this deterministic regime.
Key Results
The paper establishes several new benchmarks for deterministic graph algorithms:
- Replacement Paths: The authors provide the first deterministic combinatorial algorithm for directed unweighted graphs with a runtime of $O(m\sqrt{n})$. This is considered near-optimal because, under the hypothesis of conditional lower bounds, improving this complexity would require a breakthrough in Boolean Matrix Multiplication (BMM).
- k-Simple Shortest Paths: The RP result directly leads to a deterministic algorithm for the $k$-simple shortest paths problem in $O(km\sqrt{n})$ time.
- Distance Sensitivity Oracles: The work derandomizes the $f$-DSO previously established by Weimann and Yuster (2010). It achieves a preprocessing time of $\tilde{O}(mn^{1+\epsilon})$ and subquadratic query time for weighted directed graphs, matching the asymptotic performance of the randomized version.
Discussion and Future Work
While the DSO results are applicable to weighted graphs, the $O(m\sqrt{n})$ replacement path result is currently limited to unweighted directed graphs. The gap between randomized and deterministic efficiency in weighted directed graphs remains an open challenge.
Furthermore, the authors emphasize the "combinatorial" nature of their algorithms. Unlike algebraic methods that rely on fast matrix multiplication (e.g., Strassen’s algorithm), combinatorial algorithms are generally more practical for real-world implementation. The authors suggest that this derandomization framework may be applicable to other domains, such as dynamic graph algorithms, where the sampling lemma is currently a standard but non-deterministic tool.
Summary updated