[Paper Review] Log Diameter Rounds Algorithms for $2$-Vertex and $2$-Edge Connectivity
This paper presents fully scalable MPC algorithms for 2-edge and 2-vertex connectivity in undirected graphs, achieving O(log D log log(m/n) n) and O(log D log² log(m/n) n + log D′ log log(m/n) n) parallel time respectively, where D is the graph diameter and D′ is the bi-diameter. The algorithms use tree decomposition, LCA, and RMQ techniques to efficiently identify bridges and biconnected components in sub-logarithmic rounds relative to the graph diameter.
Many modern parallel systems, such as MapReduce, Hadoop and Spark, can be modeled well by the MPC model. The MPC model captures well coarse-grained computation on large data --- data is distributed to processors, each of which has a sublinear (in the input data) amount of memory and we alternate between rounds of computation and rounds of communication, where each machine can communicate an amount of data as large as the size of its memory. This model is stronger than the classical PRAM model, and it is an intriguing question to design algorithms whose running time is smaller than in the PRAM model. In this paper, we study two fundamental problems, $2$-edge connectivity and $2$-vertex connectivity (biconnectivity). PRAM algorithms which run in $O(\log n)$ time have been known for many years. We give algorithms using roughly log diameter rounds in the MPC model. Our main results are, for an $n$-vertex, $m$-edge graph of diameter $D$ and bi-diameter $D'$, 1) a $O(\log D\log\log_{m/n} n)$ parallel time $2$-edge connectivity algorithm, 2) a $O(\log D\log^2\log_{m/n}n+\log D'\log\log_{m/n}n)$ parallel time biconnectivity algorithm, where the bi-diameter $D'$ is the largest cycle length over all the vertex pairs in the same biconnected component. Our results are fully scalable, meaning that the memory per processor can be $O(n^δ)$ for arbitrary constant $δ>0$, and the total memory used is linear in the problem size. Our $2$-edge connectivity algorithm achieves the same parallel time as the connectivity algorithm of Andoni et al. (FOCS 2018). We also show an $Ω(\log D')$ conditional lower bound for the biconnectivity problem.
Motivation & Objective
- To design fully scalable parallel algorithms for 2-edge and 2-vertex connectivity in the MPC model with improved time complexity over classical PRAM approaches.
- To achieve running times that depend on the graph diameter D and bi-diameter D′ rather than on n, enabling faster performance on graphs with small diameter.
- To demonstrate that 2-edge connectivity can be solved in O(log D log log(m/n) n) time, matching the best-known connectivity algorithms in the MPC model.
- To establish a conditional lower bound for biconnectivity, showing that Ω(log D′) time is necessary under the widely accepted one-cycle vs. two-cycles conjecture.
Proposed method
- Construct a spanning tree with depth at most diam(G)^O(log log(m/n) n) using a randomized tree decomposition technique.
- Use a linear-work, O(log(dep(par))) time LCA algorithm as a subroutine to compute lowest common ancestors in the tree.
- Apply range minimum query (RMQ) techniques to identify bridges and biconnected components, handling small subtrees locally and larger ones via a specialized RMQ data structure.
- Leverage the MPC model's ability to use O(n^δ) memory per machine for any δ > 0, ensuring full scalability with total space O(m^{1+γ}) for any γ > 0.
- Use a reduction from the one-cycle vs. two-cycles problem to prove a conditional lower bound for biconnectivity, showing that Ω(log D′) time is necessary under the conjecture.
- Combine sorting, LCA queries, and component labeling to identify biconnected components in the final step of the algorithm.
Experimental results
Research questions
- RQ1Can 2-edge connectivity be solved in O(log D log log(m/n) n) time in the MPC model with fully scalable memory per processor?
- RQ2Can biconnectivity be solved in time O(log D log² log(m/n) n + log D′ log log(m/n) n), where D′ is the bi-diameter?
- RQ3Is there a conditional lower bound for biconnectivity in the MPC model that depends on the bi-diameter D′?
- RQ4Can the proposed algorithms be fully scalable, using O(n^δ) memory per machine for any δ > 0 and total space linear in the input size?
Key findings
- The 2-edge connectivity algorithm runs in O(log D log log(m/n) n) parallel time and uses O(m^{1+γ}) total space, matching the best-known time for graph connectivity in the MPC model.
- The biconnectivity algorithm runs in O(log D log² log(m/n) n + log D′ log log(m/n) n) time, with the same total space complexity, and is fully scalable.
- The paper establishes a conditional lower bound: any MPC algorithm for biconnectivity requires Ω(log D′) time unless the one-cycle vs. two-cycles conjecture is false.
- The correctness of both algorithms is guaranteed with high probability (at least 0.97 for biconnectivity, 0.99 for 2-edge connectivity), relying on randomized tree construction and LCA/RMQ subroutines.
- The algorithms are fully scalable, supporting any constant δ > 0 for per-machine memory size O(n^δ), and total memory remains linear in the input size.
- The approach leverages tree decomposition, LCA, and RMQ techniques to reduce the problem to subroutines with known efficient MPC implementations.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.