Abstract
This paper introduces GUCD (GCN-based Unsupervised Community Detection), an end-to-end autoencoder framework designed for community detection without ground-truth labels. GUCD employs a community-centric dual decoder that separately reconstructs network topology and node attributes. By capturing both global community dependencies and local node features, GUCD significantly outperforms existing unsupervised methods and achieves results comparable to semi-supervised approaches across multiple benchmark datasets.
Introduction
Community detection is a fundamental unsupervised learning task aimed at partitioning networks into clusters of densely connected nodes. While Graph Convolutional Networks (GCNs) have advanced graph analysis, most existing GCN-based community detection methods are semi-supervised, requiring labeled nodes for guidance. Unsupervised alternatives often rely on simple inner-product decoders that focus on node pairs rather than broader community structures. GUCD addresses these limitations by learning community memberships directly from raw graph structures and node attributes through a novel "community-centric" decoding mechanism.
Methods
The GUCD framework consists of three primary components:
- Shared Encoder: Utilizing the MRFasGCN architecture, the encoder employs GCN layers to learn node representations, with a final layer incorporating Markov Random Fields (MRF) to model global community memberships ($Z$).
- Community-Centric Dual Decoder: This core innovation features two specialized branches. The Topology Decoder, inspired by the Degree-Corrected Stochastic Block Model (DCSBM), calculates link probabilities based on community interaction patterns. The Attribute Decoder, inspired by Latent Dirichlet Allocation (LDA), reconstructs node attributes by treating communities as "topics."
- Local Enhancement: A regularization term ensures that topologically or semantically close nodes (calculated via TF-IDF) are assigned to the same community, mitigating data sparsity and overfitting.
Datasets
GUCD was evaluated on nine real-world benchmarks:
- WebKB subsets: Texas, Cornell, Washington, and Wisconsin.
- Citation Networks: Cora, Citeseer, and Pubmed.
- Social/Other Networks: Twitter and UAI2010.
These datasets range from 171 to nearly 20,000 nodes, providing a diverse testbed for unsupervised clustering.
Key Insights
- Reconstruction as Proxy: Accurate reconstruction of links and attributes using community-level probabilities implies accurate community assignments.
- Global Block Shift: Moving from pairwise link prediction to global block interaction modeling better aligns with the goals of community detection.
- Semantic Context: Reconstructing attributes captures context that link structure alone might miss, particularly in sparse graphs.
- Multi-scale View: The combination of MRF-based global modeling and local enhancement provides a balanced view of the network.
Results
GUCD demonstrated superior performance over eight baseline methods, including DCSBM and various GCN variants. It achieved the highest Accuracy (AC) on 7 of 9 datasets and the best Normalized Mutual Information (NMI) on 6 of 9. On average, GUCD improved AC by 11.7% and NMI by 9.2% over the next best methods. Furthermore, GUCD exhibited greater stability during training compared to standard inner-product decoders, which often converge to poorer local optima.
Limitations and Future Work
The model's performance depends on several tradeoff hyperparameters, and finding the optimal balance for unknown networks remains challenging. Additionally, dense matrix operations in the decoder may pose scalability issues for massive graphs. Future work could extend the community-centric logic to hierarchical detection or unsupervised node embedding.
Summary updated