Abstract
Community detection in networks has gained significant attention, yet most algorithms focus solely on positive links, making them ill-suited for signed networks. We propose the Signed Random Walk Algorithm (SRWA), which utilizes both positive and negative links. By identifying local maximum degree nodes as seeds and calculating attraction and repulsion probabilities via random walks, SRWA effectively partitions complex networks. Experimental results on synthetic and real-world datasets demonstrate the algorithm's superior accuracy and stability compared to traditional methods.
Introduction
In network science, relationships are often simplified to binary connections. However, real-world systems—ranging from international diplomacy to gene regulatory networks—frequently involve "signed" relationships: positive links representing friendship or activation, and negative links representing enmity or inhibition. Traditional community detection methods often treat negative links as noise. This paper introduces a novel approach that treats negative links as essential structural information for defining community boundaries.
The SRWA Methodology
The proposed Signed Random Walk Algorithm (SRWA) operates through three distinct phases:
- Seeding via Local Maximums: The algorithm identifies "local maximum degree nodes"—those with a higher degree than their immediate neighbors—to serve as deterministic starting points for communities.
- Expansion via Random Walks: For unassigned nodes, SRWA calculates two probabilities:
- $P^+$ (Attraction): The likelihood of belonging to a community based on positive neighborhood similarity.
-
$P^-$ (Repulsion): The likelihood of being excluded from a community based on negative links. A node joins a community only if its attraction outweighs its repulsion ($P^+ > P^-$).
-
Optimization: A modularity-based method merges similar communities to prevent over-fragmentation.
Experimental Validation
The researchers evaluated SRWA across diverse benchmarks, including social networks like the Slovene Parliamentary Parties and Gahuku-Gama subtribes, as well as biological gene-gene interaction networks.
Key Results
SRWA demonstrated exceptional performance, particularly in recovering ground-truth communities. On the Slovene Parliament and Gahuku-Gama datasets, the algorithm achieved a Normalized Mutual Information (NMI) of 1.0, perfectly recovering the expected partitions.
In biological contexts, SRWA identified 41 communities in a gene interaction network, with 26.8% confirmed as biologically relevant—a significantly higher success rate than competing algorithms like FEC or Tabu search. Furthermore, synthetic tests showed that SRWA maintains high accuracy even when network boundaries become highly ambiguous due to structural noise.
Conclusion
By integrating negative links as "repulsion" signals, SRWA provides a more nuanced and accurate tool for community detection in signed networks. This approach is not only mathematically robust but also biologically meaningful, offering potential applications in disease module mining and complex social system analysis.
Reference: Su, Y., Wang, B., Cheng, F. et al. An algorithm based on positive and negative links for community detection in signed networks. Sci Rep 7, 10874 (2017).
Summary updated