Semi-supervised Community Detection via Structural Similarity Metrics

Yicong Jiang, Tracy Ke

Overview

This paper introduces AngleMin+, a fast and theoretically grounded algorithm for semi-supervised community detection. By focusing on the direction of connectivity patterns rather than just the density of edges, the method excels in complex networks where nodes have wildly different degrees or belong to "non-assortative" communities (where members do not necessarily link to each other).

The Challenge of Real-World Networks

Community detection—grouping nodes in a network—usually relies on the "assortativity" heuristic: nodes in the same group are more likely to be connected to each other than to outsiders. However, real-world networks are often non-assortative (e.g., a group of consumers who buy the same products but don't know each other) and feature degree heterogeneity (some nodes are "super-spreaders" with thousands of links, while others have only one).

Existing semi-supervised methods often struggle with these two realities. Furthermore, while Graph Neural Networks (GNNs) are popular, they typically require rich node attributes (like user profiles) to work well. If only the raw graph topology and a few known labels are available, GNNs often underperform. The authors sought a method that is computationally efficient, works on pure topology, and comes with rigorous mathematical guarantees.

Methodology: AngleMin and AngleMin+

The authors base their work on the Degree-Corrected Stochastic Block Model (DCBM). Their core innovation is the use of structural similarity—specifically, the angle between connectivity vectors.

  1. Structural Equivalence: Instead of asking "How many edges are between Node A and Community K?", the method asks "Is the pattern of Node A's links similar to the pattern of Community K's links?" In a DCBM, nodes in the same community have connectivity vectors that point in the same direction, even if their lengths (degrees) are totally different.
  2. AngleMin: A basic version that calculates the angle between a new node’s edge vector and the aggregated edge vectors of labeled nodes in each community. By using the cosine of the angle between vectors, the method naturally cancels out the "degree" parameter. This allows the algorithm to correctly classify a "lurker" node and a "hub" node into the same community based on who they link to, regardless of how many links they have.
  3. AngleMin+: A more robust, two-stage version. It first uses an unsupervised algorithm on the unlabeled part of the graph to create a "denoising" projection. It then projects the connectivity vectors into a lower-dimensional space before calculating the angles. This makes the algorithm much more resilient to noise in sparse networks.

A major practical advantage of AngleMin+ is its permutation invariance. A common headache in semi-supervised learning is matching the "clusters" found by an unsupervised algorithm to the "labels" provided by a human. AngleMin+ is mathematically designed to be invariant to these permutations, meaning it doesn't need to "solve" the matching problem to work.

Experimental Results

The researchers evaluated their approach using synthetic simulations (networks generated via DCBM with various degree distributions like Gamma and Pareto) and real-world datasets, including Facebook social networks (Caltech, Simmons), the Polblogs dataset, and Citeseer citation networks.

Accuracy and Efficiency

In simulations, AngleMin+ consistently outperformed baseline methods like Semi-supervised Non-negative Matrix Factorization (SNMF) and unsupervised methods, especially when the number of labeled nodes ($N_L$) was small.

Classification error decreases as the number of labeled nodes increases.

As illustrated in the performance comparisons, the classification error drops significantly as the algorithm leverages more labeled data, maintaining a strong edge over competing approaches.

Furthermore, AngleMin+ is remarkably fast. In the Polblogs dataset (1,222 nodes), AngleMin+ took roughly 0.05 seconds, while SNMF took 0.35 seconds. In larger or more complex settings, the gap in computational efficiency becomes even more significant.

Comparison with GNNs

The authors also demonstrated that standard Graph Convolutional Networks (GCNs) performed poorly on these datasets when node attributes were missing or replaced with random noise. In contrast, AngleMin+ maintained high accuracy using only the graph structure. Notably, this is one of the first semi-supervised community detection papers to provide explicit bounds on misclassification error, proving that the method remains consistent even as the network grows.

Limitations and Future Work

The current version of AngleMin+ assumes "hard" community memberships—meaning every node belongs to exactly one group. In many real-world scenarios, nodes have mixed membership (e.g., a person belonging to both a "hobby" group and a "professional" group). The authors acknowledge this limitation and suggest that extending the structural similarity metric to the Degree-Corrected Mixed Membership model (DCMM) is a promising next step for future research.

Summary updated

BibTeX
@inproceedings{jiang2023semi,
  author = {Yicong Jiang and Tracy Ke},
  title = {{Semi-supervised Community Detection via Structural Similarity Metrics}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=cxvEGLCHpgl},
}
Figure