On Consistency of Community Detection in Networks

Yunpeng Zhao, Elizaveta Levina, Ji ZhuarXiv 2011 · DOI · OpenReview

TL;DR

This paper introduces a general theoretical framework to assess the consistency of community detection algorithms under the degree-corrected stochastic block model, a more realistic model for networks with "hubs." The authors show that methods are consistent when their underlying assumptions match the true data-generating model, and that the degree-corrected model offers broader consistency guarantees.

What Problem Does This Paper Address?

Community detection, the task of finding groups of nodes that are more connected internally than externally, is crucial for understanding complex networks. While the stochastic block model (SBM) has been a popular tool for this, it assumes all nodes within a community are identical, failing to capture networks with high-degree nodes (hubs) common in real-world data. The degree-corrected stochastic block model (DCBM) was proposed to address this, but lacked theoretical analysis for community detection consistency. This paper bridges that gap by providing a general theory for consistency under DCBM and comparing various community detection criteria.

Methods

The core contribution is a general theorem for consistency under the DCBM. This theorem allows for the analysis of various community detection criteria by framing them as functions of network statistics. The authors then apply this framework to four specific criteria: two likelihood-based methods (one for SBM, one for DCBM) and two modularity-based methods (Erdos-Renyi Modularity and Newman-Girvan Modularity). They analyze both "strong" and "weak" consistency, which relate to how accurately the detected communities match the true communities as the network size grows.

Datasets

The paper uses simulated networks generated from both the standard SBM and the DCBM. They also analyze a real-world network of political blogs.

Key Insights and Ideas

  • Model-based consistency: The fundamental insight is that community detection methods are consistent when the model they assume for deriving criteria matches the true data-generating model.
  • DCBM's broader applicability: The DCBM, being more general, allows for a wider range of community detection criteria to be consistent, especially in networks with varying node degrees.
  • Modularity vs. Likelihood: Modularity-based methods often require specific parameter constraints (e.g., stronger within-community links) for consistency, whereas likelihood-based methods are consistent under their assumed model without such constraints.
  • Practical trade-offs: While DCBM offers better theoretical consistency, fitting it requires estimating more parameters, which can be detrimental if the data doesn't exhibit significant degree variation. Simpler models might perform better in such cases.

Key Results

  • Theoretical Consistency: The paper establishes theoretical consistency results for four community detection criteria under both SBM and DCBM. Notably, Newman-Girvan modularity and the DCBM likelihood criterion are shown to be consistent under the more general DCBM, while Erdos-Renyi modularity and the SBM likelihood criterion are not, unless specific parameter constraints are met.
  • Empirical Performance: Simulations and analysis of the political blogs network show that methods designed for DCBM (like Newman-Girvan modularity and DCBM likelihood) perform best when node degrees within communities are highly variable. For networks with less degree variation, simpler methods (like SBM likelihood or Erdos-Renyi modularity) can be competitive or even superior.
  • Robustness of ERM: The Erdos-Renyi Modularity is found to be more robust to variations in node degrees compared to the SBM likelihood.

Limitations and Future Work

  • Known K: The analysis assumes the number of communities (K) is known, which is a significant simplification. Determining K is an open problem.
  • Growing K: The paper focuses on fixed K. Extending the analysis to cases where K grows with the network size is a direction for future work.
  • Approximate methods: The paper primarily analyzes global maximizers. The performance and consistency of approximate optimization methods (like eigendecomposition for modularity) are not fully explored, though they are computationally advantageous.
  • Sparse networks: The sparse case (where the number of edges grows slowly with the number of nodes) remains an open problem for general analysis.

Summary updated

Abstract

Community detection is a fundamental problem in network analysis, with applications in many diverse areas. The stochastic block model is a common tool for model-based community detection, and asymptotic tools for checking consistency of community detection under the block model have been recently developed. However, the block model is limited by its assumption that all nodes within a community are stochastically equivalent, and provides a poor fit to networks with hubs or highly varying node degrees within communities, which are common in practice. The degree-corrected stochastic block model was proposed to address this shortcoming and allows variation in node degrees within a community while preserving the overall block community structure. In this paper we establish general theory for checking consistency of community detection under the degree-corrected stochastic block model and compare several community detection criteria under both the standard and the degree-corrected models. We show which criteria are consistent under which models and constraints, as well as compare their relative performance in practice. We find that methods based on the degree-corrected block model, which includes the standard block model as a special case, are consistent under a wider class of models and that modularity-type methods require parameter constraints for consistency, whereas likelihood-based methods do not. On the other hand, in practice, the degree correction involves estimating many more parameters, and empirically we find it is only worth doing if the node degrees within communities are indeed highly variable. We illustrate the methods on simulated networks and on a network of political blogs.
BibTeX
@misc{zhao2011consistency,
  author = {Yunpeng Zhao and Elizaveta Levina and Ji Zhu},
  title = {{On Consistency of Community Detection in Networks}},
  year = {2011},
  eprint = {1110.3854},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1110.3854},
}
Figure