Self-Contrastive Graph Diffusion Network

Yixuan Ma, Kun Zhan · DOI

Abstract

Deep graph clustering has traditionally relied on complex contrastive learning frameworks that necessitate manual data augmentations and multi-view architectures. This paper introduces the Self-Contrastive Graph Diffusion Network (SCGDN), a streamlined framework that eliminates the need for these complexities. By integrating an attentional feature aggregator with a continuous diffusion module and a high-quality sampling strategy, SCGDN achieves state-of-the-art performance while remaining parameter-efficient.

Introduction

Graph clustering—the unsupervised task of grouping nodes based on structural connections and feature similarities—is a fundamental challenge in representation learning. Recent advancements have been dominated by contrastive learning, which typically requires creating two augmented "views" of a graph and training the model to maximize agreement between them. However, this paradigm suffers from three primary limitations:

  1. Augmentation Dependency: The effectiveness of the model is often tied to the specific choice of augmentation (e.g., edge dropping or feature masking), which requires extensive trial and error.
  2. Sampling Bias: Random negative sampling often introduces "false negatives," where nodes belonging to the same semantic cluster are incorrectly pushed apart in the embedding space.
  3. Model Complexity: Multi-view architectures, such as Siamese networks, significantly increase the parameter count and computational burden.

SCGDN addresses these challenges by proposing an augmentation-free, single-view framework that leverages the intrinsic geometry of the graph to refine the learning process.

Methodology

The SCGDN architecture is composed of three integrated components designed to capture both local and global graph properties.

1. Attentional Module (AttM)

Unlike standard Graph Convolutional Networks (GCNs) that use fixed aggregation rules, the AttM utilizes self-attention and cross-attention mechanisms. This allows the model to dynamically aggregate higher-order structural information, producing a similarity matrix that reflects both the local neighborhood and global feature distributions.

2. Diffusion Module (DiFM)

To capture long-range dependencies without the risk of "over-smoothing" common in deep GCNs, SCGDN employs a Diffusion Module inspired by Neural Ordinary Differential Equations (Neural ODEs). The DiFM treats node feature evolution as a continuous Laplacian diffusion process. This allows information to propagate smoothly across the network until it reaches a stationary state, effectively balancing the influence of immediate neighbors with more distant, structurally relevant nodes.

3. Self-Contrastive Learning and High-Quality Sampling

The core innovation of SCGDN is its "self-contrastive" approach. Instead of generating a second view through augmentation, the model uses a single view but applies a rigorous High-Quality Sampling Strategy to mitigate sampling bias:

  • Positive Samples: Defined as direct neighbors in the original graph.
  • Negative Samples: A node is only considered a negative sample if it is neither a neighbor in the original graph nor a neighbor in a feature-based $k$-Nearest Neighbor ($k$-NN) graph.

This filtering process significantly reduces the occurrence of false negatives. Additionally, the loss function incorporates a redundancy reduction term to minimize correlation between embedding dimensions, ensuring highly discriminative representations.

Experimental Setup

The authors evaluated SCGDN against several benchmarks, including:

  • Citation Networks: Cora, Citeseer, and CoraFull.
  • Air-Traffic Networks: BAT (Brazil) and EAT (Europe).
  • E-commerce: AMAP (Amazon Photo).

These datasets represent a diverse range of graph densities and feature types, providing a robust test for the model's generalization capabilities.

Results and Discussion

SCGDN consistently outperformed both classical clustering algorithms and modern contrastive models like MVGRL and AFGRL across Accuracy (ACC), Normalized Mutual Information (NMI), and Adjusted Rand Index (ARI).

  • Clustering Performance: On the Cora dataset, SCGDN achieved an accuracy of 74.79%, a notable improvement over MVGRL’s 70.47%.
  • Robustness: The model showed exceptional performance on the BAT air-traffic dataset, reaching 74.73% accuracy, whereas many competing models failed to exceed 55%.
  • Representation Quality: t-SNE visualizations confirm that SCGDN produces tighter, more distinct clusters with clear boundaries compared to previous methods, which often result in overlapping clusters.

These results suggest that the "negativeness paradox"—where random sampling hinders performance—is a significant bottleneck in graph learning. By using $k$-NN-filtered negatives, SCGDN prevents the "semantic drift" that typically occurs when models lose track of cluster identities during training.

Conclusion and Future Work

SCGDN demonstrates that high-performance graph clustering does not require the overhead of multi-view architectures or the "black art" of data augmentation. By framing feature aggregation as a continuous diffusion process and refining negative sampling, the model achieves superior efficiency and accuracy.

Future research may focus on reducing the computational cost of $k$-NN graph construction for large-scale datasets (exceeding millions of nodes) and extending this self-contrastive paradigm to tasks such as link prediction and dynamic graph analysis.

Summary updated

BibTeX
@inproceedings{ma2023self,
  author = {Yixuan Ma and Kun Zhan},
  title = {{Self-Contrastive Graph Diffusion Network}},
  booktitle = {ACM Multimedia},
  year = {2023},
  url = {https://openreview.net/forum?id=piwaZsDydE},
}
Figure