Introduction
Community detection is a fundamental task in network analysis, typically focused on "unsigned" networks where edges represent simple connections. However, many real-world systems—from social media interactions to international relations—are better modeled as "signed" networks, incorporating both positive (allies) and negative (rivals) relationships. In these contexts, a community is characterized by internal positive links and external negative links. Detecting such structures is challenging due to the inherent noise in real-world data and the difficulty of determining the optimal number of communities ($c$) without prior knowledge.
Methodology
The proposed Joint Nonnegative Matrix Factorization (JNMF) model addresses these challenges through a comprehensive workflow that integrates matrix decomposition with a novel model selection metric.
Matrix Splitting and Joint Tri-factorization
The network's adjacency matrix $A$ is first decomposed into two non-negative matrices: $A^+$, containing positive links, and $A^-$, containing the absolute values of negative links. The model then performs a joint tri-factor NMF, sharing a single community membership matrix $H$ across both components. This ensures that the resulting partition accounts for both friendship and hostility patterns simultaneously.
Weighting and Model Selection
To prioritize actual relationship evidence over missing links, a weighting matrix $B$ is introduced, assigning five times more importance to non-zero entries. Furthermore, the authors propose a modified partition density metric for model selection. This metric rewards positive internal density while incorporating a penalty term ($\sqrt{c}$) to avoid over-partitioning, enabling the automatic determination of the optimal community count by identifying the peak density value.
Experimental Evaluation
The JNMF model was evaluated against state-of-the-art methods using both synthetic and real-world datasets. Synthetic benchmarks included the SG and SLFR models, which test performance against varying noise levels and power-law distributions. Real-world applications included the U.S. Supreme Court voting network (2006-2007), the Slovene Parliamentary Party network, and the Gahuku-Gama subtribes dataset.
Results and Discussion
Experimental results demonstrate that JNMF consistently outperforms existing methods like FEC, SPM, and SISN. On synthetic benchmarks, the model achieved high Normalized Mutual Information (NMI) scores, maintaining accuracy even as the "noise" (misplaced signs) in the network increased.
In real-world tests, JNMF successfully identified the two primary voting blocs in the U.S. Supreme Court and correctly partitioned the Slovene Parliamentary data, where other methods like SISN tended to over-partition. The algorithm's computational efficiency, scaling at $O(cn^2)$, makes it significantly more viable for larger networks compared to statistical inference methods like SISN, which can scale at $O(n^4)$.
Conclusion
The JNMF model provides a robust and efficient framework for community detection in signed networks. By jointly optimizing for positive and negative relationship patterns and utilizing a modified partition density for model selection, it achieves high accuracy and automates the identification of group structures. Future work will explore extending the model to handle overlapping communities and multi-view network data.
Summary updated