Community Detection in Signed Networks Based on the Signed Stochastic Block Model and Exact ICL

Shuqiu Ping, Dayou Liu, Bo Yang, Yungang Zhu, Hechang Chen, Zheng Wang

Introduction

Community detection is a fundamental task in network science, typically focused on "unsigned" networks where edges represent simple binary connections. However, real-world social and biological systems often feature "signed" relationships, where edges can be positive (indicating friendship or trust) or negative (indicating enmity or distrust). Accurately identifying communities in these signed networks requires models that can account for the complex interplay of these opposing forces.

Existing approaches generally fall into two categories: discriminative methods, such as modularity optimization, and generative models, such as the Signed Stochastic Block Model (SSBM). While generative models are often more accurate, they have historically suffered from significant computational bottlenecks. Specifically, state-of-the-art methods like SSL require researchers to manually iterate through a range of potential community counts ($K$) to find the optimal fit, a process that becomes prohibitively expensive as network size increases.

This paper introduces SSBMI (Signed Stochastic Block Model and exact ICL), a generative approach that simultaneously determines both the number and membership of communities by maximizing an exact integrated complete data likelihood.

The SSBMI Framework

The core innovation of SSBMI lies in its use of the Exact Integrated Complete Data Likelihood (ICLex). By adopting a Bayesian framework and utilizing Dirichlet distributions as conjugate priors, the authors derived a closed-form objective function. This derivation allows the model parameters—the probabilities of positive, negative, or non-existent edges—to be integrated out.

The resulting objective function depends solely on the node assignments and the number of communities. This leads to two major advantages:

  1. Simultaneous Optimization: The number of communities $K$ is treated as a variable to be optimized alongside node assignments, eliminating the need for separate model selection steps.
  2. Hyper-parameter Independence: The use of uniform priors removes the need for a priori knowledge of the network's internal edge probabilities, making the method highly robust for diverse datasets.

The optimization is performed via a greedy search. Starting from an initial maximum number of communities ($K_{max}$), the algorithm iteratively moves nodes between groups to maximize the ICLex. Communities that become empty are naturally eliminated, allowing the model to converge on the optimal $K$ efficiently.

Experimental Evaluation

The researchers evaluated SSBMI against several benchmarks, including discriminative methods like PSA and FEC, and the generative SSL method. Testing was conducted on both synthetic networks (using the $SG$ model to vary community size and "frustration") and real-world datasets such as the Slovene Parliamentary Party Network (SPPN) and various Monastery social networks.

Results and Insights

SSBMI demonstrated exceptional performance across all test cases. On synthetic "unbalanced" networks characterized by high frustration, SSBMI consistently achieved perfect or near-perfect Normalized Mutual Information (NMI) scores.

Comparison of NMI scores across different methods on synthetic networks, showing SSBMI's high accuracy.

As shown in the figure above, SSBMI maintains a high average NMI even as network parameters vary, matching the accuracy of the computationally intensive SSL method while significantly outperforming discriminative alternatives like FEC.

In terms of efficiency, SSBMI offers a dramatic improvement. While previous generative methods exhibited quadratic complexity relative to the range of communities tested, SSBMI’s complexity is roughly linear ($O(n \cdot \bar{d})$). Real-world tests further validated the model, as it perfectly recovered ground-truth structures in the SPPN and Monastery networks, often in fewer than 10 optimization sweeps.

Conclusion

SSBMI represents a significant advancement in signed network analysis. By leveraging an exact analytical form for the integrated likelihood, it bridges the gap between the high accuracy of generative models and the efficiency required for large-scale data mining. Future work will focus on addressing local optima through more advanced search heuristics and extending the framework to accommodate overlapping community structures.

Summary updated

BibTeX
@article{ping2019community,
  author = {Shuqiu Ping and Dayou Liu and Bo Yang and Yungang Zhu and Hechang Chen and Zheng Wang},
  title = {{Community Detection in Signed Networks Based on the Signed Stochastic Block Model and Exact ICL}},
  journal = {IEEE Access},
  year = {2019},
  doi = {10.1109/access.2019.2891968},
}
Figure