Parallel Graph Decomposition and Diameter Approximation in o(Diameter) Time and Linear Space

Matteo Ceccarello, Andrea Pietracaprina, Geppino Pucci, Eli UpfalarXiv 2014

Introduction

As graph datasets—ranging from social networks and road maps to biological systems—scale into the billions of nodes, traditional graph algorithms face a significant "diameter bottleneck." Global properties like the diameter (the longest shortest path between any two nodes) are traditionally calculated using Breadth-First Search (BFS). However, in distributed environments such as MapReduce or Spark, a BFS-based approach requires a number of communication rounds proportional to the graph's diameter. For "long" graphs, such as road networks, this sequential dependency is prohibitively slow.

This paper introduces a novel parallel algorithm, CLUSTER, designed to decompose massive graphs into clusters with tightly controlled radii. By using this decomposition to build a "summary" quotient graph, the authors achieve polylogarithmic approximations for $k$-center clustering and graph diameter in sub-linear time relative to the diameter, all while maintaining strictly linear space complexity.

The CLUSTER Algorithm

The core of the research is the CLUSTER decomposition method. Unlike previous decomposition methods that pick centers all at once or randomly, CLUSTER utilizes a sophisticated "halving" strategy to ensure comprehensive coverage and efficiency:

  1. Iterative Activation: The algorithm selects a batch of nodes as "centers" and grows clusters around them in parallel.
  2. Dynamic Scaling: Every time the number of uncovered nodes is halved, a new batch of centers is activated. This ensures that even "sparse" or poorly connected regions of the graph are eventually covered by clusters with small radii.
  3. Quotient Graphs: To estimate the diameter, the authors represent each cluster as a single node in a new, much smaller "quotient graph." They then compute the diameter of this summary graph. Because the summary is compact, it can often be processed on a single machine or via fast matrix multiplication, bypassing the communication overhead of the original large-scale graph.

The authors analyze performance using the concept of doubling dimension—a measure of a graph's intrinsic dimensionality. For graphs with low doubling dimension (like road networks), their algorithm is provably faster than a standard BFS.

Experimental Evaluation

The authors evaluated their approach on several large-scale datasets, including:

  • Social Networks: A symmetrized subgraph of Twitter (~40M nodes, 684M edges) and the Livejournal network.
  • Road Networks: Large-scale maps of California (CA), Pennsylvania (PA), and Texas (TX).
  • Synthetic Mesh: A 1000x1000 grid used to verify theoretical bounds where the doubling dimension is known ($b=2$).

Key Results

  • Theoretical Guarantees: The algorithm provides an $O(\log^3 n)$ approximation for both $k$-center clustering and graph diameter.
  • Empirical Accuracy: In practice, the diameter approximation was significantly tighter than the theoretical bound—usually within a factor of 2 of the true value.
  • Speedup: On large-diameter graphs, the algorithm outperformed HADI (a popular diameter estimator) and BFS by orders of magnitude. For example, on the Texas road network, CLUSTER took approximately 600 seconds, while HADI required over 12,000 seconds.
  • Efficiency: The decomposition strategy consistently produced clusters with smaller maximum radii compared to previous state-of-the-art parallel decomposition methods, such as the MPX algorithm.

Insights and Future Directions

The research highlights the power of the quotient graph: one does not need to examine every edge to understand the global "shape" of a graph. A well-constructed quotient graph preserves global structure while discarding local noise. Furthermore, the algorithm is "topology-aware." In experiments where the authors artificially increased a graph's diameter by adding long "tails," the runtime remained nearly constant, whereas BFS slowed down linearly.

While the current work is optimized for unweighted, undirected graphs, it establishes a foundation for future research into weighted graphs. The authors are currently exploring how to extend these decomposition strategies to control "hop radius" in weighted environments, which would further optimize parallel depth in complex network analysis. By staying within $O(n+m)$ space, this approach remains viable for commodity hardware clusters, making it a practical tool for modern big data challenges.

Summary updated

BibTeX
@misc{ceccarello2014parallel,
  author = {Matteo Ceccarello and Andrea Pietracaprina and Geppino Pucci and Eli Upfal},
  title = {{Parallel Graph Decomposition and Diameter Approximation in o(Diameter) Time and Linear Space}},
  year = {2014},
  eprint = {1407.3144},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1407.3144},
}
Figure