[Paper Review] GraphCL: Contrastive Self-Supervised Learning of Graph Representations
GraphCL proposes a contrastive self-supervised framework for learning node representations by maximizing similarity between two randomly perturbed views of each node's local subgraph. It achieves state-of-the-art performance on unsupervised node classification across transductive and inductive setups by leveraging graph neural networks and a contrastive loss, demonstrating robustness and efficiency on citation, social, and biological networks.
We propose Graph Contrastive Learning (GraphCL), a general framework for learning node representations in a self supervised manner. GraphCL learns node embeddings by maximizing the similarity between the representations of two randomly perturbed versions of the intrinsic features and link structure of the same node's local subgraph. We use graph neural networks to produce two representations of the same node and leverage a contrastive learning loss to maximize agreement between them. In both transductive and inductive learning setups, we demonstrate that our approach significantly outperforms the state-of-the-art in unsupervised learning on a number of node classification benchmarks.
Motivation & Objective
- To develop a general, self-supervised framework for learning node representations without requiring labeled data.
- To address the limitations of existing unsupervised methods that rely on homophily or global graph representations, which may overlook topological structure.
- To improve robustness and generalization by learning representations invariant to random perturbations of node features and graph structure.
- To achieve strong performance in both transductive and inductive learning settings using a unified contrastive learning approach.
- To provide an efficient and scalable alternative to methods requiring costly global graph encoding or extensive human supervision.
Proposed method
- For each node, GraphCL constructs two augmented views of its L-hop local subgraph by randomly dropping edges and node features with user-defined probabilities.
- A graph neural network encoder processes both augmented views to produce two representations of the same node.
- A contrastive loss is applied to maximize the similarity between the two representations while contrasting with negative samples from other nodes.
- The method uses a momentum-updated encoder in a MoCo-style framework to stabilize training and improve representation quality.
- The framework supports both transductive and inductive learning by using subgraph sampling strategies to manage memory and computational costs.
- The approach is designed to be agnostic to the choice of GNN architecture, enabling compatibility with various message-passing models.
Experimental results
Research questions
- RQ1Can a contrastive learning framework based on local subgraph perturbations outperform existing unsupervised graph representation learning methods?
- RQ2How does GraphCL perform across both transductive and inductive node classification benchmarks?
- RQ3To what extent does random perturbation of features and structure improve robustness and generalization in node representation learning?
- RQ4Does GraphCL achieve competitive performance compared to supervised baselines without requiring labeled data?
- RQ5How does the method scale to large graphs, and what is the trade-off between memory efficiency and computational cost?
Key findings
- GraphCL achieves state-of-the-art performance on unsupervised node classification across multiple citation, social, and biological network benchmarks.
- The method significantly outperforms existing self-supervised approaches such as DGI, VGAE, and node2vec in both transductive and inductive learning settings.
- GraphCL demonstrates strong robustness to perturbations, as the learned representations are invariant to random edge and feature dropout.
- The computational complexity is linear in the number of nodes, making it scalable to large graphs, especially when combined with sub-sampling in the inductive setting.
- The contrastive loss provides a lower bound on mutual information between the two views, supporting the theoretical foundation of representation alignment.
- The framework is effective even without global graph encoding, avoiding the computational infeasibility of large-scale graph representation learning.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.