Rethinking and Scaling Up Graph Contrastive Learning: An Extremely Efficient Approach with Group Discrimination
Abstract
Graph contrastive learning (GCL) alleviates the heavy reliance on label information for graph representation learning (GRL) via self-supervised learning schemes. The core idea is to learn by maximising mutual information for similar instances, which requires similarity computation between two node instances. However, GCL is inefficient in both time and memory consumption. In addition, GCL normally requires a large number of training epochs to be well-trained on large-scale datasets. Inspired by an observation of a technical defect (i.e., inappropriate usage of Sigmoid function) commonly used in two representative GCL works, DGI and MVGRL, we revisit GCL and introduce a new learning paradigm for self-supervised graph representation learning, namely, Group Discrimination (GD), and propose a novel GD-based method called raph roup iscrimination (GGD). Instead of similarity computation, GGD\ directly discriminates two groups of blacknode samples with a very simple binary cross-entropy loss. In addition, GGD\ requires much blackfewer training epochs to obtain competitive performance compared with GCL methods on large-scale datasets. These two advantages endow GGD\ with very efficient property. Extensive experiments show that GGD\ outperforms state-of-the-art self-supervised methods on eight datasets. In particular, GGD\ can be trained in 0.18 seconds (6.44 seconds including data preprocessing) on ogbn-arxiv, which is orders of magnitude (10,000+) faster than GCL baselines while consuming much less memory. Trained with 9 hours on ogbn-papers100M with billion edges, GGD\ outperforms its GCL counterparts in both accuracy and efficiency.
Benchmark Results
Tested on 4 datasets 15 baseline values reported too low
Tables show presented results in global context (best 3 papers + GCN + MLP).
Classic
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | GraphTARIF | 0.9461
±0.0017 | |
| 2 | GCN | 0.9412
±0.0008 best reported | best at pub: Learning on Attribute-Missing Graphs (2020) |
| 3 | GAT | 0.9398
±0.0022 best reported | best at pub: Graph Contrastive Learning with Adaptive Augmentation (WWW 2020) |
| 8 | SAGE | 0.9351
±0.0006 | |
| 79 | BGRL | 0.9034
±0.0019 best reported | best at pub: Graph Representation Learning via Aggregation Enhancement (2022) best today: Adaptive Negative Scheduling for Graph Contrastive Learning (2026) Difference within reported uncertainty; not counted as underperformance. |
| 82 | SGC | 0.9022
±0.0021 best reported | |
| 93 | GGD | 0.9010
±0.0090 | This paper |
| 139 | GRACE | 0.8953
±0.0035 best reported | best at pub: Graph Representation Learning via Aggregation Enhancement (2022) best today: Adaptive Negative Scheduling for Graph Contrastive Learning (2026) |
| 165 | GBT | 0.8850
±0.0100 | prev best: Omni-Granular Ego-Semantic Propagation for Self-Supervised Graph Representation Learning (ICML 2022) Improvement within reported uncertainty; not highlighted. |
| 179 | MVGRL | 0.8861
±0.0064 best reported | best at pub: Graph Contrastive Learning with Adaptive Augmentation (WWW 2020) |
| 210 | DGI | 0.8798
±0.0081 best reported | best at pub: Graph Representation Learning via Aggregation Enhancement (2022) best today: Bootstrap Latents of Nodes and Neighbors for Graph Self-Supervised Learning (2024) |
| 218 | CG3 | 0.8780
±0.0090 best reported | best today: Decoupling Weighing and Selecting for Integrating Multiple Graph Pre-training Tasks (ICLR 2024) |
| 320 | MLP | 0.8463 | |
| 342 | GMI | 0.8422
±0.0052 best reported | best at pub: Graph Contrastive Learning with Adaptive Augmentation (WWW 2020) best today: Localized Graph Contrastive Learning (2022) |
OGB
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | Jacobi | 0.8968 | |
| 2 | GPR | 0.8953 | |
| 3 | LEMP4HG | 0.8939 | |
| 4 | SAGE | 0.8933 | |
| 249 | GGD (1 epo) | 0.7570
±0.0040 | This paper |
| 254 | Supervised GCN | 0.7560
±0.0020 | This paper |
| 313 | Node2Vec | 0.7249
±0.0010 best reported | best at pub: SIGN: Scalable Inception Graph Neural Networks (2020) best today: Unleashing the Potential of Fractional Calculus in Graph Neural Networks with FROND (ICLR 2024) |
| 333 | GBT (100 epos) | 0.7050
±0.0040 | This paper |
| 351 | MLP | 0.6605
±0.0020 best reported | best at pub: SCR: Training Graph Neural Networks with Consistency Regularization (2021) best today: Latent Graph Inference using Product Manifolds (ICLR 2022) |
| 362 | BGRL (100 epos) | 0.6400
±0.0160 | This paper |
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | SGC | 0.7910 | |
| 2 | GAMLP | 0.7036
±0.0002 | |
| 3 | GLEM-GNN | 0.7036
±0.0002 | |
| 32 | Supervised SGC | 0.6650
±0.0020 | This paper |
| 35 | SAGE | 0.6644
±0.0017 | |
| 71 | GGD (1 epoch) | 0.6350
±0.0050 | This paper |
| 82 | BGRL (1 epoch) | 0.6210
±0.0030 | This paper |
| 83 | GBT (1 epoch) | 0.6150
±0.0050 | This paper |
| 88 | Node2Vec | 0.5810 | prev best: SIGN: Scalable Inception Graph Neural Networks (2020) Improvement within reported uncertainty; not highlighted. |
| 95 | MLP | 0.4960
±0.0030 | prev best: SIGN: Scalable Inception Graph Neural Networks (2020) |
