Sub-graph Contrast for Scalable Self-Supervised Graph Representation Learning
Abstract
Graph representation learning has attracted lots of attention recently. Existing graph neural networks fed with the complete graph data are not scalable due to limited computation and memory costs. Thus, it remains a great challenge to capture rich information in large-scale graph data. Besides, these methods mainly focus on supervised learning and highly depend on node label information, which is expensive to obtain in the real world. As to unsupervised network embedding approaches, they overemphasize node proximity instead, whose learned representations can hardly be used in downstream application tasks directly. In recent years, emerging self-supervised learning provides a potential solution to address the aforementioned problems. However, existing self-supervised works also operate on the complete graph data and are biased to fit either global or very local (1-hop neighborhood) graph structures in defining the mutual information based loss terms. In this paper, a novel self-supervised representation learning method via raph trast, namely Subg-Con, is proposed by utilizing the strong correlation between central nodes and their sampled subgraphs to capture regional structure information. Instead of learning on the complete input graph data, with a novel data augmentation strategy, Subg-Con learns node representations through a contrastive loss defined based on subgraphs sampled from the original graph instead. Compared with existing graph representation learning approaches, Subg-Con has prominent performance advantages in weaker supervision requirements, model learning scalability, and parallelization. Extensive experiments verify both the effectiveness and the efficiency of our work compared with both classic and state-of-the-art graph representation learning approaches on multiple real-world large-scale benchmark datasets from different domains.
Benchmark Results
Tested on 2 datasets 4 baseline values reported too low
Tables show presented results in global context (best 3 papers + GCN + MLP).
Classic
| # | Model | F1 ↑ | Paper |
|---|---|---|---|
| 1 | EnGCN | 0.9714
±0.0003 | |
| 2 | SAGN+SLE | 0.9710 | |
| 3 | GAMLP(JK) | 0.9704
±0.0001 | |
| 14 | GraphSAGE | 0.9660 best reported | best at pub: GaAN: Gated Attention Networks for Learning on Large and Spatiotemporal Graphs (2018) best today: Accelerating Large Scale Real-Time GNN Inference using Channel Pruning (2021) |
| 58 | GCN | 0.9530
±0.0010 best reported | best at pub: GraphSAINT: Graph Sampling Based Inductive Learning Method (ICLR 2019) best today: GraphMAE: Self-Supervised Masked Graph Autoencoders (KDD 2022) |
| 62 | SubG-Con | 0.9520 | This paper |
| 70 | GMI | 0.9500 | This paper |
| 82 | DGI | 0.9414
±0.0003 best reported | best at pub: Deep Learning on Graphs: A Survey (2018) best today: Calibrating and Improving Graph Contrastive Learning (TMLR 2021) Difference within reported uncertainty; not counted as underperformance. |
| 91 | FastGCN | 0.9370 best reported | best at pub: FastGCN: Fast Learning with Graph Convolutional Networks via Importance Sampling (ICLR 2018) |
| 116 | Unsup-GraphSAGE | 0.9080
±0.0110 | This paper |
| 132 | Raw features | 0.5850
±0.0010 | This paper |
| 143 | DeepWalk | 0.3240 | This paper |
| # | Model | F1 ↑ | Paper |
|---|---|---|---|
| 1 | GAMLP(JK) | 0.9982
±0.0001 | |
| 2 | GraphCON-GCN | 0.9960 | |
| 3 | GCNII | 0.9953
±0.0001 | |
| 21 | GCN | 0.9850 best reported | best at pub: Graph Neural Networks With Convolutional ARMA Filters (2019) best today: Graph-Coupled Oscillator Networks (ICML 2022) |
| 57 | GAT | 0.9732
±0.0032 best reported | best at pub: GaAN: Gated Attention Networks for Learning on Large and Spatiotemporal Graphs (2018) best today: HAT-GAE: Self-Supervised Graph Auto-encoders with Hierarchical Adaptive Masking and Trainable Corruption (2023) Difference within reported uncertainty; not counted as underperformance. |
| 92 | GIN | 0.8724
±0.0002 | |
| 101 | GraphSAGE | 0.7860 best reported | best at pub: Graph Neural Networks With Convolutional ARMA Filters (2019) best today: Optimization-Induced Graph Implicit Nonlinear Diffusion (ICML 2022) |
| 137 | SubG-Con | 0.6690
±0.0020 | This paper |
| 142 | GMI | 0.6500 | This paper |
| 148 | DGI | 0.6380
±0.0020 | This paper |
| 149 | FastGCN | 0.6370
±0.0060 | prev best: GraphSAINT: Graph Sampling Based Inductive Learning Method (ICLR 2019) |
| 164 | DeepWalk | 0.5290 | This paper |
| 172 | Unsup-GraphSAGE | 0.4650
±0.0070 | This paper |
| 173 | MLP | 0.4620 | |
| 176 | Raw features | 0.4250
±0.0030 | prev best: Inductive Representation Learning on Large Graphs (NeurIPS 2017) Improvement within reported uncertainty; not highlighted. |
