Estimating Properties of Social Networks via Random Walk considering Private Nodes

Kazuki Nakajima, Kazuyuki ShudoKDD 2020 · DOI

Introduction

Analyzing massive social networks like Facebook or Twitter typically relies on Random Walks (RW) to sample a small portion of the graph and estimate global statistics such as total size and average degree. However, a significant challenge arises from private nodes—users who hide their friend lists. In real-world networks, private users can constitute 27% to 34% of the population. Standard RW algorithms often fail when encountering these nodes, either getting stuck or producing biased samples that only represent the "public-only" sub-network.

The Challenge of Private Nodes

When a random walk hits a private user, the algorithm cannot see the user's neighbors, leading to massive estimation errors. Ignoring these nodes doesn't just result in a smaller estimate; it introduces a "structural bias" because private nodes often have different connectivity patterns (lower degrees) than public ones.

Illustration of a network with public (blue) and private (red) nodes.

Proposed Methodology

The authors introduce a novel sampling framework that accounts for private nodes without needing to visit them.

1. Transition Neighbor Selection

To maintain the mathematical requirements for unbiased estimation (the Markov property), the algorithm adjusts its movement:

  • If a selected neighbor is public, the walk proceeds.
  • If the neighbor is private, the walk "stays" at the current public node and re-selects a neighbor. This ensures the walk remains within the reachable public cluster while correctly weighting the nodes.

2. Improved Weighting Estimators

Standard estimators use the public-degree ($d_i^*$) for weighting. The authors propose using the total degree ($d_i$), which includes private friends visible from a public node.

  • Size Estimation: By weighting the ratio of total degree to public degree, they modified the Node Collision (NC) algorithm to "project" counts to include hidden nodes.
  • Average Degree: Using the inverse of the total degree ($1/d_i$) allows for the recovery of the true average degree of the entire network.

Key Results

The proposed methods were evaluated on datasets including YouTube, Orkut, Facebook, LiveJournal, and Pokec (which features real-world privacy labels).

Comparison of NRMSE for size estimation between the standard Node Collision (NC) and the proposed method on YouTube and Orkut datasets.

As shown in the figure above, the proposed method significantly outperforms the standard NC algorithm. On the Pokec dataset, the relative error for size estimation was reduced from 33.8% to just 0.9%. Furthermore, in a "Hidden Privacy" model where privacy status is only revealed upon visiting, an approximation method achieved high accuracy while querying 50x fewer nodes.

Conclusion

This research demonstrates that private nodes are not merely missing data but a source of structural bias that can be mathematically compensated for. By leveraging the visibility of private nodes from their public neighbors, researchers can accurately estimate global properties of partially hidden social networks. Future work may extend these techniques to more complex metrics like clustering coefficients or community detection.

Summary updated

BibTeX
@inproceedings{nakajima2020estimating,
  author = {Kazuki Nakajima and Kazuyuki Shudo},
  title = {{Estimating Properties of Social Networks via Random Walk considering Private Nodes}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2020},
  doi = {10.1145/3394486.3403116},
}
Figure