Skip to main content
QUICK REVIEW

[Paper Review] A Walk in Facebook: Uniform Sampling of Users in Online Social Networks

Minas Gjoka, Maciej Kurant|arXiv (Cornell University)|May 30, 2009
Complex Network Analysis TechniquesPhysics and Astronomy70 references86 citations
TL;DR

This paper proposes a practical framework for uniform sampling of users in online social networks (OSNs) using graph crawling, comparing Metropolis-Hastings Random Walk (MHRW) and Reweighted Random Walk (RWRW). It demonstrates that RWRW achieves better estimation accuracy with 1.5–7× fewer unique samples than MHRW, making it more bandwidth-efficient for large-scale OSN sampling, and applies the method to collect the first publicly available representative sample of Facebook users.

ABSTRACT

Our goal in this paper is to develop a practical framework for obtaining a uniform sample of users in an online social network (OSN) by crawling its social graph. Such a sample allows to estimate any user property and some topological properties as well. To this end, first, we consider and compare several candidate crawling techniques. Two approaches that can produce approximately uniform samples are the Metropolis-Hasting random walk (MHRW) and a re-weighted random walk (RWRW). Both have pros and cons, which we demonstrate through a comparison to each other as well as to the "ground truth." In contrast, using Breadth-First-Search (BFS) or an unadjusted Random Walk (RW) leads to substantially biased results. Second, and in addition to offline performance assessment, we introduce online formal convergence diagnostics to assess sample quality during the data collection process. We show how these diagnostics can be used to effectively determine when a random walk sample is of adequate size and quality. Third, as a case study, we apply the above methods to Facebook and we collect the first, to the best of our knowledge, representative sample of Facebook users. We make it publicly available and employ it to characterize several key properties of Facebook.

Motivation & Objective

  • To develop a practical framework for obtaining uniform or reweightable samples of users in online social networks (OSNs) via social graph crawling.
  • To compare the performance of multiple crawling techniques—MHRW, RWRW, RW, and BFS—in terms of sampling bias and efficiency.
  • To introduce online convergence diagnostics for assessing sample quality during data collection.
  • To apply the framework to Facebook and produce the first publicly available representative sample of its users.
  • To characterize key structural and user-level properties of Facebook using the collected sample.

Proposed method

  • Uses random walk-based crawling on the social graph to sample users, avoiding reliance on a sampling frame.
  • Employs Metropolis-Hastings Random Walk (MHRW) to correct bias by adjusting transition probabilities based on node degrees.
  • Applies Reweighted Random Walk (RWRW), a modified random walk that reweights samples to approximate uniformity.
  • Introduces online convergence diagnostics to monitor sample quality in real time during crawling.
  • Uses simulation on real-world topologies (e.g., AS, Email, WWW, P2P, Slashdot) to evaluate estimation accuracy of graph parameters.
  • Validates results against ground truth using synthetic and real datasets, comparing estimation error across methods.

Experimental results

Research questions

  • RQ1Can random walk-based crawling produce approximately uniform samples of users in OSNs without a sampling frame?
  • RQ2How do MHRW and RWRW compare in terms of estimation accuracy and sampling efficiency on real-world OSN topologies?
  • RQ3Can online convergence diagnostics effectively determine when a random walk sample is of sufficient quality and size?
  • RQ4Does RWRW outperform MHRW in terms of unique sample count required for equivalent estimation accuracy?
  • RQ5What are the structural and user-level properties of Facebook as revealed by a representative sample?

Key findings

  • RWRW requires 1.5 to 7 times fewer unique samples than MHRW to achieve the same estimation error on real-world topologies, indicating significant bandwidth savings.
  • MHRW underperforms RWRW in most real-world topologies due to its tendency to avoid high-degree nodes, missing key mixing opportunities.
  • Breadth-First Search (BFS) and unadjusted Random Walk (RW) produce substantially biased samples, making them unsuitable for uniform sampling.
  • The counterexample in Figure 21 shows that MHRW can outperform RW in pathological cases with disconnected communities linked by long paths, but such cases are rare in practice.
  • The study successfully collected and released the first publicly available representative sample of Facebook users, enabling large-scale characterization of its user and network properties.
  • Online convergence diagnostics were shown to be effective in determining optimal stopping times during crawling, improving sample quality assessment in real time.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.