Cluster-Guided Contrastive Graph Clustering Network

Xihong Yang, Yue Liu, Sihang Zhou, Siwei Wang, Wenxuan Tu, Qun Zheng, Xinwang Liu, Liming Fang, En Zhu

Abstract

Deep graph clustering aims to partition nodes in a graph into distinct groups without the guidance of manual labels. While contrastive learning has emerged as a dominant paradigm in this field, it often suffers from semantic drift due to aggressive data augmentation and the "false negative" problem caused by random sampling. This paper introduces the Cluster-guided Contrastive Graph Clustering (CCGC) network, which replaces traditional data-level perturbations with un-shared Siamese encoders and leverages high-confidence clustering results to guide the contrastive process. Experimental results across six benchmark datasets demonstrate that CCGC achieves state-of-the-art performance, particularly in complex network environments.

Introduction

Graph clustering is a fundamental task in data mining, with applications ranging from social network analysis to citation categorization. Recent advancements have shifted toward deep learning approaches, specifically contrastive learning. These methods typically generate multiple "views" of a graph and train the model to maximize agreement between different views of the same node (positive pairs) while minimizing agreement between different nodes (negative pairs).

However, traditional contrastive graph clustering faces two critical bottlenecks:

  1. Semantic Drift: Common data augmentations, such as random edge dropping or feature masking, can inadvertently destroy the inherent structural or semantic properties of the graph.
  2. Unreliable Negative Sampling: Randomly selecting negative pairs often results in "false negatives," where nodes belonging to the same semantic cluster are pushed apart in the latent space, hindering the model's ability to learn cohesive representations.

Methodology

CCGC addresses these challenges through a dual-pronged approach: model-level diversity and cluster-aware contrastive strategies.

Parameter Un-shared Siamese Encoders

To avoid the pitfalls of data augmentation, CCGC utilizes two identical Graph Neural Network (GNN) encoders that do not share weights. By initializing these encoders differently, the model generates two distinct latent representations of the same input graph. This approach provides the necessary diversity for contrastive learning without altering the underlying graph structure, thereby preserving the original semantics and preventing semantic drift.

Cluster-guided Contrastive Learning (CCL)

The core of the CCGC framework is the Cluster-guided Contrastive Learning (CCL) module. The model periodically performs K-means clustering on the learned embeddings to generate pseudo-labels. These labels are then used to refine the contrastive objective through two specific strategies:

  • Discriminative Positive Strategy (DPS): The model identifies "high-confidence" nodes—those located closest to their respective cluster centers. The DPS ensures that the representations of these high-confidence nodes are pulled together across both Siamese views, focusing the learning process on the most reliable data points.
  • Reliable Negative Strategy (RNS): Instead of pushing a node away from other individual nodes (which might be false negatives), the RNS pushes a node's representation away from the centers of other high-confidence clusters. This global structural guidance provides a more stable and meaningful optimization signal.

Experimental Evaluation

The authors evaluated CCGC on six benchmark datasets, including citation networks (CORA, CITESEER), a co-purchase network (AMAP), and air-traffic networks (BAT, EAT, UAT).

Performance Metrics

CCGC achieved state-of-the-art (SOTA) results across Accuracy (ACC), Normalized Mutual Information (NMI), Adjusted Rand Index (ARI), and F1-score. Notably, on the EAT dataset, CCGC outperformed the nearest competitor by 5.06% in Accuracy and nearly 10% in NMI.

Visualization and Robustness

t-SNE visualizations indicate that CCGC produces tighter, more distinct clusters with clearer boundaries compared to previous methods like MVGRL or SDCN. Furthermore, sensitivity analysis confirms that the model is robust to variations in hyper-parameters, specifically the weighting between positive and negative loss components.

Discussion and Insights

The success of CCGC highlights several key insights for unsupervised graph learning:

  • Weight Diversity vs. Data Perturbation: Model-level diversity via un-shared weights is often more effective and safer for graph data than manual feature or edge manipulation.
  • Quality over Quantity: By filtering for high-confidence samples, the model avoids the noise inherent in unsupervised pseudo-labeling.
  • Global Anchors: Using cluster centers as negative anchors prevents the local "jitter" associated with traditional negative sampling, leading to more stable convergence.

Conclusion and Future Work

CCGC represents a significant step forward in deep graph clustering by mitigating semantic drift and the false negative problem. While the current reliance on K-means for pseudo-labeling is effective, future work may explore integrating the clustering and representation learning into a fully end-to-end differentiable process to further optimize performance. The source code for CCGC is available to the research community to facilitate further development in cluster-guided learning.

Summary updated

BibTeX
@inproceedings{yang2023cluster,
  author = {Xihong Yang and Yue Liu and Sihang Zhou and Siwei Wang and Wenxuan Tu and Qun Zheng and Xinwang Liu and Liming Fang and En Zhu},
  title = {{Cluster-Guided Contrastive Graph Clustering Network}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i9.26285},
}
Figure