NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Self-Supervised Learning on Graphs: Contrastive, Generative, or Predictive

Lirong Wu, Haitao Lin, Cheng Tan, Zhangyang Gao, Stan Z. Li

TL;DR

This paper provides a comprehensive survey of self-supervised learning (SSL) techniques for graph data, categorizing existing methods into contrastive, generative, and predictive approaches. It offers a unified mathematical framework, summarizes key datasets, evaluation metrics, and implementation details, and discusses current challenges and future directions in graph SSL.

What Problem Does This Paper Address?

Deep learning models have achieved remarkable success on graph-structured data, but this success heavily relies on large amounts of meticulously labeled data. Obtaining these labels is often expensive, time-consuming, and requires expert knowledge, making it a significant bottleneck for applying graph-based deep learning to real-world scenarios. This paper addresses this challenge by surveying and organizing self-supervised learning (SSL) methods, which aim to learn valuable representations from unlabeled graph data by designing clever "pretext" tasks.

Methods

The paper categorizes graph SSL methods into three main paradigms:

  • Contrastive Learning: These methods aim to maximize the agreement between different "views" of the same graph instance (positive pairs) while minimizing agreement with views from different instances (negative pairs). This is achieved through various data augmentation strategies (feature-based, structure-based, sampling-based, adaptive) and contrastive objectives (e.g., InfoNCE, JS Estimator).
  • Generative Learning: These methods focus on reconstructing parts of the input graph data, treating the reconstruction task as a self-supervision signal. This includes graph autoencoding (e.g., node attribute masking, adjacency matrix reconstruction) and graph autoregressive models.
  • Predictive Learning: These methods generate informative labels from the data itself to create supervised signals. This is achieved through predicting node properties (e.g., degree), leveraging contextual information (e.g., shortest path length), using self-training with pseudo-labels, or incorporating domain knowledge.

The authors also present a unified mathematical framework to summarize these diverse approaches.

Datasets

The paper discusses commonly used datasets for graph SSL, categorizing them into:

  • Citation Networks (e.g., Cora, Citeseer, Pubmed)
  • Social Networks (e.g., Reddit, COLLAB)
  • Protein Networks (e.g., PROTEINS, PPI)
  • Molecule Graphs (e.g., MUTAG, PTC, NCI1)
  • Others (e.g., image, traffic, co-purchase datasets)

Appendix F provides statistics for 41 datasets, and Appendix A5 offers a summary of common datasets with their properties.

Key Insights and Ideas

  • Unified Taxonomy: The paper's primary contribution is its structured categorization of graph SSL methods into contrastive, generative, and predictive, providing a clear overview of the landscape.
  • Mathematical Framework: Presenting a unified mathematical framework helps to understand the core mechanics of different SSL approaches on graphs, facilitating comparisons and methodological development.
  • Importance of Pretext Tasks: The survey emphasizes that the design of effective pretext tasks is crucial for learning transferable representations from graph data, highlighting the differences from image and NLP SSL.
  • Challenges in Graph SSL: The paper identifies key challenges, including the non-Euclidean nature of graphs, the correlation between nodes, and the divergence between pretext task objectives and downstream tasks.
  • Experimental Study: The authors provide a detailed experimental study for fair comparison, which is a valuable resource for researchers.

Key Results

The paper is a survey, so it doesn't present new experimental results in the main body. However, it summarizes the performance of various methods on downstream tasks (node classification, graph classification) in Appendices A7 and A8. Key observations from their experimental study include:

  • No single method excels across all datasets, indicating graph-specific dependencies.
  • Algorithms performing well on small datasets may not generalize to larger ones.
  • Contrastive methods generally outperform generative and predictive methods, though the latter are simpler to implement.

Limitations and Future Work

The authors acknowledge several limitations and suggest future research directions:

  • Lack of Theoretical Foundation: Many SSL methods are designed based on intuition rather than solid theoretical grounding, leading to performance bottlenecks and poor explainability. Future work should focus on building a stronger theoretical foundation.
  • Insufficient Augmentation Strategies: Current graph augmentation strategies are often limited and may not be optimal. Developing more efficient, adaptive, and dynamic augmentation strategies is crucial.
  • Inefficient Negative Sampling: High-quality negative sample selection is a challenge, especially in unsupervised settings. Exploring debiased or synthesized negative samples for graphs is needed.
  • Interpretability: Understanding what graph SSL methods learn from pretext tasks and finding interpretable correspondences is an open area.
  • Pre-training to Downstream Task Margin: Minimizing the gap between pre-training and downstream tasks for graphs remains a challenge.
  • Handling Complex Graph Types: Most existing work focuses on attribute graphs. Future research should explore pretext tasks for more complex graph types like spatial-temporal and heterogeneous graphs, incorporating their unique information.
  • Automated Pretext Task Design: Exploring automatic methods for designing pretext tasks is a promising research direction.

Summary updated

BibTeX
@article{wu2023self,
  author = {Lirong Wu and Haitao Lin and Cheng Tan and Zhangyang Gao and Stan Z. Li},
  title = {{Self-Supervised Learning on Graphs: Contrastive, Generative, or Predictive}},
  journal = {IEEE Trans. Knowl. Data Eng.},
  year = {2023},
  url = {https://openreview.net/forum?id=tx9wOsuxDb},
}
Figure