English

GCLS$^2$: Towards Efficient Community Detection Using Graph Contrastive Learning with Structure Semantics

Social and Information Networks 2024-12-03 v2 Databases

Abstract

Due to the power of learning representations from unlabeled graphs, graph contrastive learning (GCL) has shown excellent performance in community detection tasks. Existing GCL-based methods on the community detection usually focused on learning attribute representations of individual nodes, which, however, ignores structural semantics of communities (e.g., nodes in the same community should be structurally cohesive). Therefore, in this paper, we will consider the community detection under the community structure semantics and propose an effective framework for graph contrastive learning under structure semantics (GCLS2^2) to detect communities. To seamlessly integrate interior dense and exterior sparse characteristics of communities with our contrastive learning strategy, we employ classic community structures to extract high-level structural views and design a structure semantic expression module to augment the original structural feature representation. Moreover, we formulate the structure contrastive loss to optimize the feature representation of nodes, which can better capture the topology of communities. To adapt to large-scale networks, we design a high-level graph partitioning (HGP) algorithm that minimizes the community detection loss for GCLS2^2 online training. It is worth noting that we prove a lower bound on the training of GCLS2^2 from the perspective of the information theory, explaining why GCLS2^2 can learn a more accurate representation of the structure. Extensive experiments have been conducted on various real-world graph datasets and confirmed that GCLS2^2 outperforms nine state-of-the-art methods, in terms of the accuracy, modularity, and efficiency of detecting communities.

Keywords

Cite

@article{arxiv.2410.11273,
  title  = {GCLS$^2$: Towards Efficient Community Detection Using Graph Contrastive Learning with Structure Semantics},
  author = {Qi Wen and Yiyang Zhang and Yutong Ye and Yingbo Zhou and Nan Zhang and Xiang Lian and Mingsong Chen},
  journal= {arXiv preprint arXiv:2410.11273},
  year   = {2024}
}
R2 v1 2026-06-28T19:22:02.726Z