TL;DR
This paper introduces Iterative Graph Self-Distillation (IGSD), a novel framework for learning graph representations. IGSD uses a teacher-student distillation approach with graph diffusion augmentations to improve unsupervised and semi-supervised graph classification and property prediction. It achieves state-of-the-art results, particularly when combined with self-training.
What Problem Does This Paper Address?
Learning effective, low-dimensional vector representations of graphs is crucial for various applications, from social science to bioinformatics. Traditional methods often rely on a large amount of labeled data, which is expensive and time-consuming to obtain for graph-structured data. While self-supervised learning has shown promise, existing graph-based contrastive learning methods often struggle with designing effective pretext tasks, handling negative sampling, or extending to semi-supervised settings. This paper aims to address these limitations by proposing a method that learns graph-level representations through instance discrimination without relying on explicit labels, and can be effectively extended to semi-supervised scenarios.
Methods
The core of the proposed method is Iterative Graph Self-Distillation (IGSD), a teacher-student framework.
- Self-Supervised Learning: IGSD learns graph representations in an unsupervised manner using a contrastive learning approach. It augments input graphs using graph diffusion (specifically, Personalized PageRank) and random edge removal to create different "views" of the same graph. These augmented views, along with other graph instances, are fed into a student and a teacher network. The goal is to make the student network's predictions for an augmented view match the teacher network's representation of the same graph.
- Teacher-Student Distillation: The teacher network's parameters are updated as an exponential moving average (EMA) of the student network's parameters. This EMA mechanism helps stabilize training and provides a consistent target for the student. The loss function used is a consistency loss (mean squared error) between the student's predicted projection and the teacher's projection.
- Semi-Supervised Extension: IGSD is extended to semi-supervised settings by incorporating a supervised contrastive loss. This loss pulls together representations of graphs with the same label while pushing apart those with different labels. This allows IGSD to leverage available labels effectively, even with a small amount of labeled data.
- Self-Training: For further improvement, IGSD is fine-tuned using a self-training algorithm. This involves iteratively assigning pseudo-labels to unlabeled data with high confidence and then retraining the model using these pseudo-labels and the supervised contrastive loss.
Datasets
The paper evaluates IGSD on several standard graph datasets:
- Graph Classification (Self-Supervised & Semi-Supervised):
- MUTAG
- IMDB-B
- IMDB-M
- NCI1
- COLLAB
- PTC
- Molecular Property Prediction (Semi-Supervised):
- QM9 (a large dataset of drug-like molecules)
No new benchmarks were introduced; the focus was on evaluating IGSD on existing, widely-used datasets.
Key Insights and Ideas
- Graph Diffusion as Augmentation: Using graph diffusion to create augmented views is effective for contrastive learning on graphs, providing a robust way to generate diverse representations of the same graph structure.
- Self-Distillation for Stability: The teacher-student distillation with EMA updates provides a strong regularization mechanism, preventing model collapse and leading to more discriminative representations, especially in unsupervised settings where negative sampling can be tricky.
- Bridging Unsupervised and Semi-Supervised: The seamless integration of self-supervised learning with supervised contrastive loss allows IGSD to effectively leverage both unlabeled and labeled data, outperforming methods that rely solely on one or the other.
- Self-Training Synergy: Combining IGSD with self-training significantly boosts performance, particularly in semi-supervised scenarios. This highlights the power of iteratively refining models with high-confidence pseudo-labels, especially when the underlying representation learning is already strong.
Key Results
- Self-Supervised Graph Classification: IGSD achieved competitive performance, often outperforming state-of-the-art baselines like InfoGraph, CMC-Graph, and GCC on several graph classification datasets.
- Semi-Supervised Graph Classification: IGSD demonstrated superior performance compared to baselines like Mean Teachers and InfoGraph*, especially when combined with self-training. For example, "OURS (SUPCON)+SELF-TRAINING" achieved accuracies of 77.0% on IMDB-B and 77.1% on NCI1, significantly improving over other methods.
- Semi-Supervised Molecular Property Prediction: IGSD outperformed strong baselines (InfoGraph, InfoGraph*, Mean Teachers) in 9 out of 10 molecular property prediction tasks on the QM9 dataset, showing its ability to transfer learned knowledge.
- Robustness: IGSD showed robustness to different data augmentation strategies (e.g., random edge dropping).
Limitations and Future Work
- Computational Cost: While IGSD aims to be efficient, some graph kernels experienced out-of-memory errors or long running times on larger datasets. The paper does not explicitly detail the computational complexity of IGSD itself compared to baselines.
- Augmentation Design: The paper mentions that designing effective graph augmentations is a non-trivial task. While graph diffusion and edge dropping were explored, future work could investigate more sophisticated view generators.
- Future Directions: The authors suggest applying the IGSD framework to other graph learning tasks and exploring more advanced view generation techniques to further enhance its capabilities.
Summary updated