NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Graph Partitioning for Distributed Graph Processing

Makoto Onizuka, Toshimasa Fujimori, Hiroaki ShiokawaData Sci. Eng 2017 · DOI

Abstract

Distributed graph processing is essential for handling billion-edge datasets, yet it faces a fundamental trade-off between communication overhead and load balancing. This paper presents a novel partitioning approach that integrates community-detection principles with bin-packing algorithms. By utilizing a balanced-size modularity clustering technique followed by a strategic merge phase, the proposed method achieves significant improvements in PageRank computation speeds and replication factors compared to existing streaming partitioners.

Introduction

As social networks and web-scale graphs continue to grow, single-machine processing becomes infeasible. Distributed engines like PowerGraph and Pregel partition graphs across clusters. However, effective partitioning must minimize communication costs (vertex replication) while maintaining a balanced load across machines to avoid "stragglers." Existing methods often prioritize one at the expense of the other: modularity-based clustering reduces communication but creates imbalance, while streaming partitioners like HDRF provide balance but suffer from high communication overhead.

Methodology: Balanced-Size Modularity Clustering

The authors propose a three-phase pipeline designed to bridge the gap between communication efficiency and load balance.

  1. Balanced-Size Modularity Clustering: The algorithm first generates a large set of fine-grained clusters. A modified modularity gain function is employed to penalize the formation of excessively large clusters, ensuring the initial building blocks are uniform.
  2. Cluster Merge Phase: These small clusters are treated as items to be packed into $k$ bins (representing the $k$ machines). A greedy approach prioritizes merging adjacent clusters to maintain low communication costs while ensuring global load balance.
  3. Graph Conversion: The final edge-cut based clusters are converted into a vertex-cut representation, assigning edges to machines to minimize the Replication Factor.
Figure 1: Illustration of the initial over-partitioned state and the final merged state of clusters.

Experimental Evaluation

The method was evaluated using 13 real-world datasets, including social networks (soc-LiveJournal1), web graphs (uk-2002, webbase-2001), and road networks (roadNet-CA).

Key Results

Implementation on PowerGraph demonstrated that the proposed method consistently outperforms state-of-the-art streaming partitioners:

  • Performance Gains: PageRank execution was up to 3.2x faster than HDRF on the LiveJournal dataset.
  • Replication Factor: On the uk-2002 graph, data transfer was reduced by 94% compared to HDRF. The replication factor remained significantly lower and more stable as the number of machines increased.
  • Load Balancing: The balanced-size modification kept the load balance factor near 1.0, a marked improvement over standard modularity clustering.
Figure 2: Comparison of replication factors across different partitioning algorithms and datasets as the number of machines scales.

Discussion and Insights

The "over-partition then pack" strategy effectively decouples the capture of local community structure from global load balancing. The study confirms that modularity serves as an excellent proxy for reducing network traffic in distributed systems. While the partitioning phase itself is more computationally intensive than streaming methods, the resulting speedups in iterative graph analysis (like PageRank) justify the overhead for static or semi-static datasets.

Conclusion and Future Work

This research provides a robust framework for high-performance distributed graph processing. Future directions include optimizing the partitioning time for dynamic graphs and developing automated methods for tuning the initial clustering parameters.

Summary updated

BibTeX
@article{onizuka2017graph,
  author = {Makoto Onizuka and Toshimasa Fujimori and Hiroaki Shiokawa},
  title = {{Graph Partitioning for Distributed Graph Processing}},
  journal = {Data Sci. Eng.},
  year = {2017},
  doi = {10.1007/s41019-017-0034-4},
}
Figure