Beyond Asymptotics: Practical Insights into Community Detection in Complex Networks
Abstract
The stochastic block model (SBM) is a fundamental tool for community detection in networks, yet the finite-sample performance of inference methods remains underexplored. We evaluate key algorithms-spectral methods, variational inference, and Gibbs sampling-under varying conditions, including signal-to-noise ratios, heterogeneous community sizes, and multimodality. Our results highlight significant performance variations: spectral methods, especially SCORE, excel in computational efficiency and scalability, while Gibbs sampling dominates in small, well-separated networks. Variational Expectation-Maximization strikes a balance between accuracy and cost in larger networks but struggles with optimization in highly imbalanced settings. These findings underscore the practical trade-offs among methods and provide actionable guidance for algorithm selection in real-world applications. Our results also call for further theoretical investigation in SBMs with complex structures. The code can be found at https://github.com/Toby-X/SBM_computation.
Cite
@article{arxiv.2412.03805,
title = {Beyond Asymptotics: Practical Insights into Community Detection in Complex Networks},
author = {Tianjun Ke and Zhiyu Xu},
journal= {arXiv preprint arXiv:2412.03805},
year = {2024}
}