Skip to main content
QUICK REVIEW

[Paper Review] Rethinking and Scaling Up Graph Contrastive Learning: An Extremely Efficient Approach with Group Discrimination

Yizhen Zheng, Shirui Pan|arXiv (Cornell University)|Jun 3, 2022
Advanced Graph Neural NetworksComputer Science51 citations
TL;DR

The paper introduces Graph Group Discrimination (GD) and a Siamese model GGD, achieving state-of-the-art self-supervised graph representations with massive gains in training speed and memory efficiency on large-scale graphs.

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 Graph Group Discrimination (GGD). Instead of similarity computation, GGD directly discriminates two groups of node samples with a very simple binary cross-entropy loss. In addition, GGD requires much fewer 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.

Motivation & Objective

  • Reevaluate existing graph contrastive learning (GCL) approaches and identify inefficiencies.
  • Propose Group Discrimination (GD) as an alternative learning paradigm to MI-based contrastive losses.
  • Develop GGD, a fast, scalable GCL model using GD with a Siamese network structure.
  • Demonstrate state-of-the-art performance and superior efficiency on eight datasets, including ogbn-papers100M.

Proposed method

  • Define Group Discrimination (GD) as discriminating two groups of node samples (positive from original/corrupted graphs) via a binary cross-entropy loss.
  • Introduce Graph Group Discrimination (GGD) with a Siamese GNN encoder and a projector.
  • Use optional augmentation and corruption to generate positive and negative groups.
  • Infer embeddings by combining local embeddings with a global information component through a simple aggregation-based extension (H = H_theta + H_theta^{global}).
  • Demonstrate substantial training-time and memory benefits by removing explicit node-pair similarity computations.

Experimental results

Research questions

  • RQ1Can Group Discrimination (GD) serve as an effective alternative to mutual-information-based objectives in graph contrastive learning?
  • RQ2Does GD enable faster training, better scalability, and reduced memory usage on large-scale graphs while maintaining or improving accuracy?
  • RQ3What is the impact of augmentation and corruption strategies on the GD-based learning process?
  • RQ4How does GGD perform against state-of-the-art GCL methods across small, medium, and ultra-large graph datasets?

Key findings

  • GGD achieves state-of-the-art or competitive accuracy across eight datasets, including ogbn-arxiv, ogbn-products, and ogbn-papers100M.
  • GGD is dramatically faster and more memory-efficient than baselines, e.g., up to 10,783× end-to-end speed improvement on ogbn-arxiv compared with the strongest GCL baseline in Table 1.
  • On ogbn-arxiv, GGD (1 epoch) attains 71.6–71.7% validation/test accuracy while using far less memory and time than full-batch baselines.
  • GGD scales to extremely large graphs (ogbn-papers100M) with neighbourhood sampling, achieving competitive performance with significantly lower training time per epoch.
  • Training time per epoch for GGD is an order of magnitude smaller than baselines across several datasets (e.g., 0.010–0.021s vs. 0.059–0.158s for some methods).
  • In ablation-like comparisons, replacing MI-based objectives with a BCE-based Group Discrimination loss substantially reduces memory and time consumption with only minor performance differences.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.