Fine-Grained Optimality of Partially Dynamic Shortest Paths and More
Barna Saha, Virginia Vassilevska Williams, Yinzhan Xu, Christopher Ye
TL;DR
The paper establishes a tight conditional lower bound showing that any partially dynamic exact stSP algorithm on $n$-node graphs requires $n^{4-o(1)}$ time under the Minimum-Weight 4-Clique hypothesis, thereby separating the complexity of exact from approximate dynamic shortest paths. It provides a comprehensive study of dynamic variants beyond edge-weighted SSSP, including node-weighted shortest paths, bottleneck paths, and earliest arrivals, delivering new subquartic (and near-linear) algorithms in the partially dynamic setting and demonstrating conditional lower bounds based on OMv3 and 4-clique hypotheses. The work also delivers a fully dynamic APBP algorithm with $ ilde{O}(n^2)$ amortized update time, and develops intricate gadget-based reductions to propagate hardness from classical problems to dynamic path problems. Overall, it advances understanding of what can be efficiently maintained under graph updates and clarifies why fast approximations exist while exact dynamic solutions remain intractable under widely believed hypotheses, with implications for related path problems in practice. The results leverage a blend of algebraic techniques, batch-processing schemes, and carefully engineered reductions to illuminate the boundaries of dynamic shortest-path computation.
Abstract
Single Source Shortest Paths ($\textrm{SSSP}$) is among the most well-studied problems in computer science. In the incremental (resp. decremental) setting, the goal is to maintain distances from a fixed source in a graph undergoing edge insertions (resp. deletions). A long line of research culminated in a near-optimal deterministic $(1 + \varepsilon)$-approximate data structure with $m^{1 + o(1)}$ total update time over all $m$ updates by Bernstein, Probst Gutenberg and Saranurak [FOCS 2021]. However, there has been remarkably little progress on the exact $\textrm{SSSP}$ problem beyond Even and Shiloach's algorithm [J. ACM 1981] for unweighted graphs. For weighted graphs, there are no exact algorithms beyond recomputing $\textrm{SSSP}$ from scratch in $\widetilde{O}(m^2)$ total update time, even for the simpler Single-Source Single-Target Shortest Path problem ($\textrm{stSP}$). Despite this lack of progress, known (conditional) lower bounds only rule out algorithms with amortized update time better than $m^{1/2 - o(1)}$ in dense graphs. In this paper, we give a tight (conditional) lower bound: any partially dynamic exact $\textrm{stSP}$ algorithm requires $m^{2 - o(1)}$ total update time for any sparsity $m$. We thus resolve the complexity of partially dynamic shortest paths, and separate the hardness of exact and approximate shortest paths, giving evidence as to why no non-trivial exact algorithms have been obtained while fast approximation algorithms are known. Moreover, we give tight bounds on the complexity of combinatorial algorithms for several path problems that have been studied in the static setting since early sixties: Node-weighted shortest paths (studied alongside edge-weighted shortest paths), bottleneck paths (early work dates back to 1960), and earliest arrivals (early work dates back to 1958).
