A Feasible Graph Partition Framework for Random Walks Implemented by Parallel Computing in Big Graph

Xiaoming Liu, Yadong Zhou, Xiaohong GuanarXiv 2015

Introduction

In the era of "Big Graph" data, such as social networks with millions of users, a single machine is often insufficient to process an entire graph. Consequently, graphs must be partitioned across multiple parallel computing nodes. While standard partitioning algorithms are typically optimized for matrix computations or PageRank, they often fail to account for the unique behavior of random walks.

A random walker moves from vertex to vertex; if the subsequent vertex resides in a different partition, the system incurs significant network communication latency. Traditional random hashing or general-purpose partitioning often results in unbalanced loads and excessive "chatter" between nodes, where the walker spends more time jumping between machines than traversing the graph. This paper introduces a specialized framework designed to optimize partitioning specifically for random walk efficiency.

The Partitioning Framework

The authors treat graph partitioning as a multi-objective optimization problem, focusing on two primary functions:

  1. Minimize Vertex Replication: Reducing the number of times a vertex is copied across partitions to conserve memory and storage.
  2. Minimize Communication Expectation: Utilizing the stationary probability distribution of a Markov chain to predict likely walker paths and ensuring those paths remain within the same partition.
Figure 1: Illustration of vertex replication and partition mapping for a vertex-cut approach.

As shown in Figure 1, the framework manages how vertices (like vertex 3) are replicated across partitions to maintain connectivity while minimizing the overhead of inter-partition jumps. Because finding the optimal partition is NP-complete, the framework utilizes four greedy algorithms.

Greedy Partitioning Algorithms

  • BFS GP (Breadth-First Search): Starts with high-degree "hub" vertices and expands outward to maintain high modularity, keeping communities together.
  • LDFS GP (Large Degree First Search): Prioritizes merging high-degree vertices first. While extremely fast, it offers lower-quality partitions.
  • Balance GP: A variation of BFS/LDFS that strictly enforces roughly equal vertex counts per partition to prevent machine overloads.
  • Vertex-cut GP: Specifically designed to cut vertices rather than edges, which is often more efficient for graphs with power-law distributions.

Experimental Evaluation

The algorithms were evaluated using real-world social network data from Facebook at two scales: 100,001 vertices and 1,000,001 vertices.

Figure 3: The degree distribution of the Facebook graph with 100,001 vertices, showing a clear power-law characteristic.

As illustrated in Figure 3, the data exhibits a typical power-law distribution. A few "hub" vertices have a massive number of connections, making them the primary source of inter-partition jumps. The proposed framework prioritizes merging these hubs and their neighbors into the same partition to keep the walker "trapped" on one machine for as long as possible.

Key Results and Insights

  • Communication Efficiency: The BFS-based algorithm achieved a 70x reduction in communication overhead compared to standard random hashing. Unlike random hashing, which often causes a jump at every step, the proposed algorithms ensure partitions remain connected subgraphs.
  • Algorithm Trade-offs: BFS provided the best balance of speed and modularity. LDFS was the fastest, processing 100k nodes in just 2.68 seconds. While Vertex-cut provided the best theoretical reduction, it was computationally expensive, failing to process the 1-million-node graph within 10 days.
  • Modularity Correlation: There is a strong correlation between high modularity (community detection) and random walk efficiency; higher modularity directly leads to fewer inter-partition communications.

Conclusion and Future Work

While the proposed greedy algorithms significantly improve random walk performance in parallel environments, challenges remain regarding the scalability of complex strategies like Vertex-cut. Future research will focus on adapting these frameworks for dynamic graphs, where edges and vertices are constantly added, and further exploring the trade-off between memory usage (vertex replication) and bandwidth savings (communication reduction).

Summary updated

BibTeX
@misc{liu2015feasible,
  author = {Xiaoming Liu and Yadong Zhou and Xiaohong Guan},
  title = {{A Feasible Graph Partition Framework for Random Walks Implemented by Parallel Computing in Big Graph}},
  year = {2015},
  eprint = {1501.00067},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1501.00067},
}
Figure