A Two-Tier Partition Algorithm for the Optimization of the Large-Scale Simulation of Information Diffusion in Social Networks

Bin Chen, Hailiang Chen, Dandan Ning, Mengna Zhu, Chuan Ai, Xiaogang Qiu, Weihui DaiSymmetry 2020

TL;DR

This paper tackles the challenge of simulating massive social networks by proposing a novel two-tier partitioning algorithm. By combining community detection with graph cut, their method significantly reduces communication overhead and improves load balancing in distributed simulations, making it feasible to model millions of agents.

What Problem Does This Paper Address?

Simulating the spread of information (like news or rumors) across vast social networks is crucial for understanding public opinion, media influence, and behavior change. However, existing agent-based modeling (ABM) tools struggle with the sheer scale of modern platforms like Facebook and WeChat, which boast billions of users. Classical ABM tools can't handle more than thousands of agents, while big data platforms like Hadoop and Spark, though scalable, aren't optimized for the specific demands of social network simulations. The core problem is efficiently distributing and processing the immense data and complex interactions of millions of agents across a distributed computing cluster, minimizing communication bottlenecks and ensuring balanced workloads.

Methods

The authors propose a two-tier partitioning algorithm built upon the Spark platform.

  • Spark-based Simulation Kernel: They first implement the core simulation engine using Spark's Resilient Distributed Datasets (RDDs) for data structure and scheduling. This allows for distributed processing of millions of agents. They utilize the SIR (Susceptible-Infected-Recovered) model to simulate information diffusion.
  • Two-Tier Partitioning: This is the main innovation.
  • Community Detection: They use the label-propagation algorithm to identify communities within the social network. This simplifies the network by treating each community as a single node, effectively reducing the scale of the problem while preserving structural characteristics.
  • Graph Cut: The simplified network (composed of communities) is then partitioned using a multi-path cut algorithm. This step focuses on ensuring load balance across the computing partitions, minimizing communication costs by keeping closely connected agents within the same partition.

This two-tier approach aims to balance the need to preserve network structure (via community detection) with the requirement for efficient load distribution (via graph cut).

Datasets

The experiments utilize a dataset from the Stanford Network Analysis Project (SNAP), specifically a Twitter social network dataset containing 81,306 users and 1,768,149 directed edges.

Key Insights and Ideas

  • Community Detection as a Simplification Tool: Treating communities as single nodes drastically reduces the complexity of partitioning and communication, especially for large networks. This is a key insight for making large-scale simulations tractable.
  • The Trade-off Between Partitioning Strategies: Different partitioning strategies (Hash, Graph Cut, Community Hash, Community Graph) exhibit distinct trade-offs between cross-partition communication, inter-partition communication, and load balance.
  • Community-Aware Partitioning Reduces Communication: When community detection is employed, inter-partition communication becomes significantly more dominant than cross-partition communication, leading to substantial reductions in overall communication overhead.
  • Load Balance Remains a Challenge: While community detection excels at reducing communication, it can lead to unbalanced loads across partitions if communities vary greatly in size. The proposed "Community Graph" approach shows improvement but still faces some load imbalance.

Key Results

  • Performance Comparable to Pregel: The Spark-based simulation kernel achieves performance comparable to the Pregel-based simulation framework, but with the added benefit of real-time data statistics and greater programming flexibility.
  • Significant Reduction in Cross-Partition Communication: The two-tier partition algorithm (specifically "Community Graph") reduces cross-partition communication to less than 10% of the total communication, a substantial improvement over Hash Partition (87.9%) and Graph Partition (53.3%).
  • Load Balance: Hash Partition provides the best load balance. The "Community Graph" algorithm offers a relatively better load balance compared to "Graph Partition" and "Community Hash," though it's not as balanced as pure Hash Partition.

Limitations and Future Work

  • Load Imbalance with Community Detection: The paper acknowledges that while community detection reduces communication, it can lead to unbalanced loads if communities have disparate sizes. The "Community Hash" partition, in particular, shows significant load imbalance.
  • Customizable Graph Cut: The authors suggest that the graph-cut algorithm's edge weights can be customized to achieve better load balance in different social networks.
  • Future Work: The paper implies that further refinement of the partitioning strategy, particularly in balancing the benefits of community detection with load balancing, is a promising avenue for future research.

Summary updated

BibTeX
@article{chen2020two,
  author = {Bin Chen and Hailiang Chen and Dandan Ning and Mengna Zhu and Chuan Ai and Xiaogang Qiu and Weihui Dai},
  title = {{A Two-Tier Partition Algorithm for the Optimization of the Large-Scale Simulation of Information Diffusion in Social Networks}},
  journal = {Symmetry},
  year = {2020},
  doi = {10.3390/sym12050843},
}
Figure