USDSG: Breaking the Bias in Directed Social Graph Sampling

Unbiased sampling in directed social graph

2010-08-30
Tianyi Wang, Yang Chen, Zengbin Zhang, Peng Sun, Beixing Deng, Xing Li
Summary
Problem
Method
Results
Takeaways
Abstract

The paper introduces USDSG (Unbiased Sampling in Directed Social Graphs), a novel Markov Chain Monte Carlo (MCMC) algorithm based on Metropolis-Hastings Random Walk. It achieves the first known unbiased uniform sampling of directed online social networks like Twitter, reaching an error rate of less than 10% compared to true uniform distributions.

TL;DR

Measuring massive directed networks like Twitter is notoriously difficult because standard crawling methods disproportionately favor "celebrity" nodes. This paper proposes USDSG, the first unbiased sampling method for directed graphs. By treating directed edges as bidirectional during traversal and applying a corrected Metropolis-Hastings Random Walk (MHRW), the authors achieve a near-perfect uniform sample with less than 10% error compared to ground truth.

The "Dead End" Problem in Directed Networks

In undirected networks like Facebook (friendship), links are reciprocal. However, in directed networks like Twitter (following), the topology is often "broken." Prior works used MHRW to successfully sample undirected graphs, but directed graphs introduce a fatal flaw: Sink Nodes.

If a random walker enters a node with an out-degree of 0, the walk terminates, making it impossible to explore the graph further or reach a steady-state distribution. Furthermore, simply following out-links causes the sample to converge toward high-degree "hubs," skewing any statistical analysis of the network's true properties.

Methodology: USDSG

The core insight of USDSG is a two-step transformation:

  1. Topology Relaxation: Treat all unidirectional edges as bidirectional. This ensures the graph is strongly connected, allowing the walker to reach any node from an initial seed and avoiding the "sink node" trap.
  2. Corrective Proposal Function: In an undirected graph, MHRW uses node degree to rebalance the walk. USDSG adapts this by using the total number of connected neighbors (regardless of original direction) as the proposal function .

The Algorithm Logic

During the walk, a transition from node to is accepted with a probability : This specific ratio cancels out the natural bias that favors high-degree nodes, effectively "slowing down" the walker when it hits dense clusters and forcing it to spend more time in sparse areas of the graph.

Model Architecture Placeholder Note: The sampling framework leverages MCMC to achieve convergence to a uniform distribution.

Experimental Results

The authors validated USDSG using three large-scale datasets from the Stanford Large Network Dataset Collection (SNAP): soc-Epinions1, soc-Slashdot0811, and soc-Slashdot0922.

Key Findings:

  • Near-Zero Bias: The average in-degree and out-degree of the USDSG samples were compared against a theoretical Uniform (UNI) sample. The error rates were remarkably low, particularly on the Slashdot0902 dataset (0.67% error for in-degree).
  • Distribution Accuracy: Beyond just averages, the Cumulative Distribution Functions (CDFs) of the sampled degrees perfectly overlapped with the UNI ground truth.

Experimental Results Comparison Table 1: Comparison of Average Degree showing USDSG's performance against UNI.

Critical Insight & Conclusion

The brilliance of USDSG lies in its simplicity. By recognizing that edge direction is a constraint on traversal but not a requirement for mathematical convergence, the authors successfully ported MCMC techniques to a more complex graph domain.

Limitations: The method assumes you can discover in-coming edges (who follows a user) as easily as out-going edges. In many restricted APIs, finding "followers" is significantly harder than finding "following," which might limit the practical application of the bidirectional traversal in certain proprietary environments.

Future Outlook: As social networks grow into the billions, uniform sampling remains the only way to perform cost-effective measurement. USDSG provides the theoretical foundation for building more representative datasets for sociology and network science.

Find Similar Papers

Try Our Examples

  • Search for recent papers that extend Metropolis-Hastings Random Walk (MHRW) techniques specifically for crawling massive directed graphs with high proportions of sink nodes.
  • Which 2010 paper by Gjoka et al. established the foundation for unbiased sampling in undirected Facebook graphs, and how does its proposal function differ from the one used in USDSG?
  • Explore whether USDSG or similar unbiased sampling methods have been applied to modern graph neural network (GNN) training to mitigate label bias in directed web-scale graphs.
Contents
USDSG: Breaking the Bias in Directed Social Graph Sampling
1. TL;DR
2. The "Dead End" Problem in Directed Networks
3. Methodology: USDSG
3.1. The Algorithm Logic
4. Experimental Results
4.1. Key Findings:
5. Critical Insight & Conclusion