[Paper Review] Parallel Graph Connectivity in Log Diameter Rounds
This paper presents a novel parallel algorithm for graph connectivity in the Massively Parallel Computation (MPC) model, achieving $O(\log D \cdot \log \log_{m/n}n)$ rounds using $\Theta(m)$ total memory, where $D$ is the graph diameter. It introduces a double exponential speedup technique via multistep reduction, including truncated broadcasting and min-parent forest-based leader selection, significantly improving upon the classical $O(\log n)$ bound for PRAM models.
We study graph connectivity problem in MPC model. On an undirected graph with $n$ nodes and $m$ edges, $O(\log n)$ round connectivity algorithms have been known for over 35 years. However, no algorithms with better complexity bounds were known. In this work, we give fully scalable, faster algorithms for the connectivity problem, by parameterizing the time complexity as a function of the diameter of the graph. Our main result is a $O(\log D \log\log_{m/n} n)$ time connectivity algorithm for diameter-$D$ graphs, using $Θ(m)$ total memory. If our algorithm can use more memory, it can terminate in fewer rounds, and there is no lower bound on the memory per processor. We extend our results to related graph problems such as spanning forest, finding a DFS sequence, exact/approximate minimum spanning forest, and bottleneck spanning forest. We also show that achieving similar bounds for reachability in directed graphs would imply faster boolean matrix multiplication algorithms. We introduce several new algorithmic ideas. We describe a general technique called double exponential speed problem size reduction which roughly means that if we can use total memory $N$ to reduce a problem from size $n$ to $n/k$, for $k=(N/n)^{Θ(1)}$ in one phase, then we can solve the problem in $O(\log\log_{N/n} n)$ phases. In order to achieve this fast reduction for graph connectivity, we use a multistep algorithm. One key step is a carefully constructed truncated broadcasting scheme where each node broadcasts neighbor sets to its neighbors in a way that limits the size of the resulting neighbor sets. Another key step is random leader contraction, where we choose a smaller set of leaders than many previous works do.
Motivation & Objective
- To design faster, fully scalable connectivity algorithms in the MPC model that outperform classical PRAM algorithms.
- To reduce the time complexity of graph connectivity below $O(\log n)$ rounds by parameterizing it on the graph diameter $D$.
- To develop a general technique for rapid problem size reduction in parallel graph algorithms using total memory $N$.
- To extend the approach to related problems such as spanning forest, DFS sequence, and minimum spanning forest.
- To establish a connection between fast directed reachability and faster boolean matrix multiplication.
Proposed method
- Introduces a double exponential speedup technique: if a problem of size $n$ can be reduced to $n/k$ in one phase using $N$ total memory with $k = (N/n)^{\Theta(1)}$, then the problem can be solved in $O(\log \log_{N/n}n)$ phases.
- Employs a truncated broadcasting scheme where nodes limit neighbor set growth during communication to control expansion.
- Uses min-parent forest-based leader selection to reduce the number of leaders more efficiently than random sampling, enabling faster early progress.
- Applies tree contraction and neighbor increment operations to maintain connectivity information across phases.
- Combines multiple local shortest path trees and path generation techniques to support spanning forest construction.
- Uses range minimum queries and DFS sequence generation to support LCA and path queries in trees.
Experimental results
Research questions
- RQ1Can graph connectivity be solved in $o(\log n)$ rounds in the MPC model, especially for graphs with small diameter?
- RQ2What is the optimal trade-off between memory usage and round complexity for connectivity in MPC?
- RQ3Can a double exponential speedup technique be generalized to other graph problems?
- RQ4How does min-parent forest leader selection compare to random leader sampling in practice for connectivity?
- RQ5Does achieving fast reachability in directed graphs imply faster boolean matrix multiplication?
Key findings
- The proposed algorithm achieves $O(\log D \cdot \log \log_{m/n}n)$ round complexity for connectivity in undirected graphs using $\Theta(m)$ total memory.
- With $r \geq c \cdot \log \log_{m/n}n$ rounds for a sufficiently large constant $c$, the algorithm succeeds with probability at least $2/3$ and avoids failure with high probability.
- The min-parent forest leader selection method enables faster early progress compared to random sampling, especially when $m = \Theta(n)$.
- The algorithm extends to compute spanning forests, DFS sequences, and minimum spanning forests with similar round complexity.
- A faster directed reachability algorithm in MPC would imply faster boolean matrix multiplication, establishing a strong complexity-theoretic link.
- The double exponential speedup technique enables problem size reduction that leads to sub-logarithmic round complexity in terms of $\log \log_{N/n}n$.
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.