Reliable Node Similarity Matrix Guided Contrastive Graph Clustering

May 5, 2026 ยท View on GitHub

Official Implementation of Reliable Node Similarity Matrix Guided Contrastive Graph Clustering (TKDE 2024).

NS4GC has been integrated into PyAGC, a production-ready library and comprehensive benchmark for Attributed Graph Clustering. Please kindly see PyAGC Repository, PyAGC Benchmark Paper, AGC Survey Repository, and AGC Survey Paper for more details.

Abstract

Overview

Dependencies

  • PyTorch
  • dgl (only as the source of datasets)
  • scikit-learn

Reproduction

Copy hyper-parameters from params.txt to main.py and run it.

Datasets

For all datasets, we use the processed version provided by Deep Graph Library.

DatasetType#Nodes#Edges#Features#ClustersHomo
Coracitation2,70810,5561,433782.52%
Citeseercitation3,3279,2283,703672.22%
Pubmedcitation19,71788,651500379.24%
CoraFullcitation19,793126,8428,7107058.61%
WikiCSreference11,701431,7263001065.88%
Photoco-purchase7,650238,163745883.65%
Computerco-purchase13,752491,7227671078.53%
CoauthorCSco-authorship18,333163,7886,8051583.20%