Hard Sample Aware Network for Contrastive Deep Graph Clustering [5]
Abstract
Contrastive deep graph clustering, which aims to divide nodes into disjoint groups via contrastive mechanisms, is a challenging research spot. Among the recent works, hard sample mining-based algorithms have achieved great attention for their promising performance. However, we find that the existing hard sample mining methods have two problems as follows. 1) In the hardness measurement, the important structural information is overlooked for similarity calculation, degrading the representativeness of the selected hard negative samples. 2) Previous works merely focus on the hard negative sample pairs while neglecting the hard positive sample pairs. Nevertheless, samples within the same cluster but with low similarity should also be carefully learned. To solve the problems, we propose a novel contrastive deep graph clustering method dubbed Hard Sample Aware Network (HSAN) by introducing a comprehensive similarity measure criterion and a general dynamic sample weighing strategy. Concretely, in our algorithm, the similarities between samples are calculated by considering both the attribute embeddings and the structure embeddings, better revealing sample relationships and assisting hardness measurement. Moreover, under the guidance of the carefully collected high-confidence clustering information, our proposed weight modulating function will first recognize the positive and negative samples and then dynamically up-weight the hard sample pairs while down-weighting the easy ones. In this way, our method can mine not only the hard negative samples but also the hard positive sample, thus improving the discriminative capability of the samples further. Extensive experiments and analyses demonstrate the superiority and effectiveness of our proposed method. The source code of HSAN is shared at https://github.com/yueliu1999/HSAN and a collection (papers, codes and, datasets) of deep graph clustering is shared at https://github.com/yueliu1999/Awesome-Deep-Graph-Clustering on Github.
Benchmark Results
Tested on 2 datasets 9 baseline values reported too low Non-standard metric on 1 dataset
Tables show presented results in global context (best 3 papers + GCN + MLP).
Hypergraph Benchmarks
AMAP
Global leaderboard →Sorted by F1. Highlighted rows are from other papers.
| # | Model | F1 ↑ | Paper |
|---|---|---|---|
| 1 | GANN | 0.9405
±0.0037 | |
| 2 | GPRGNN | 0.9308
±0.0026 | |
| 3 | GAT | 0.9238
±0.0014 | |
| 14 | GCN | 0.8115
±0.0105 | |
| 15 | DCRN | 0.7966
±0.0025 best reported | best at pub: Improved Dual Correlation Reduction Network (2022) |
| 16 | DFCN | 0.7600
±0.0080 best reported | best at pub: Improved Dual Correlation Reduction Network (2022) |
| 22 | HSAN | 0.7203
±0.0046 | This paper |
| 23 | AGE | 0.7174
±0.0093 | This paper |
| 24 | AGC-DRR | 0.7103
±0.0064 | This paper |
| 25 | AFGRL | 0.6999
±0.0034 | This paper |
| 26 | DAEGC | 0.6987
±0.0054 | prev best: Simple Contrastive Graph Clustering (2022) Improvement within reported uncertainty; not highlighted. |
| 30 | MGAE | 0.6808
±0.0176 | This paper |
| 31 | SDCN | 0.6805
±0.0181 best reported | best at pub: Improved Dual Correlation Reduction Network (2022) |
| 35 | ARGA | 0.6483
±0.0059 best reported | best at pub: Improved Dual Correlation Reduction Network (2022) Difference within reported uncertainty; not counted as underperformance. |
| 41 | AutoSSL | 0.5447
±0.0083 | This paper |
| 50 | MVGRL | 0.4600 best reported | best at pub: Improved Dual Correlation Reduction Network (2022) best today: CDC: A Simple Framework for Complex Data Clustering (2024) |
| 51 | GDCL | 0.3837
±0.0029 | This paper |
| 53 | ProGCL | 0.3197
±0.0044 | This paper |
| # | Model | F1 ↑ | Paper |
|---|---|---|---|
| 1 | SCAGC | 0.7277
±0.0016 | |
| 2 | SCGC | 0.7222
±0.0097 | |
| 3 | AGE | 0.7174
±0.0093 best reported | best at pub: Simple Contrastive Graph Clustering (2022) |
| 4 | DFCN | 0.7125
±0.0031 best reported | best at pub: Simple Contrastive Graph Clustering (2022) |
| 5 | DAEGC | 0.6987
±0.0054 best reported | best at pub: Simple Contrastive Graph Clustering (2022) |
| 7 | ARGA | 0.6430
±0.0195 best reported | best at pub: Simple Contrastive Graph Clustering (2022) |
| 10 | HSAN | 0.5726
±0.0028 | This paper |
| 12 | SDCN | 0.5066
±0.0149 best reported | best at pub: Simple Contrastive Graph Clustering (2022) |
| 16 | DCRN | 0.4706
±0.0066 | This paper |
| 17 | MVGRL | 0.4700
±0.0600 best reported | best at pub: Simple Contrastive Graph Clustering (2022) best today: Non-Dissipative Graph Propagation for Non-Local Community Detection (2025) |
| 21 | MGAE | 0.4308
±0.0326 | This paper |
| 22 | ProGCL | 0.4254
±0.0045 | This paper |
| 24 | AGC-DRR | 0.3520
±0.0017 | prev best: GraphLearner: Graph Node Clustering with Fully Learnable Augmentation (2022) Improvement within reported uncertainty; not highlighted. |
| 28 | AFGRL | 0.3053
±0.0147 | This paper |
| 29 | GDCL | 0.2502
±0.0021 | This paper |
| 31 | AutoSSL | 0.2182
±0.0098 | This paper |
![Main figure for Hard Sample Aware Network for Contrastive Deep Graph Clustering [5]](/figures/2212.08665/main_figure.jpegoptim.jpg)