Abstract
This paper presents a simplified parallel algorithm for the Low Diameter Decomposition (LDD) of undirected graphs. By utilizing a "Random Shift" approach based on the exponential distribution, the authors achieve an asymptotically optimal work complexity of $O(m)$ and a parallel depth of $O(\log^2 n / \beta)$. This method significantly reduces the algorithmic complexity of previous parallel approaches while maintaining robust theoretical guarantees for both strong diameter and edge-cut probability.
Introduction
Graph decomposition is a foundational primitive in computer science, used to partition a graph's vertices into clusters that are well-connected internally (low diameter) while minimizing the number of edges between different clusters (small cut). Such decompositions are critical for high-performance graph algorithms, including Symmetric Diagonally Dominant (SDD) linear solvers, graph spanners, and tree embeddings.
While sequential algorithms for LDD, such as the "ball growing" technique, are well-understood, they are inherently serial. Previous parallel adaptations often involved complex iterative stages and significant overhead. This paper addresses these challenges by introducing a single-pass parallel algorithm that leverages randomized start times to resolve cluster conflicts.
The Random Shift Algorithm
The proposed algorithm, Partition, replaces complex iterative rounds with a global randomized race. The process follows three primary steps:
- Exponential Delays: Each vertex $u$ in the graph independently selects a random shift value $\delta_u$ from an exponential distribution with mean $1/\beta$.
- Parallel BFS Race: The algorithm executes a parallel Breadth-First Search (BFS). A vertex $u$ begins its own cluster only after its specific delay $\delta_u$ has elapsed.
- Cluster Ownership: Each vertex $v$ is assigned to the cluster of the vertex $u$ that reaches it first in this "shifted" distance race. Formally, $v$ is assigned to the cluster of $u$ that minimizes $d(u, v) - \delta_u$.
Empirical Visualization of Parameter $\beta$
The parameter $\beta$ controls the trade-off between the diameter of the clusters and the probability of an edge being cut. As $\beta$ increases, clusters become smaller (lower diameter), but the number of edges connecting different clusters increases.
Key Insights: The Memoryless Advantage
The core innovation of this approach is the use of the exponential distribution. Because the exponential distribution is "memoryless," the probability that a vertex is claimed by a specific cluster in the next time step is independent of how much time has already passed. This property elegantly handles the overlaps and conflicts that typically arise when growing multiple clusters simultaneously in parallel.
Furthermore, the algorithm guarantees a strong diameter, meaning the shortest path between any two nodes in a cluster exists entirely within that cluster. This is a more stringent and useful property for downstream applications like tree embeddings than the weaker alternative where paths can exit the cluster.
Performance Guarantees
The Partition algorithm provides several key theoretical improvements:
- Work Efficiency: It performs $O(m)$ total work, matching the efficiency of the best sequential algorithms.
- Parallel Depth: It achieves a depth of $O(\frac{\log^2 n}{\beta})$ in the PRAM model, ensuring high scalability.
- Simplicity: By reducing the problem to a single parallel BFS with random start times, it removes the algorithmic "cruft" found in earlier parallel LDD methods.
Conclusion and Future Work
The Random Shift approach provides a remarkably simple and efficient framework for parallel graph decomposition. While the current work focuses on undirected, unweighted graphs, the authors suggest that the analysis can be extended to weighted graphs, though controlling parallel depth in that context remains more challenging. Future research may also explore applying these random shift techniques to the more difficult problem of directed graph decomposition.
Summary updated