Abstract: This paper presents a novel algorithmic framework for computing maximal 2-connected subgraphs in directed graphs. By leveraging a local search technique based on Depth-First Search (DFS) and a $\sqrt{m}$ edge threshold, the authors achieve a running time of $O(m^{3/2})$. This significantly improves upon the previous $O(mn)$ and $O(n^2)$ bounds for sparse graphs where $m = o(n^{4/3})$.
Introduction
Connectivity is a cornerstone of graph theory, yet directed graphs (digraphs) present significantly greater analytical challenges than their undirected counterparts. While 2-connected components in undirected graphs can be identified in linear time, directed versions—where subgraphs must remain strongly connected after a vertex or edge removal—have historically required much higher computational costs. For decades, algorithms for finding maximal 2-edge-connected subgraphs (2ECS) and 2-vertex-connected subgraphs (2VCS) operated in $O(mn)$ time. A 2015 breakthrough reduced this to $O(n^2)$, which is optimal for dense graphs but remains inefficient for the sparse graphs common in real-world social, biological, and web networks.
This paper breaks this performance plateau by introducing a novel local search technique that achieves a running time of $O(m^{3/2})$. This result is particularly impactful for sparse graphs where the number of edges $m$ is significantly less than $n^{4/3}$.
Defining 2-Connectivity in Directed Graphs
In directed graphs, 2-connectivity is defined through the lens of strong connectivity. A subgraph is 2-edge-connected if it remains strongly connected after the removal of any single edge. Similarly, it is 2-vertex-connected if it remains strongly connected after the removal of any single vertex.
As illustrated in Figure 1, these definitions lead to different structural decompositions. The authors' work focuses on identifying these maximal subgraphs efficiently by partitioning the vertex set and iteratively refining it.
The Local Search Framework
The core innovation of this work is a "local search" subroutine, such as 1EdgeOut. Unlike traditional global approaches that process the entire graph, this algorithm seeks "small" components—subgraphs with at most $\sqrt{m}$ edges—that can be isolated from the rest of the graph by a single edge or vertex cut.
Key Algorithmic Techniques:
- Iterative Refinement: The algorithm maintains a partition of vertices and iteratively splits it by identifying components that fail the 2-connectivity test.
- Flow-Inspired DFS: To find 1-edge cuts without the overhead of full max-flow algorithms, the authors use a Depth-First Search (DFS) to identify a "heavy path." By reversing edges along this path in a residual graph, a subsequent search can trap and isolate a small component in time proportional to its size.
- The $\sqrt{m}$ Threshold: By limiting the search to components of size $\Delta = \sqrt{m}$, the algorithm balances the cost of local searches against the total recursion depth. If no small component is found, any remaining cut must split the graph into large pieces, which can only happen a limited number of times.
- Vertex Connectivity via Blocking: The authors adapt the edge-connectivity logic to vertex-connectivity by using "blocking" and "unblocking" mechanisms during the DFS to simulate the removal of a single vertex.
Key Results and Complexity
The primary result is an $O(m^{3/2})$ time algorithm for computing maximal 2-edge and 2-vertex connected subgraphs. This bound holds for sparse graphs where $m = o(n^{4/3})$, providing a significant speedup over the previous $O(n^2)$ state-of-the-art.
Furthermore, the authors extend this framework to:
- $k$-Edge Connectivity: For constant $k > 2$, maximal $k$-edge-connected subgraphs can be found in $O(m^{3/2} \log n)$ time.
- Undirected Graphs: The approach can be adapted to compute maximal $k$-edge-connected subgraphs in undirected graphs in $O((m + n \log n)\sqrt{n})$ time for constant $k$. For the specific case of $k=3$, they achieve $O(m\sqrt{n})$.
Conclusion and Future Directions
While $O(m^{3/2})$ represents a major theoretical advancement, several open questions remain. The algorithm's complexity grows exponentially with $k$, making it impractical for high-connectivity requirements. Additionally, the current methods are designed for static graphs; extending these techniques to dynamic graphs where edges are frequently updated is a promising area for future research. Finally, the "holy grail" of a linear-time $O(m+n)$ algorithm for directed 2-connectivity remains an elusive goal, as it is still unknown whether the directed case can ever match the efficiency of the undirected case.
Summary updated