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

Distributed Power-law Graph Computing: Theoretical and Empirical Analysis

Cong Xie, Ling Yan, Wu-Jun Li, Zhihua ZhangNeurIPS 2014

Introduction

This paper introduces Degree-Based Hashing (DBH), a novel graph partitioning strategy designed specifically for the skewed "power-law" distributions found in real-world networks like Twitter or the web. By intelligently assigning edges to machines based on vertex degrees, DBH reduces communication overhead by up to 80% and speeds up distributed graph processing by as much as 60% compared to state-of-the-art methods.

The Challenge of Power-Law Graphs

As graphs grow to billions of edges, they no longer fit on a single machine. Distributed Graph Computing (DGC) frameworks (like PowerGraph or Pregel) solve this by partitioning the graph across a cluster of servers. However, the way you split the graph—Graph Partitioning (GP)—is a double-edged sword.

If you partition poorly, you end up with:

  1. Workload Imbalance: Some machines do all the work while others sit idle.
  2. High Communication Cost: Machines spend more time "talking" to each other to sync vertex data than actually computing.

Most real-world graphs follow a power-law distribution, meaning a tiny fraction of "superstar" vertices have a massive number of connections, while the vast majority have very few. Standard partitioning methods (like simple hashing) struggle with these superstars, often replicating them across every single machine in the cluster, which creates a massive communication bottleneck.

Bad vs. Good Partitioning

The Degree-Based Hashing (DBH) Method

To address this, the authors propose a "vertex-cut" approach called Degree-Based Hashing (DBH).

Edge-Cut vs. Vertex-Cut

In a vertex-cut, edges are assigned to machines, and vertices are "cut" (replicated) if their edges live on different machines. The core innovation of DBH is its simple but effective hashing rule. For any given edge connecting two vertices, the algorithm:

  1. Checks the degrees (number of connections) of both vertices.
  2. Assigns the edge to the machine associated with the vertex that has the lower degree.

Why does this work? By prioritizing the lower-degree vertex, the algorithm effectively "hides" the high-degree superstar vertices. Instead of a superstar being forced onto every machine that holds one of its millions of edges, those edges are pulled toward the machines of their low-degree neighbors. This significantly reduces the number of "mirrors" (replicas) required for high-degree nodes.

Datasets and Evaluation

The researchers evaluated DBH using both synthetic and massive real-world datasets:

  • Real-World Graphs: Twitter (42 million nodes, 1.47 billion edges), Arabic-2005 (22 million nodes), LiveJournal, and Wiki.
  • Synthetic Graphs: 15 different power-law graphs generated with varying parameters to test the algorithm under different levels of "skewness."

Key Insights

  • Exploiting the Skew: Most previous methods tried to be "degree-agnostic." DBH realizes that in a power-law world, treating all vertices as equal is an expensive mistake.
  • Simplicity is Scalable: DBH is a one-pass hashing algorithm. It doesn't require complex coordination or expensive iterative movements of data, making it easy to implement in existing engines like PowerGraph.
  • Theoretical Guarantees: Unlike many heuristic-based approaches, the authors provide rigorous proofs showing that DBH maintains a lower "replication factor" (communication cost) while still guaranteeing a balanced workload across machines.

Key Results

The empirical results were striking when comparing DBH against "Random" (PowerGraph's default) and "Grid" (GraphBuilder's default) partitioning:

  • Replication Factor: On synthetic graphs, DBH reduced the number of vertex replicas by up to 80% compared to Random and 60% compared to Grid.
  • Execution Speedup: When running the PageRank algorithm on the Twitter graph, DBH was 60% faster than the Random method and 25% faster than the Grid method.
  • Scalability: The performance gap actually widened as the number of machines increased, suggesting DBH is better suited for very large-scale clusters.

Limitations and Future Work

While DBH is highly effective, the paper leaves a few stones unturned:

  • Static vs. Dynamic: The method assumes the graph structure (and vertex degrees) is known upfront. It is unclear how DBH would handle dynamic graphs where edges are constantly being added or deleted, changing vertex degrees in real-time.
  • Degree Pre-processing: DBH requires a preliminary pass to count vertex degrees. While this is a standard and fast operation in most pipelines, it is still an extra step.
  • Future Directions: The authors suggest that the "Grid" approach and "DBH" approach use different mathematical tricks to reduce replicas; combining them into a hybrid "Degree-Based Grid" could potentially yield even better results.

Summary updated

BibTeX
@inproceedings{xie2014distributed,
  author = {Cong Xie and Ling Yan and Wu-Jun Li and Zhihua Zhang},
  title = {{Distributed Power-law Graph Computing: Theoretical and Empirical Analysis}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2014},
  url = {https://openreview.net/forum?id=HyVvTUWOWS},
}
Figure