[Paper Review] Fully Dynamic Shortest Paths and Reachability in Sparse Digraphs
This paper presents the first deterministic fully dynamic all-pairs shortest paths (APSP) data structure for sparse real-weighted directed graphs with non-trivial worst-case update and query bounds. It achieves eO(mn⁴/⁵) worst-case update time and eO(n⁴/⁵) query time by combining dynamic matrix inverse techniques with a novel decomposition of the graph into low-diameter components, enabling efficient shortest path maintenance under edge insertions and deletions.
We study the exact fully dynamic shortest paths problem. For real-weighted directed graphs, we show a deterministic fully dynamic data structure with Õ(mn^{4/5}) worst-case update time processing arbitrary s,t-distance queries in Õ(n^{4/5}) time. This constitutes the first non-trivial update/query tradeoff for this problem in the regime of sparse weighted directed graphs. Moreover, we give a Monte Carlo randomized fully dynamic reachability data structure processing single-edge updates in Õ(n√m) worst-case time and queries in O(√m) time. For sparse digraphs, such a tradeoff has only been previously described with amortized update time [Roditty and Zwick, SIAM J. Comp. 2008].
Motivation & Objective
- To close the gap in fully dynamic APSP for sparse weighted digraphs, where no non-trivial worst-case bounds were previously known.
- To develop a deterministic data structure that supports exact distance queries under fully dynamic edge updates (insertions and deletions).
- To achieve a non-trivial trade-off between update and query time in the sparse regime (m = eO(n)) beyond recomputing from scratch or using Dijkstra per query.
- To extend the dynamic matrix inverse framework to weighted, directed graphs with negative weights, ensuring correctness under the no-negative-cycle assumption.
Proposed method
- Leverages the dynamic matrix inverse framework from Sankowski [37], adapted to work with real-weighted digraphs via path counting over finite fields.
- Applies a phase-based approach where the inverse of the adjacency matrix is recomputed periodically in O(T) time, with T = O(mn) for sparse DAGs.
- Uses a decomposition of the graph into low-diameter components to bound the number of updates per phase and control the update cost.
- Employs a modified version of the path-counting technique over Z/pZ to maintain reachability and distance information under dynamic changes.
- Introduces a novel reduction from fully dynamic APSP to dynamic matrix inverse with controlled error probability via random prime modulus.
- Combines the inverse maintenance with shortest path reconstruction, allowing O(|P|) time reporting of actual shortest paths after a query.
Experimental results
Research questions
- RQ1Can a deterministic fully dynamic APSP data structure be designed for sparse real-weighted digraphs with non-trivial worst-case update and query bounds?
- RQ2Is it possible to extend the dynamic matrix inverse approach to weighted directed graphs, particularly with negative weights, while maintaining correctness?
- RQ3What is the optimal trade-off between update and query time in the sparse regime (m = eO(n)) for exact fully dynamic APSP?
- RQ4Can the dynamic matrix inverse framework be adapted to support shortest path reporting, not just distance queries?
- RQ5Does a phase-based recomputation strategy with periodic inverse recomputation yield better worst-case bounds than amortized approaches?
Key findings
- The paper presents a deterministic fully dynamic APSP data structure with eO(mn⁴/⁵) worst-case update time and eO(n⁴/⁵) query time for real-weighted directed graphs.
- The data structure correctly maintains distances only when the graph contains no negative cycles, ensuring correctness under this condition.
- After a distance query, a corresponding shortest path can be reconstructed in time linear in the path length, O(|P|).
- The approach achieves a non-trivial trade-off in the sparse regime, improving upon both recomputation (eO(n²)) and Dijkstra-per-query (eO(n)) worst-case costs.
- The method generalizes the dynamic matrix inverse framework to weighted digraphs using finite field arithmetic and path counting, enabling worst-case guarantees.
- The result establishes the first non-trivial worst-case update and query bounds for exact fully dynamic APSP in sparse weighted digraphs.
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.