Skip to main content
QUICK REVIEW

[Paper Review] Graph Size Estimation

Maciej Kurant, Carter T. Butts|arXiv (Cornell University)|Oct 1, 2012
Complex Network Analysis TechniquesPhysics and Astronomy47 references21 citations
TL;DR

This paper proposes IE (Induced Edges), a novel method for estimating graph size $N$ using node samples, and SafetyMargin, a technique to correct for dependence in Random Walk (RW) samples. By combining IE with SafetyMargin, the approach reduces sampling cost by over 100-fold compared to state-of-the-art methods on Facebook data, achieving high accuracy with significantly fewer samples.

ABSTRACT

Many online networks are not fully known and are often studied via sampling. Random Walk (RW) based techniques are the current state-of-the-art for estimating nodal attributes and local graph properties, but estimating global properties remains a challenge. In this paper, we are interested in a fundamental property of this type - the graph size N, i.e., the number of its nodes. Existing methods for estimating N are (i) inefficient and (ii) cannot be easily used with RW sampling due to dependence between successive samples. In this paper, we address both problems. First, we propose IE (Induced Edges), an efficient technique for estimating N from an independence sample of graph's nodes. IE exploits the edges induced on the sampled nodes. Second, we introduce SafetyMargin, a method that corrects estimators for dependence in RW samples. Finally, we combine these two stand-alone techniques to obtain a RW-based graph size estimator. We evaluate our approach in simulations on a wide range of real-life topologies, and on several samples of Facebook. IE with SafetyMargin typically requires at least 10 times fewer samples than the state-of-the-art techniques (over 100 times in the case of Facebook) for the same estimation error.

Motivation & Objective

  • To address the challenge of estimating the total number of nodes $N$ in large, partially observed graphs, especially when complete data is unavailable.
  • To overcome the inefficiency and inapplicability of existing methods to Random Walk (RW) sampling, which produces dependent samples.
  • To develop a practical, efficient estimator for $N$ that works with real-world sampling constraints, such as those in online social networks and distributed systems.
  • To enable accurate graph size estimation with minimal sampling cost, particularly in scenarios where independence sampling is infeasible.

Proposed method

  • IE estimates $N$ by analyzing the number of edges induced among a sample of nodes, leveraging the fact that edge density correlates with total graph size.
  • SafetyMargin corrects for dependence in RW samples by adjusting estimator variance using a margin-based correction derived from the correlation structure of consecutive samples.
  • The method combines IE with SafetyMargin to produce a robust, RW-compatible estimator that maintains accuracy despite sample dependence.
  • The approach uses a non-uniform sampling model and derives theoretical corrections to handle both uniform and non-uniform node sampling.
  • An $O(n)$-time optimized Python implementation is provided, enabling efficient deployment on large-scale graphs.
  • The framework is validated through simulations on real-world topologies and empirical evaluation on Facebook datasets using both uniform and RW sampling.

Experimental results

Research questions

  • RQ1Can we estimate graph size $N$ more efficiently than existing methods using independent node samples?
  • RQ2How can we adapt existing estimators to work effectively with dependent samples from Random Walks?
  • RQ3What correction mechanism can reliably reduce bias and variance in graph size estimation under RW sampling?
  • RQ4To what extent does combining IE with SafetyMargin improve sampling efficiency on real-world networks like Facebook?

Key findings

  • IE with SafetyMargin reduces sampling cost by at least 10 times and up to 100 times compared to state-of-the-art methods for the same estimation error on Facebook data.
  • On Facebook’09 data, IE achieves the same accuracy as NODE with 10 times fewer samples, reducing sampling cost by a factor of 10.
  • On Facebook’10 data, the combination of IE and SafetyMargin achieves over 100-fold reduction in sampling cost compared to standard methods.
  • SafetyMargin produces stable, concentrated estimates even with high dependence in RW samples, while standard thinning techniques fail to stabilize or yield interpretable results.
  • The method successfully estimates $N \approx 240M$ for Facebook’09, consistent with Facebook’s official announcement, validating its accuracy.
  • The open-source Python implementation ensures $O(n)$ time complexity, making the method scalable and practical for real-world deployment.

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.