Lune

STOC2022Top-tier venue

Subquadratic dynamic path reporting in directed graphs against an adaptive adversary

Adam Karczmarz, Anish Mukherjee, Piotr Sankowski

Abstract

We study reachability and shortest paths problems in dynamic directed graphs. Whereas algebraic dynamic data structures supporting edge updates and reachability/distance queries have been known for quite a long time, they do not, in general, allow reporting the underlying paths within the same time bounds, especially against an adaptive adversary. In this paper we develop the first known fully dynamic reachability data structures working against an adaptive adversary and supporting edge updates and path queries for two natural variants: (1) point-to-point path reporting, and (2) single-source reachability tree reporting. For point-to-point queries in DAGs, we achieve O(n 1.529 ) worst-case update and query bounds, whereas for tree reporting in DAGs, the respective worst-case bounds are O(n 1.765 ). More importantly, we show how to lift these algorithms to work on general graphs at the cost of increasing the bounds to n 1+5/6+o(1) and making the update times amortized. On the way to accomplishing these goals, we obtain two interesting subresults. We give subquadratic fully dynamic algorithms for topological order (in a DAG), and strongly connected components. To the best of our knowledge, such algorithms have not been described before. Additionally, we provide deterministic incremental data structures for (point-to-point or single-source) reachability and shortest paths that can handle edge insertions and report the respective paths within subquadratic worst-case time bounds. For reachability and (1 + ǫ)-approximate shortest paths in weighted directed graphs, these bounds match the best known dynamic matrix inverse-based randomized bounds for fully dynamic reachability [vdBNS19] . For exact shortest paths in unweighted graphs, the obtained bounds in the incremental setting polynomially improve upon the respective best known randomized update/distance query bounds in the fully dynamic setting.

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.

8 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Approximating Edit Distance in the Fully Dynamic Model cites An Improved Algorithm for Incremental Cycle Detection and Topological Ordering in Sparse Graphs
  • Approximating Edit Distance in the Fully Dynamic Model cites New algorithms and hardness for incremental single-source shortest paths in directed graphs
  • Approximating Edit Distance in the Fully Dynamic Model cites Deterministic Decremental Reachability, SCC, and Shortest Paths via Directed Expanders and Congestion Balancing
  • Approximating Edit Distance in the Fully Dynamic Model cites Near-Optimal Decremental SSSP in Dense Weighted Digraphs
  • Dynamic Dyck and Tree Edit Distance: Decompositions and Reductions to String Edit Distance cites Approximating Edit Distance in the Fully Dynamic Model
  • Dynamic Dyck and Tree Edit Distance: Decompositions and Reductions to String Edit Distance cites An Improved Algorithm for Incremental Cycle Detection and Topological Ordering in Sparse Graphs
  • Dynamic Dyck and Tree Edit Distance: Decompositions and Reductions to String Edit Distance cites New algorithms and hardness for incremental single-source shortest paths in directed graphs
  • Dynamic Dyck and Tree Edit Distance: Decompositions and Reductions to String Edit Distance cites Deterministic Decremental Reachability, SCC, and Shortest Paths via Directed Expanders and Congestion Balancing
  • Dynamic Dyck and Tree Edit Distance: Decompositions and Reductions to String Edit Distance cites Near-Optimal Decremental SSSP in Dense Weighted Digraphs
  • New algorithms and hardness for incremental single-source shortest paths in directed graphs cites An Improved Algorithm for Incremental Cycle Detection and Topological Ordering in Sparse Graphs
  • Deterministic Decremental Reachability, SCC, and Shortest Paths via Directed Expanders and Congestion Balancing cites New algorithms and hardness for incremental single-source shortest paths in directed graphs
  • Deterministic Decremental Reachability, SCC, and Shortest Paths via Directed Expanders and Congestion Balancing cites Near-Optimal Decremental SSSP in Dense Weighted Digraphs
  • Near-Optimal Decremental SSSP in Dense Weighted Digraphs cites Deterministic Decremental Reachability, SCC, and Shortest Paths via Directed Expanders and Congestion Balancing
  • Deterministic Fully Dynamic SSSP and More cites New algorithms and hardness for incremental single-source shortest paths in directed graphs
  • Deterministic Fully Dynamic SSSP and More cites Deterministic Decremental Reachability, SCC, and Shortest Paths via Directed Expanders and Congestion Balancing
  • Deterministic Fully Dynamic SSSP and More cites Fast Deterministic Fully Dynamic Distance Approximation
  • Deterministic Fully Dynamic SSSP and More cites Near-Optimal Decremental SSSP in Dense Weighted Digraphs
  • Near-Optimal Decremental SSSP in Dense Weighted Digraphs cites New algorithms and hardness for incremental single-source shortest paths in directed graphs
  • Deterministic Incremental APSP with Polylogarithmic Update Time and Stretch cites Fast Deterministic Fully Dynamic Distance Approximation
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers8

  1. Fast Deterministic Fully Dynamic Distance ApproximationJan van den Brand, Sebastian Forster, Yasamin NazariFOCS 2022 · 7 citations
  2. Deterministic Fully Dynamic SSSP and MoreJan van den Brand, Adam KarczmarzFOCS 2023 · 2 citations
  3. Deterministic Incremental APSP with Polylogarithmic Update Time and StretchSebastian Forster, Yasamin Nazari, Maximilian Probst GutenbergSTOC 2023 · 2 citations
  4. Approximating Edit Distance in the Fully Dynamic ModelTomasz Kociumaka, Anish Mukherjee, Barna SahaFOCS 2023 · 1 citation
  5. Dynamic Dyck and Tree Edit Distance: Decompositions and Reductions to String Edit DistanceDebarati Das, Jacob Gilbert, MohammadTaghi Hajiaghayi, Tomasz Kociumaka et al.FOCS 2025 · 1 citation

Builds on6

  1. Deterministic Decremental Reachability, SCC, and Shortest Paths via Directed Expanders and Congestion BalancingAaron Bernstein, Maximilian Probst Gutenberg, Thatchaphol SaranurakFOCS 2020 · 35 citations
  2. New algorithms and hardness for incremental single-source shortest paths in directed graphsMaximilian Probst Gutenberg, Virginia Vassilevska Williams, Nicole WeinSTOC 2020 · 21 citations
  3. Near-Optimal Decremental SSSP in Dense Weighted DigraphsAaron Bernstein, Maximilian Probst Gutenberg, Christian Wulff-NilsenFOCS 2020 · 16 citations
  4. An Improved Algorithm for Incremental Cycle Detection and Topological Ordering in Sparse GraphsSayan Bhattacharya, Janardhan KulkarniSODA 2020 · 15 citations
  5. Fast Deterministic Fully Dynamic Distance ApproximationJan van den Brand, Sebastian Forster, Yasamin NazariFOCS 2022 · 7 citations

Related papers

  1. Fully Dynamic Shortest Path Reporting Against an Adaptive AdversaryAnastasiia Alokhina, Jan van den BrandSODA 2024
  2. Fine-Grained Optimality of Partially Dynamic Shortest Paths and MoreBarna Saha, Virginia Vassilevska Williams, Yinzhan Xu, Christopher YeSODA 2025
  3. Fully-Dynamic All-Pairs Shortest Paths: Improved Worst-Case Time and Space BoundsMaximilian Probst Gutenberg, Christian Wulff-NilsenSODA 2020 · 19 citations
  4. Decremental SSSP in Weighted Digraphs: Faster and Against an Adaptive AdversaryMaximilian Probst Gutenberg, Christian Wulff-NilsenSODA 2020 · 19 citations
  5. Super-Logarithmic Lower Bounds for Dynamic Graph ProblemsKasper Green Larsen, Huacheng YuFOCS 2023 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines