Characterizing Directed and Undirected Networks via Multidimensional Walks with Jumps

Fabricio Murai, Bruno F. Ribeiro, Don Towsley, Pinghui Wang

Characterizing Directed and Undirected Networks via Multidimensional Walks with Jumps

Characterizing the structural properties of massive networks, such as the World Wide Web or global social platforms, is a fundamental task in network science. However, the sheer scale of these graphs and the restrictive nature of their access APIs make exhaustive crawling impractical. Researchers instead rely on sampling techniques, primarily Random Walks (RW), to estimate node characteristics like degree distributions or group memberships.

Traditional random walk methods face significant challenges in real-world scenarios. In directed networks, walkers often fall into "traps"—strongly connected components with no outgoing edges—leading to biased samples. Furthermore, many APIs exhibit "visibility bias," where outgoing edges (e.g., who a user follows) are visible, but incoming edges (e.g., who follows a user) are hidden. This paper introduces Directed Unbiased Frontier Sampling (DUFS), a robust framework designed to overcome these hurdles and provide high-accuracy, unbiased estimates for both directed and undirected graphs.

The Challenge: Traps and Hidden Edges

Standard random walks are prone to two main issues. First, Directed Traps: in a directed graph, a walker can enter a "sink" and become unable to explore the rest of the network. Second, Hidden In-Edges: without knowledge of incoming edges, calculating the stationary distribution of a walker becomes difficult, complicating the derivation of unbiased estimators.

The DUFS Framework

DUFS addresses these problems by synthesizing and extending two established methods: Frontier Sampling (FS) and Directed Unbiased Random Walk (DURW). The framework operates across two layers: sampling and estimation.

Conceptual overview of DUFS as a generalization of Frontier Sampling and DURW.

The sampling component of DUFS utilizes multiple coordinated walkers ($n$ walkers) that move in tandem. At each step, the algorithm selects which walker to move based on the degree of its current node, ensuring the resulting sample reflects the graph's underlying structure. To handle directed edges, DUFS constructs a virtual undirected graph on-the-fly, allowing walkers to traverse edges "backward" if they have been previously encountered. To prevent walkers from being trapped in isolated components, the algorithm incorporates random jumps to nodes chosen uniformly at random.

On the estimation side, DUFS introduces a novel hybrid estimator. While traditional methods often discard the initial "seed" nodes used to start the walkers, DUFS integrates these uniform samples with subsequent random walk observations using a Maximum Likelihood Estimator (MLE). This approach is augmented by a variance reduction heuristic to improve accuracy for rare, high-degree nodes in the "tail" of the distribution.

Experimental Evaluation

The authors evaluated DUFS against 15 directed network datasets from the Stanford SNAP repository, spanning social networks (soc-Slashdot0902, wiki-Vote), web graphs (web-Google), and communication networks (email-EuAll).

Performance comparison of DUFS against FS and DURW on real-world datasets.

Key Findings and Results

The experimental results demonstrate that DUFS consistently matches or outperforms state-of-the-art methods like SingleRW, MultiRW, FS, and DURW.

  • Superior Accuracy: As shown in the performance plots, DUFS achieves lower Normalized Root Mean Square Error (NRMSE) across various degree distributions. The hybrid estimator particularly excels at estimating the "head" of the distribution (low-degree nodes) by leveraging the initial uniform seeds.
  • Robustness to Network Structure: The combination of coordinated walkers and random jumps makes DUFS highly effective at "bridging" loosely connected components that might otherwise act as traps.
  • Efficiency: Surprisingly, DUFS can outperform simple uniform node sampling when estimating the characteristics of the top 10% highest-degree nodes, even when the computational cost of a walk step is equivalent to a uniform sample.
  • Theoretical Grounding: The authors link the behavior of NRMSE to power-law network properties, providing a theoretical explanation for why DUFS performs better at different segments of the degree distribution compared to its predecessors.

Limitations and Future Work

Despite its strengths, DUFS faces a theoretical "sharp threshold" regarding in-degree estimation. If in-edges are completely hidden and only a small fraction of the network is sampled, accurately recovering the full in-degree distribution remains mathematically impossible. Additionally, the optimal setting for parameters like jump weight ($w$) can depend on the specific estimation goal (e.g., focusing on the head vs. the tail of a distribution).

Future research could extend these multidimensional walk techniques to dynamic graphs, where the network topology evolves during the sampling process.

Summary updated

BibTeX
@article{murai2017characterizing,
  author = {Fabricio Murai and Bruno F. Ribeiro and Don Towsley and Pinghui Wang},
  title = {{Characterizing Directed and Undirected Networks via Multidimensional Walks with Jumps}},
  journal = {ACM Trans. Knowl. Discov. Data},
  year = {2017},
  doi = {10.1145/3299877},
}
Figure