A new method for quantifying network cyclic structure to improve community detection

Heman ShakeriarXiv 2019

TL;DR

This paper introduces Renewal Non-Backtracking Random Walks (RNBRW) to quantify the cyclic structure of networks. By weighting edges based on their likelihood of completing cycles, RNBRW significantly enhances community detection algorithms like Louvain and CNM, especially in sparse networks.

What Problem Does This Paper Address?

Identifying communities within large, complex networks is a fundamental challenge across many scientific disciplines. Communities are groups of nodes that are more densely connected internally than with nodes outside the group. While many algorithms exist for this task, their performance can degrade on sparse networks or when communities are small (the "resolution limit" problem). Existing methods often rely on edge prevalence, but the authors propose that the cyclic structure within networks offers a richer signal for community detection. Specifically, they hypothesize that cycles are more prevalent within communities than between them, and leveraging this can improve detection.

Methods

The core innovation is the Renewal Non-Backtracking Random Walk (RNBRW). Here's how it works:

  • Non-Backtracking Random Walk (NBRW): This is a type of random walk that, unlike a standard random walk, is prohibited from immediately returning to the node it just came from. This property makes it more efficient at exploring graph structure.
  • Renewal Process: An NBRW is run until it completes a cycle. At this point, the walk terminates and restarts from a new random edge. This process is repeated many times.
  • Retracing Probability: For each edge, the authors calculate its "retracing probability" – the likelihood that this specific edge is the one that completes a cycle during an RNBRW run. Edges with higher retracing probabilities are considered more important for cycle formation.
  • Edge Weighting: These retracing probabilities are used to assign weights to edges. The authors propose a specific weighting scheme: $w_e = 2m \pi_e$, where $w_e$ is the new weight, $m$ is the number of edges, and $\pi_e$ is the estimated retracing probability.
  • Improved Modularity: These new edge weights are then plugged into standard community detection algorithms that use modularity maximization (like Louvain and CNM). The weighted modularity function better captures the cyclic structure, leading to improved community detection.

The key novelty lies in using the renewal aspect of random walks specifically to quantify cyclic structure and then applying this as an edge weighting scheme. The parallelizability of RNBRW runs is also a significant computational advantage.

Datasets

The authors evaluate their method using LFR benchmark graphs. These are synthetic graphs designed to mimic real-world network properties, allowing for controlled experiments. They test on graphs of varying sizes (up to 1,000,000 nodes) and average degrees, including sparse graphs where the average degree grows logarithmically with network size.

Key Insights and Ideas

  • Cycles as Community Signatures: The paper strongly suggests that the prevalence of cycles is a fundamental characteristic of communities, and exploiting this can significantly boost detection accuracy.
  • RNBRW's Efficiency: The renewal process allows for parallel computation of edge retracing probabilities, making the weighting step remarkably fast, even for massive networks. This is a crucial advantage over other methods that might require computationally intensive calculations.
  • Overcoming the Resolution Limit: RNBRW weighting helps community detection algorithms overcome the "resolution limit" problem, enabling them to detect smaller communities that might otherwise be missed by standard modularity maximization.
  • RNBRW Outperforms Other Weighting Schemes: In their experiments, RNBRW consistently provided substantial improvements in community detection accuracy compared to other weighting methods like WERW-Kpath and SimRank.

Key Results

  • Substantial Accuracy Gains: Weighting graphs with RNBRW led to significant improvements in Normalized Mutual Information (NMI) for both Louvain and CNM algorithms, especially on sparse graphs. For instance, in one case, NMI increased from 0.263 to 0.974 for CNM on a 10,000-node graph.
  • Competitive Performance: RNBRW-weighted Louvain and CNM performed comparably to or better than other state-of-the-art community detection algorithms (Infomap, Label Propagation, etc.) across various network sizes and mixing parameters.
  • Scalability: The method scales well, with experiments on networks up to 1,000,000 nodes demonstrating its effectiveness.

Limitations and Future Work

  • Analytical Computation Difficulty: The paper notes that analytically computing exact retracing probabilities is difficult, necessitating the use of estimation through many RNBRW runs.
  • Computational Cost of Loop Modulus: While Loop Modulus is a comparable weighting method, its computational cost is prohibitive for graphs larger than a few thousand nodes, making RNBRW a more practical choice for large-scale analysis.
  • Future Work: The authors suggest that RNBRW could be coupled with other community detection algorithms beyond Louvain and CNM. They also imply that further theoretical analysis of RNBRW's properties could yield deeper insights.

Summary updated

Abstract

A distinguishing property of communities in networks is that cycles are more prevalent within communities than across communities. Thus, the detection of these communities may be aided through the incorporation of measures of the local "richness" of the cyclic structure. In this paper, we introduce renewal non-backtracking random walks (RNBRW) as a way of quantifying this structure. RNBRW gives a weight to each edge equal to the probability that a non-backtracking random walk completes a cycle with that edge. Hence, edges with larger weights may be thought of as more important to the formation of cycles. Of note, since separate random walks can be performed in parallel, RNBRW weights can be estimated very quickly, even for large graphs. We give simulation results showing that pre-weighting edges through RNBRW may substantially improve the performance of common community detection algorithms. Our results suggest that RNBRW is especially efficient for the challenging case of detecting communities in sparse graphs.
BibTeX
@misc{shakeri2019new,
  author = {Heman Shakeri},
  title = {{A new method for quantifying network cyclic structure to improve community detection}},
  year = {2019},
  eprint = {1910.01921},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1910.01921},
}
Figure