SGP: Preservation of Community Structure in Big Social Network Sampling

SGP: Sampling Big Social Network Based on Graph Partition

2015-05-01
Xiaolin Du, Yunming Ye, Yan Li, Yueping Li
Summary
Problem
Method
Results
Takeaways
Abstract

SGP (Sampling based on Graph Partition) is a novel graph sampling framework designed to derive representative sub-graphs from massive social networks. By integrating edge-weight-based partitioning with stratified sampling, it maintains critical topological and community structures, outperforming six state-of-the-art methods across well-known datasets like Astro-ph and Cond-mat.

TL;DR

Social networks are expanding at an astronomical rate, making direct analysis of million-node graphs computationally prohibitive. SGP (Sampling based on Graph Partition) addresses this by partitioning the original network into sub-communities before sampling. Unlike traditional random methods, SGP ensures the resulting sub-graph mimics both the global skeleton (topology) and the local clusters (community structure) of the original data.

Problem & Motivation

Why is sampling social networks so hard? Traditional methods like Random Node (RN) or Random Walk (RW) suffer from "localized bias" or "sparsity gaps."

  • RN often breaks the connectivity of the graph, leaving isolated nodes.
  • RW can get stuck in dense clusters, failing to capture the "global picture."

The authors argue that a "good" sample must maintain Topological Similarity and Community Similarity. Most prior works treat the graph as a homogeneous entity; SGP treats it as a collection of interconnected modules.

Methodology: The Core of SGP

The SGP algorithm operates on the intuition that edges within a community have more common neighbors than edges connecting different communities.

1. Edge Weighting and Partitioning

The first step is identifying which edges are "bridges" between communities. The authors define an Edge Weight () that counts cycles of length 3 and 4.

  • High : The edge is deep inside a community.
  • Low : The edge is likely a bridge between two distinct groups.

By filtering edges with small , the graph naturally breaks into disjoint sub-graphs.

2. Stratified Sampling via Diameter

Once partitioned, SGP doesn't just pick nodes randomly. It finds the diameter of each sub-graph.

  • It picks a starting node at one end of the diameter.
  • Nodes are grouped into "strata" based on their distance from .
  • Sampling is performed proportionally within these distance-based strata.

The SGP Stratified Sampling Model Figure: The stratified model ensures that the sample spreads across the entire span (diameter) of the sub-graph.

Experiments & Results

The authors compared SGP against 6 SOTA methods, including Forest Fire (FF) and Random PageRank Node (RPN), using Kolmogrov-Smirnov (K-S) tests to measure distributional similarity.

Performance on Large Datasets

The results indicate that as the network size increases (e.g., astro-ph and cond-mat), SGP’s advantages become more pronounced.

MethodDegree (K-S)Hop-plot (K-S)Clustering (CD)
Random Walk (RW)0.04121.40E-040.9627
Random Jump (RJ)0.05100.00210.9710
SGP (Ours)7.44E-040.00100.0331
Table: Comparison at P=0.1 (10% sample) for astro-ph_connect dataset. Lower is significantly better.

Comparison Scatter Plots Figure: Scatter plots demonstrating SGP's superior ability to follow the original distribution compared to random methods.

Critical Analysis & Conclusion

The "Power Grid" Exception

Interestingly, SGP struggled with the power dataset (Western States Power Grid). The authors noted that this network has a massive diameter (46) and the nodes are not distributed radially around a centroid. This suggests that SGP is optimized for "Social" topologies (small-world, dense clusters) rather than "Infrastructure" topologies (long strings, grid-like).

Takeaway

SGP proves that Graph Partitioning is not just for community detection; it's a powerful tool for data reduction. By sampling within partitions, we protect the "social DNA" of the network, ensuring that the small sub-graph we analyze in our labs remains a faithful mirror of the massive network in the real world.

Future Work: Adapting SGP for high-diameter, non-radial networks like power grids or transport systems remains an open challenge.

Find Similar Papers

Try Our Examples

  • Search for recent papers that use community-aware graph sampling to improve the performance of Graph Neural Networks (GNNs) on large-scale datasets.
  • Which paper first introduced the edge weight calculation based on common neighbor cycles similar to the formula used in SGP, and how has it evolved for dynamic graphs?
  • Explore if graph partitioning-based sampling methods like SGP have been applied to biological protein-protein interaction (PPI) networks or financial transaction graphs.
Contents
SGP: Preservation of Community Structure in Big Social Network Sampling
1. TL;DR
2. Problem & Motivation
3. Methodology: The Core of SGP
3.1. 1. Edge Weighting and Partitioning
3.2. 2. Stratified Sampling via Diameter
4. Experiments & Results
4.1. Performance on Large Datasets
5. Critical Analysis & Conclusion
5.1. The "Power Grid" Exception
5.2. Takeaway