Self-supervised Learning on Graphs: Deep Insights and New Direction

Wei Jin, Tyler Derr, Haochen Liu, Yiqi Wang, Suhang Wang, Zitao Liu, Jiliang TangarXiv 2020

Introduction

Deep learning's reliance on massive labeled datasets remains a significant bottleneck in model development. While self-supervised learning (SSL) has transformed computer vision and natural language processing by leveraging unlabeled data through "pretext" tasks, its application to Graph Neural Networks (GNNs) is more complex. Graphs are non-i.i.d. structures where nodes are inherently linked, making structural complexity a "double-edged sword." This paper investigates when, why, and which SSL strategies effectively enhance GNNs, ultimately proposing SelfTask, a framework that integrates label information into pretext tasks to boost performance in data-scarce scenarios.

Methodology and Pretext Tasks

The authors categorize SSL pretext tasks into two main groups based on the information they exploit:

  1. Structure-based: These involve predicting node properties (e.g., degree), reconstructing masked edges, or calculating shortest path distances between node pairs.
  2. Attribute-based: These focus on reconstructing masked node features or maintaining similarity between nodes with similar input attributes.

Training Paradigms

Two primary strategies for integrating SSL with downstream tasks are evaluated:

  • Joint Training: Simultaneously optimizing SSL loss and downstream classification loss. This approach is often more effective in the graph domain as it allows the model to learn representations that are immediately relevant to the target task.
  • Two-stage Training: A traditional pre-training phase on an SSL task followed by fine-tuning on the downstream task.
Overview of SSL in GNNs using joint training

The SelfTask Framework

Building on the insight that standard SSL tasks often provide redundant information already captured by GNN message-passing, the authors introduce SelfTask. This framework leverages the small amount of available label information to create advanced pretext tasks. A key component is the CorrectedLabel task, which iteratively predicts and refines neighbor label distributions to guide representation learning. This approach enforces the principle that nodes with similar neighborhood label distributions should have similar embeddings, making the learned features more useful for the final classification.

Experimental Insights

The study reveals several critical findings regarding the efficacy of SSL on graphs:

  • Redundancy of Local Tasks: SSL tasks focusing on local structures (like node degree) offer minimal gains because GNNs naturally capture this information through neighborhood aggregation. To be effective, SSL must provide complementary information.
  • Value of Global Information: Tasks capturing global positioning (e.g., distance to clusters) provide significant performance boosts by offering context that local aggregation misses.
  • Superiority of Joint Training: Unlike CV and NLP, where pre-training is standard, joint training is generally more effective and easier to tune for graphs.
Comparison of different two-stage training strategies on the Cora dataset

Key Results

Empirical evaluations on benchmark datasets (Cora, Citeseer, Pubmed, and Reddit) demonstrate that global structure-based tasks like PairwiseDistance consistently improve performance. The SelfTask methods achieved state-of-the-art results, with SelfTask-CorrectedLabel-ICA improving GCN accuracy by up to 3.0% on Pubmed. Notably, in extreme data-scarce scenarios (e.g., 5 labels per class), SelfTask outperformed standard GCNs by a margin of 7.2% on Citeseer.

Conclusion and Future Work

While global pretext tasks are highly effective, they face scalability challenges on massive graphs due to computational complexity. Future research will focus on developing efficient global tasks and adapting these SSL strategies for diverse GNN architectures beyond standard GCNs.

Summary updated

BibTeX
@misc{jin2020self,
  author = {Wei Jin and Tyler Derr and Haochen Liu and Yiqi Wang and Suhang Wang and Zitao Liu and Jiliang Tang},
  title = {{Self-supervised Learning on Graphs: Deep Insights and New Direction}},
  year = {2020},
  eprint = {2006.10141},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2006.10141},
}
Figure