Fully Dynamic Exact Edge Connectivity in Sublinear Time

Gramoz Goranci, Monika Henzinger, Danupon Nanongkai, Thatchaphol Saranurak, Mikkel Thorup, Christian Wulff-Nilsen

TL;DR

This paper breaks a 15-year standstill in dynamic graph algorithms by introducing the first sublinear-time algorithms for exactly maintaining the edge connectivity of a graph undergoing both insertions and deletions. The authors present two novel approaches—a randomized algorithm with $\tilde{O}(n)$ worst-case update time and a deterministic one with $\tilde{O}(m^{1-1/31})$ amortized update time—resolving a long-standing open question posed by Mikkel Thorup in 2007.

What Problem Does This Paper Address?

The edge connectivity of an undirected graph is the minimum number of edges that must be removed to disconnect it. It is a fundamental metric for network reliability and vulnerability. While computing this value on a static graph is well-understood, real-world networks (like communication networks or social graphs) are constantly changing. The fully dynamic setting requires an algorithm to quickly update the edge connectivity as edges are inserted or deleted online.

Prior to this paper, the only way to find the exact edge connectivity for general dense graphs undergoing both insertions and deletions was the trivial one: recomputing it from scratch every time, taking $\Theta(m)$ time per update. Existing faster algorithms were heavily limited—either they only handled insertions, provided approximations, or only worked when the connectivity value itself was very small. This paper tackles the challenge of achieving sublinear update time ($o(m)$) for exact edge connectivity in general graphs under arbitrary sequences of updates.

Methods

The authors bypass classical tree-respecting cut frameworks by focusing on maintaining a Non-singleton Minimum Cut (NMC) sparsifier—a smaller, contracted version of the graph that preserves all minimum cuts except those isolating a single vertex (which are trivial to track via vertex degrees). They propose two distinct algorithmic frameworks to maintain this sparsifier:

  1. Randomized Framework (Worst-Case Time): This method uses a dynamic variant of random 2-out contractions, which shrinks the vertex count to $O(n/\delta)$, where $\delta$ is the minimum degree. To handle the edges efficiently, they maintain a sparse connectivity certificate using advanced streaming and parallel tools, specifically $\ell_0$-sampling sketches combined with dynamic tree data structures. This allows them to query cuts in worst-case sublinear time against an adaptive adversary.
  2. Deterministic Framework (Amortized Time): This approach leverages expander decompositions—partitioning the graph into highly connected clusters. By dynamically maintaining these clusters using expander pruning under edge deletions and handling insertions "on the side" via periodic rebuilding, they construct a deterministic NMC sparsifier.

Datasets

Not discussed in the paper. As a purely theoretical computer science paper, it focuses on proving mathematical bounds and algorithmic complexity rather than evaluating on empirical datasets or benchmarks.

Key Insights and Ideas

  • Shifting Focus to NMC Sparsifiers: Instead of trying to maintain complex tree-based dynamic programming structures (a notorious bottleneck in dynamic graph algorithms), the authors realized that maintaining an NMC sparsifier is both sufficient and much more adaptable to dynamic changes.
  • Overcoming Deletion Failures via Expander Pruning: While NMC sparsifiers compose nicely when adding edges, they break completely when edges are deleted. The authors solved this deterministically by using expander pruning to cleanly "shave" and "trim" vertices away from well-connected clusters as deletions occur, maintaining the sparsifier's integrity.
  • The Parallel-Switching Trick: For the deterministic algorithm, the authors elegantly combined their new sparsifier algorithm (which excels when connectivity is large) with Thorup's 2007 algorithm (which excels when connectivity is small). By tracking a threshold and dynamically switching between the two, they achieved sublinear time across all graph densities.

Key Results

The paper delivers two breakthrough upper bounds for fully dynamic exact edge connectivity:

  • Randomized Algorithm: Achieves $\tilde{O}(n)$ worst-case update time with high probability. This provides a sublinear update time for dense graphs where the number of edges $m = \Omega(n^{1+\epsilon})$.
  • Deterministic Algorithm: Achieves $\tilde{O}(m^{29/31}n^{1/31}) = \tilde{O}(m^{1-1/31})$ amortized update time. This is the first exact algorithm to achieve sublinear update time regardless of graph density.

Limitations and Future Work

  • Exponents in Amortized Time: The exponent in the deterministic algorithm's runtime ($\tilde{O}(m^{1-1/31})$) is theoretical and quite small, leaving significant room for optimization to make it practically viable.
  • Improving Bounded Dependency: The authors note that reducing the polynomial dependency on edge connectivity in existing bounded algorithms would immediately translate to faster overall running times for their expander-based framework.
  • Approximation Barriers: A major remaining open question is whether a fully dynamic algorithm can achieve $(1+\epsilon)$-approximation in true poly-logarithmic update time, breaking the current $O(\sqrt{n})$ barrier.

Summary updated

BibTeX
@inproceedings{goranci2023fully,
  author = {Gramoz Goranci and Monika Henzinger and Danupon Nanongkai and Thatchaphol Saranurak and Mikkel Thorup and Christian Wulff-Nilsen},
  title = {{Fully Dynamic Exact Edge Connectivity in Sublinear Time}},
  booktitle = {SODA},
  year = {2023},
  doi = {10.1137/1.9781611977554.ch3},
}
Figure