Deterministic Algorithms for Decremental Shortest Paths via Layered Core Decomposition
Abstract
In the decremental single-source shortest paths (SSSP) problem, the input is an undirected graph G = (V, E) with n vertices and m edges undergoing edge deletions, together with a fixed source vertex s ∈ V . The goal is to maintain a data structure that supports shortest-path queries: given a vertex v ∈ V , quickly return an (approximate) shortest path from s to v. The decremental all-pairs shortest paths (APSP) problem is defined similarly, but now the shortest-path queries are allowed between any pair of vertices of V .
Both problems have been studied extensively since the 80's, and algorithms with near-optimal total update time and query time have been discovered for them. Unfortunately, all these algorithms are randomized and, more importantly, they need to assume an oblivious adversary -a drawback that prevents them from being used as subroutines in several known algorithms for classical static problems. In this paper, we provide new deterministic algorithms for both problems, which, by definition, can handle an adaptive adversary.
Our first result is a deterministic algorithm for the decremental SSSP problem on weighted graphs with O(n 2+o(1) ) total update time, that supports (1 + ǫ)-approximate shortest-path queries, with query time O(|P | • n o(1) ), where P is the returned path. This is the first (1 + ǫ)-approximation adaptive-update algorithm supporting shortest-path queries in time below O(n), that breaks the O(mn) total update time bound of the classical algorithm of Even and Shiloah from 1981. Previously, Bernstein and Chechik [STOC'16, ICALP'17] provided a Õ(n 2 )-time deterministic algorithm that supports approximate distance queries, but unfortunately the algorithm cannot return the approximate shortest paths. Chuzhoy and Khanna [STOC'19] showed an O(n 2+o(1) )-time randomized algorithm for SSSP that supports approximate shortest-path queries in the adaptive adversary regime, but their algorithm only works in the restricted setting where only vertex deletions, and not edge deletions are allowed, and it requires Ω(n) time to respond to shortest-path queries.
Our second result is a deterministic algorithm for the decremental APSP problem on unweighted graphs that achieves total update time O(n 2.5+δ ), for any constant δ > 0, supports approximate distance queries in O(log log n) time, and supports approximate shortest-path queries in time O(|E(P )| • n o(1) ), where P is the returned path; the algorithm achieves an O(1)-multiplicative and n o(1) -additive approximation on the path length. All previous algorithms for APSP either assume an oblivious adversary or have an Ω(n 3 ) total update time when m = Ω(n 2 ), even if an o(n)-multiplicative approximation is allowed.
To obtain both our results, we improve and generalize the layered core decomposition data structure introduced by Chuzhoy and Khanna to be nearly optimal in terms of various parameters, and introduce a new generic approach of rooting Even-Shiloach trees at expander sub-graphs of the given graph. We believe both these technical tools to be interesting in their own right and anticipate them to be useful for designing future dynamic algorithms that work against an adaptive adversary.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
24 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- A Deterministic Almost-Linear Time Algorithm for Minimum-Cost Flow cites A Deterministic Algorithm for Balanced Cut with Applications to Dynamic Connectivity, Flows, and Beyond
- A Deterministic Almost-Linear Time Algorithm for Minimum-Cost Flow cites Circulation Control for Faster Minimum Cost Flow in Unit-Capacity Graphs
- A Deterministic Almost-Linear Time Algorithm for Minimum-Cost Flow cites Breaking the Cubic Barrier for All-Pairs Max-Flow: Gomory-Hu Tree in Nearly Quadratic Time
- A Deterministic Almost-Linear Time Algorithm for Minimum-Cost Flow cites Maximum Flow and Minimum-Cost Flow in Almost-Linear Time
- A Deterministic Almost-Linear Time Algorithm for Minimum-Cost Flow cites Decremental all-pairs shortest paths in deterministic near-linear time
- All-Pairs Max-Flow is no Harder than Single-Pair Max-Flow: Gomory-Hu Trees in Almost-Linear Time cites Deterministic Decremental Reachability, SCC, and Shortest Paths via Directed Expanders and Congestion Balancing
- Breaking the Cubic Barrier for All-Pairs Max-Flow: Gomory-Hu Tree in Nearly Quadratic Time cites Maximum Flow and Minimum-Cost Flow in Almost-Linear Time
- Maximum Flow and Minimum-Cost Flow in Almost-Linear Time cites Breaking the Cubic Barrier for All-Pairs Max-Flow: Gomory-Hu Tree in Nearly Quadratic Time
- Deterministic Decremental Reachability, SCC, and Shortest Paths via Directed Expanders and Congestion Balancing cites A Deterministic Algorithm for Balanced Cut with Applications to Dynamic Connectivity, Flows, and Beyond
- Deterministic Decremental Reachability, SCC, and Shortest Paths via Directed Expanders and Congestion Balancing cites Deterministic Algorithms for Decremental Approximate Shortest Paths: Faster and Simpler
- Deterministic Decremental Reachability, SCC, and Shortest Paths via Directed Expanders and Congestion Balancing cites Rounding dynamic matchings against an adaptive adversary
- Rounding dynamic matchings against an adaptive adversary cites Deterministic Decremental Reachability, SCC, and Shortest Paths via Directed Expanders and Congestion Balancing
- Maximum Flow and Minimum-Cost Flow in Almost-Linear Time cites Circulation Control for Faster Minimum Cost Flow in Unit-Capacity Graphs
- Maximum Flow and Minimum-Cost Flow in Almost-Linear Time cites Deterministic Decremental Reachability, SCC, and Shortest Paths via Directed Expanders and Congestion Balancing
- Maximum Flow and Minimum-Cost Flow in Almost-Linear Time cites Decremental all-pairs shortest paths in deterministic near-linear time
- Rounding dynamic matchings against an adaptive adversary cites Deterministic Algorithms for Decremental Approximate Shortest Paths: Faster and Simpler
- Decremental all-pairs shortest paths in deterministic near-linear time cites A Deterministic Algorithm for Balanced Cut with Applications to Dynamic Connectivity, Flows, and Beyond
- Decremental all-pairs shortest paths in deterministic near-linear time cites Deterministic Algorithms for Decremental Approximate Shortest Paths: Faster and Simpler
Cited by top-tier papers24
- Maximum Flow and Minimum-Cost Flow in Almost-Linear TimeLi Chen, Rasmus Kyng, Yang P. Liu, Richard Peng et al.FOCS 2022 · 135 citations
- A Deterministic Almost-Linear Time Algorithm for Minimum-Cost FlowJan van den Brand, Li Chen, Richard Peng, Rasmus Kyng et al.FOCS 2023 · 28 citations
- Decremental all-pairs shortest paths in deterministic near-linear timeJulia ChuzhoySTOC 2021 · 18 citations
- Breaking the Cubic Barrier for All-Pairs Max-Flow: Gomory-Hu Tree in Nearly Quadratic TimeAmir Abboud, Robert Krauthgamer, Jason Li, Debmalya Panigrahi et al.FOCS 2022 · 16 citations
- All-Pairs Max-Flow is no Harder than Single-Pair Max-Flow: Gomory-Hu Trees in Almost-Linear TimeAmir Abboud, Jason Li, Debmalya Panigrahi, Thatchaphol SaranurakFOCS 2023 · 11 citations
Builds on5
- A Deterministic Algorithm for Balanced Cut with Applications to Dynamic Connectivity, Flows, and BeyondJulia Chuzhoy, Yu Gao, Jason Li, Danupon Nanongkai et al.FOCS 2020 · 76 citations
- Circulation Control for Faster Minimum Cost Flow in Unit-Capacity GraphsKyriakos Axiotis, Aleksander Madry, Adrian VladuFOCS 2020 · 43 citations
- Deterministic Decremental Reachability, SCC, and Shortest Paths via Directed Expanders and Congestion BalancingAaron Bernstein, Maximilian Probst Gutenberg, Thatchaphol SaranurakFOCS 2020 · 35 citations
- Deterministic Algorithms for Decremental Approximate Shortest Paths: Faster and SimplerMaximilian Probst Gutenberg, Christian Wulff-NilsenSODA 2020 · 20 citations
- Rounding dynamic matchings against an adaptive adversaryDavid WajcSTOC 2020 · 1 citation
Related papers
- Near-Optimal Decremental SSSP in Dense Weighted DigraphsAaron Bernstein, Maximilian Probst Gutenberg, Christian Wulff-NilsenFOCS 2020 · 16 citations
- Fully-Dynamic All-Pairs Shortest Paths: Improved Worst-Case Time and Space BoundsMaximilian Probst Gutenberg, Christian Wulff-NilsenSODA 2020 · 19 citations
- Fine-Grained Optimality of Partially Dynamic Shortest Paths and MoreBarna Saha, Virginia Vassilevska Williams, Yinzhan Xu, Christopher YeSODA 2025
- New algorithms and hardness for incremental single-source shortest paths in directed graphsMaximilian Probst Gutenberg, Virginia Vassilevska Williams, Nicole WeinSTOC 2020 · 21 citations
- Decremental SSSP in Weighted Digraphs: Faster and Against an Adaptive AdversaryMaximilian Probst Gutenberg, Christian Wulff-NilsenSODA 2020 · 19 citations
