Decremental Data Structures for Connectivity and Dominators in Directed Graphs

Loukas Georgiadis, Thomas Dueholm Hansen, Giuseppe F. Italiano, Sebastian Krinninger, Nikos Parotsidis

Introduction

Maintaining structural properties of graphs that undergo changes is a fundamental challenge in computer science. While dynamic algorithms for undirected graphs have seen significant progress, directed graphs (digraphs) have remained notoriously difficult to handle efficiently. This paper, originally presented at ICALP 2017, introduces a major theoretical breakthrough: the first non-trivial data structure for maintaining connectivity and dominator trees in directed graphs under a sequence of edge deletions.

The authors introduce the "joint SCC-decomposition," a framework that allows for maintaining strongly connected components (SCCs) in $O(mn \log n)$ total time. This structure not only facilitates efficient connectivity updates but also enables constant-time "sensitivity queries"—determining if two nodes remain connected after the failure of a third node—and provides the first efficient mechanism for maintaining dominator trees in general decremental digraphs.

The Challenge of Decremental Digraphs

In the decremental setting, an algorithm begins with a static graph and must process a sequence of edge deletions while answering queries about the graph's properties. The goal is to avoid the naive approach of recomputing the entire structure from scratch after every change, which would typically result in a total running time of $O(m^2)$.

Two specific properties are of interest here:

  1. Strongly Connected Components (SCCs): Sets of vertices where every vertex is reachable from every other vertex in the set.
  2. Dominator Trees: A structure where a node $w$ dominates $v$ if every path from a designated start node to $v$ must pass through $w$. Dominator trees are essential in compiler optimization, circuit testing, and network reliability analysis.

Prior to this work, maintaining a dominator tree under deletions required $O(m^2)$ time. The primary hurdle was handling "sensitivity"—understanding how the failure of a single component or vertex propagates through the reachability structure of the digraph without incurring a massive computational explosion.

The Joint SCC-Decomposition

The core innovation of this research is the Joint SCC-Decomposition. The authors build upon Łącki’s algorithm, which recursively decomposes SCCs into smaller sub-graphs as edges are removed.

A naive extension to handle vertex failures would involve maintaining $n$ separate versions of the graph (one for each possible vertex failure), leading to a prohibitive $O(m n^2)$ time complexity. The authors circumvent this by merging these $n$ potential decompositions into a single "joint" structure.

Structural Sharing and Efficiency

The breakthrough comes from the observation that many of these recursive decompositions share identical sub-trees. By employing a balanced partitioning of the vertex set and sharing these sub-trees across the data structure, the authors reduce the total number of nodes in the structure to $O(n \log n)$.

To manage space complexity, which could otherwise balloon, the authors avoid explicitly storing every edge in the condensed graphs. Instead, they track in-degrees and out-degrees, referring back to the original graph's edges only when necessary. This results in a space complexity of $O(n^2 \log n)$.

Key Results and Specialized Graphs

The framework provides several state-of-the-art bounds for decremental digraph problems:

  • General Digraphs: The algorithm maintains SCCs and dominator trees in $O(mn \log n)$ total time. Connectivity and sensitivity queries are answered in $O(1)$ time.
  • Reducible Flow Graphs: For this specific class of graphs—where every cycle has a single entry point (common in structured programming)—the authors provide an even faster $O(mn)$ time algorithm with $O(m+n)$ space. This is achieved by leveraging the unique topological properties of reducible graphs.
  • Versatility: The joint decomposition framework is robust enough to maintain 2-edge and 2-vertex connected components within the same $O(mn \log n)$ time bound.

Complexity and Optimality

The authors provide a theoretical "warning" regarding the limits of further improvement. By invoking the Online Matrix-Vector multiplication (OMv) Conjecture, they demonstrate that their $O(mn)$ update time for reducible graphs is likely near-optimal. This suggests that unless a fundamental breakthrough occurs in a separate area of computational complexity, we should not expect significantly faster algorithms for these problems in the near future.

Conclusion and Future Directions

This work represents a significant step forward in dynamic graph theory, breaking the $O(m^2)$ barrier for dominator trees and providing a unified framework for sensitivity and connectivity. However, challenges remain. The $O(n^2 \log n)$ space complexity, while a theoretical improvement, remains high for massive real-world datasets like the web graph or large social networks. Additionally, the transition from decremental (deletions only) to fully dynamic (insertions and deletions) algorithms for SCCs and dominator trees remains one of the most difficult open problems in the field.

Summary updated

BibTeX
@inproceedings{georgiadis2017decremental,
  author = {Loukas Georgiadis and Thomas Dueholm Hansen and Giuseppe F. Italiano and Sebastian Krinninger and Nikos Parotsidis},
  title = {{Decremental Data Structures for Connectivity and Dominators in Directed Graphs}},
  booktitle = {ICALP},
  year = {2017},
  doi = {10.4230/lipics.icalp.2017.42},
}
Figure