Semi-Supervised Overlapping Community Finding based on Label Propagation with Pairwise Constraints

Elham Abdullah Alghamdi, Derek Greene

Abstract

Community detection in complex networks is often hindered by the presence of overlapping structures and the limitations of purely unsupervised methods. This paper introduces PC-SLPA (Pairwise Constrained Speaker-listener Label Propagation Algorithm), a semi-supervised framework that leverages a small fraction of human-provided pairwise constraints. By identifying and resolving "forbidden triads" where transitivity fails, PC-SLPA avoids the common pitfalls of applying semi-supervision to overlapping communities. Experimental results on synthetic and real-world datasets demonstrate that as little as 1-5% supervision allows the algorithm to significantly outperform state-of-the-art unsupervised methods, particularly in noisy environments.

Introduction

Identifying communities—groups of nodes with dense internal connections—is a fundamental task in network science. While many algorithms exist, most are unsupervised and struggle with the inherent messiness of real-world networks, where nodes frequently belong to multiple groups simultaneously. Semi-supervised learning offers a solution by incorporating ground-truth information, typically in the form of "Must-Link" (ML) and "Cannot-Link" (CL) constraints. However, traditional semi-supervised methods assume community transitivity, which is fundamentally incompatible with overlapping community structures.

The Transitivity Trap

In disjoint community detection, if node $A$ is in the same community as $B$, and $B$ is in the same community as $C$, then $A$ and $C$ must also share a community. In overlapping networks, this logic fails. A "bridge" node might belong to two distinct communities, connecting two other nodes that share no common group.

Figure 2: The transitivity trap in overlapping communities. Node $v_j$ acts as a bridge between communities $C_1$ and $C_2$, while $v_k$ and $v_i$ belong to only one distinct community each.

As shown in Figure 2, forcing a Must-Link relationship between $v_k$ and $v_i$ based on their mutual connection to $v_j$ would erroneously merge distinct communities. PC-SLPA is designed to detect these "forbidden triads" and handle them appropriately.

The PC-SLPA Algorithm

The proposed algorithm operates in two primary phases: constraint pre-processing and modified label propagation.

1. Constraint Pre-processing

To prevent the transitivity trap, the algorithm first identifies forbidden triads among the initial set of constraints. It then queries an "oracle" (typically a human expert) to clarify the relationship between the ambiguous pairs. This ensures that the constraints used during the learning phase are consistent with the overlapping nature of the network.

Figure 6: The four-step workflow of PC-SLPA, from initial random constraint generation to oracle querying for missing pairs in forbidden triads.

2. Label Propagation with Constraints

PC-SLPA extends the Speaker-listener Label Propagation Algorithm (SLPA). In this phase, nodes exchange community labels to reach a consensus. The constraints guide this process:

  • Initialization: Must-link pairs are initialized with shared labels.
  • Speaker-Listener Dynamics: During label exchange, Must-link neighbors are prioritized as "speakers," while Cannot-link neighbors are ignored.
  • Memory Management: The algorithm enforces that Must-link pairs retain similar dominant labels in their history, while Cannot-link pairs are prevented from converging on the same labels.

Experimental Evaluation

The researchers evaluated PC-SLPA against several state-of-the-art unsupervised algorithms (OSLOM, MOSES, COPRA) using both synthetic LFR benchmarks and real-world datasets including Amazon co-purchasing, DBLP collaboration, and YouTube friendship networks.

Key Results

  • Robustness to Noise: Unsupervised methods typically degrade as the mixing parameter ($\mu$) increases. PC-SLPA maintains high accuracy even in highly noisy networks, as the pairwise constraints provide a stable structural anchor.
  • Efficiency of Supervision: The study found that providing constraints for only 1% to 5% of node pairs is sufficient to achieve significant performance gains. On the Amazon and DBLP datasets, PC-SLPA achieved Overlapping Normalized Mutual Information (NMI) scores exceeding 0.9.
  • Synthetic Dominance: In synthetic testing, PC-SLPA with 5% supervision outperformed all baselines in 90% of the evaluated scenarios.

Conclusion

PC-SLPA demonstrates that a "lightweight" amount of human supervision can overcome the structural ambiguities that plague unsupervised overlapping community detection. By explicitly addressing the failure of transitivity in overlapping contexts, the algorithm provides a robust and scalable solution for analyzing complex real-world networks. Future work may involve integrating active learning techniques to further optimize the selection of pairs for oracle querying, reducing human effort while maximizing accuracy gains.

Summary updated

BibTeX
@inproceedings{alghamdi2018semi,
  author = {Elham Abdullah Alghamdi and Derek Greene},
  title = {{Semi-Supervised Overlapping Community Finding based on Label Propagation with Pairwise Constraints}},
  booktitle = {Complex Networks},
  year = {2018},
  doi = {10.1007/978-3-030-05411-3\_26},
}
Figure