Skip to main content
QUICK REVIEW

[Paper Review] On the bias of BFS

Maciej Kurant, Athina Markopoulou|arXiv (Cornell University)|Apr 10, 2010
Complex Network Analysis TechniquesPhysics and Astronomy30 references32 citations
TL;DR

This paper quantifies the degree bias in Breadth-First Search (BFS) sampling on random graphs with a given degree distribution $p_k$, showing that BFS systematically overrepresents high-degree nodes. It demonstrates that BFS, DFS, Forest Fire, and Snowball Sampling induce identical bias in such graphs and provides a correction method, validated on the Facebook network, offering practical guidelines for unbiased graph sampling.

ABSTRACT

Breadth First Search (BFS) and other graph traversal techniques are widely used for measuring large unknown graphs, such as online social networks. It has been empirically observed that an incomplete BFS is biased toward high degree nodes. In contrast to more studied sampling techniques, such as random walks, the precise bias of BFS has not been characterized to date. In this paper, we quantify the degree bias of BFS sampling. In particular, we calculate the node degree distribution expected to be observed by BFS as a function of the fraction of covered nodes, in a random graph $RG(p_k)$ with a given degree distribution $p_k$. Furthermore, we also show that, for $RG(p_k)$, all commonly used graph traversal techniques (BFS, DFS, Forest Fire, and Snowball Sampling) lead to the same bias, and we show how to correct for this bias. To give a broader perspective, we compare this class of exploration techniques to random walks that are well-studied and easier to analyze. Next, we study by simulation the effect of graph properties not captured directly by our model. We find that the bias gets amplified in graphs with strong positive assortativity. Finally, we demonstrate the above results by sampling the Facebook social network, and we provide some practical guidelines for graph sampling in practice.

Motivation & Objective

  • To formally characterize the degree bias introduced by incomplete BFS in large unknown graphs such as social networks.
  • To compare the bias behavior of BFS with other common graph traversal techniques, including DFS, Forest Fire, and Snowball Sampling.
  • To develop a correction method for the observed sampling bias in random graphs with a given degree distribution $p_k$.
  • To evaluate the impact of graph properties like positive assortativity on the amplification of BFS bias.
  • To provide practical sampling guidelines through empirical validation on the Facebook social network.

Proposed method

  • Analytical derivation of the expected degree distribution observed by BFS as a function of the fraction of covered nodes in a random graph $RG(p_k)$.
  • Mathematical modeling of traversal bias using the degree distribution $p_k$ and the fraction of nodes explored.
  • Demonstration that BFS, DFS, Forest Fire, and Snowball Sampling produce identical bias in $RG(p_k)$ graphs due to shared structural properties.
  • Derivation of a correction formula to adjust for the observed bias in sampled degree distributions.
  • Simulation experiments to assess the influence of graph properties such as positive assortativity on bias amplification.
  • Empirical validation using real-world data from the Facebook social network to confirm theoretical predictions.

Experimental results

Research questions

  • RQ1How does the degree bias of BFS depend on the fraction of nodes covered in a random graph with degree distribution $p_k$?
  • RQ2Do other common graph traversal methods—DFS, Forest Fire, Snowball Sampling—produce the same degree bias as BFS in $RG(p_k)$ graphs?
  • RQ3Can the bias in BFS sampling be corrected using a theoretical model, and how effective is this correction?
  • RQ4How do graph properties such as positive assortativity affect the magnitude of BFS sampling bias?
  • RQ5What practical sampling strategies can be derived from the theoretical analysis for real-world graph measurement?

Key findings

  • BFS sampling exhibits a systematic bias toward high-degree nodes, with the degree distribution of sampled nodes being significantly skewed compared to the true distribution.
  • All four traversal methods—BFS, DFS, Forest Fire, and Snowball Sampling—produce identical bias in $RG(p_k)$ graphs, indicating a shared structural origin of the bias.
  • The bias can be corrected using a derived analytical formula that adjusts the observed degree distribution based on the fraction of nodes covered.
  • Positive assortativity in graphs amplifies the degree bias in BFS sampling, making the overrepresentation of high-degree nodes more severe.
  • Empirical results on the Facebook network confirm the theoretical predictions, validating the model's accuracy in real-world settings.
  • The study provides practical guidelines for researchers to select sampling strategies and apply corrections to achieve representative graph measurements.

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.