Skip to main content
QUICK REVIEW

[Paper Review] Decremental APSP in Directed Graphs Versus an Adaptive Adversary

Jacob Evald, Viktor Fredslund-Hansen|arXiv (Cornell University)|Oct 2, 2020
Complexity and Algorithms in GraphsComputer Science32 references4 citations
TL;DR

This paper presents new deterministic and randomized data structures for maintaining all-pairs shortest paths (APSP) in decremental directed graphs under an adaptive adversary, achieving near-optimal total update times: ˜O(n³) for exact distances and ˜O(m²/³n⁵/³ + n⁸/³/(m¹/³ǫ²)) for (1+ǫ)-approximate distances in sparse graphs, significantly improving prior bounds for adaptive adversaries.

ABSTRACT

Given a directed graph $G = (V,E)$, undergoing an online sequence of edge deletions with $m$ edges in the initial version of $G$ and $n = |V|$, we consider the problem of maintaining all-pairs shortest paths (APSP) in $G$. Whilst this problem has been studied in a long line of research [ACM'81, FOCS'99, FOCS'01, STOC'02, STOC'03, SWAT'04, STOC'13] and the problem of $(1+ε)$-approximate, weighted APSP was solved to near-optimal update time $ ilde{O}(mn)$ by Bernstein [STOC'13], the problem has mainly been studied in the context of oblivious adversaries, which assumes that the adversary fixes the update sequence before the algorithm is started. In this paper, we make significant progress on the problem in the setting where the adversary is adaptive, i.e. can base the update sequence on the output of the data structure queries. We present three new data structures that fit different settings: We first present a deterministic data structure that maintains exact distances with total update time $ ilde{O}(n^3)$. We also present a deterministic data structure that maintains $(1+ε)$-approximate distance estimates with total update time $ ilde O(\sqrt{m} n^2/ε)$ which for sparse graphs is $ ilde O(n^{2+1/2}/ε)$. Finally, we present a randomized $(1+ε)$-approximate data structure which works against an adaptive adversary; its total update time is $ ilde O(m^{2/3}n^{5/3} + n^{8/3}/(m^{1/3}ε^2))$ which for sparse graphs is $ ilde O(n^{2+1/3})$. Our exact data structure matches the total update time of the best randomized data structure by Baswana et al. [STOC'02] and maintains the distance matrix in near-optimal time. Our approximate data structures improve upon the best data structures against an adaptive adversary which have $ ilde{O}(mn^2)$ total update time [JACM'81, STOC'03].

Motivation & Objective

  • To address the long-standing challenge of maintaining all-pairs shortest paths in decremental directed graphs under an adaptive adversary, where update sequences depend on previous query responses.
  • To close the gap between known results for oblivious adversaries and the more realistic adaptive adversary model in dynamic APSP.
  • To design efficient data structures that maintain exact or (1+ǫ)-approximate distances with provable total update time bounds under adaptive updates.
  • To achieve near-optimal performance for both exact and approximate APSP in the decremental setting, particularly for sparse graphs.
  • To provide the first randomized data structure with sub-quadratic total update time against an adaptive adversary, improving upon the ˜O(mn²) baseline.

Proposed method

  • The authors introduce a hybrid approach combining the Even-Shiloach algorithm for small distances and a novel data structure for larger distances, using sampling and tree growth heuristics.
  • For the (1+ǫ)-approximate data structure, they maintain in-trees rooted at vertices and use randomized sampling to estimate distances, ensuring low expected update cost.
  • They employ a charging argument based on dynamic set sampling: when a vertex is marked, the expected size of the set Qi,j(u,v) is bounded by O(ln n / p) using probabilistic independence.
  • The algorithm uses a layered data structure where distances are processed in levels based on distance thresholds, and each level uses a different update strategy.
  • A key technique is bounding the expected number of sampled vertices added to query sets via concentration inequalities, ensuring low expected cost per update.
  • The total update time is optimized by balancing terms through a geometric series argument, setting optimal thresholds for switching between algorithms.

Experimental results

Research questions

  • RQ1Can exact APSP be maintained in decremental directed graphs with total update time ˜O(n³) under an adaptive adversary?
  • RQ2Can (1+ǫ)-approximate APSP be maintained with total update time ˜O(√mn²/ǫ) for sparse graphs under an adaptive adversary?
  • RQ3Can a randomized data structure achieve sub-quadratic total update time for (1+ǫ)-approximate APSP against an adaptive adversary?
  • RQ4How does the performance of these data structures compare to prior work under the adaptive adversary model?
  • RQ5What is the optimal trade-off between approximation factor ǫ and total update time in the decremental setting?

Key findings

  • The paper presents a deterministic data structure that maintains exact APSP with total update time ˜O(n³), matching the best known randomized bound by Baswana et al. [STOC'02].
  • A deterministic (1+ǫ)-approximate data structure achieves total update time ˜O(√mn²/ǫ), which is ˜O(n².⁵/ǫ) for sparse graphs, improving upon the ˜O(mn²) baseline for adaptive adversaries.
  • A randomized (1+ǫ)-approximate data structure achieves total update time ˜O(m²/³n⁵/³ + n⁸/³/(m¹/³ǫ²)), which simplifies to ˜O(n².³³) for sparse graphs, significantly improving prior ˜O(mn²) bounds.
  • The expected size of the query set Qi,j(u,v) after a vertex is marked is O(ln n / p), which is crucial for bounding the total update cost.
  • By combining the Even-Shiloach algorithm for small distances and the new data structure for large distances, the hybrid algorithm achieves a total expected update time of ˜O(m²/³n⁵/³ + n⁸/³/(m¹/³ǫ²)) for sparse graphs.
  • The analysis relies on a novel probabilistic argument on dynamic sampling of sets, showing that the probability of an empty sampled set decays exponentially with size, enabling tight expected cost bounds.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.