TL;DR
This paper introduces Iterative Graph Self-Distillation (IGSD), a novel unsupervised method for learning graph representations. IGSD uses a teacher-student distillation framework with graph augmentations to learn powerful embeddings, and can be extended to semi-supervised settings with self-training for even better performance.
What Problem Does This Paper Address?
Representing graphs as meaningful vectors (vectorization) is crucial for many applications, from social science to bioinformatics. However, learning these representations often requires a large amount of labeled data, which is expensive and time-consuming to obtain for graph-structured data. Existing unsupervised methods, particularly those based on contrastive learning, often rely on complex pretext tasks or computationally intensive subgraph sampling and discrimination. This paper aims to develop a more efficient and effective unsupervised approach for learning graph-level representations that can also be readily adapted for semi-supervised learning.
Methods
The core of the proposed method is Iterative Graph Self-Distillation (IGSD). It's a teacher-student framework where:
- Graph Augmentation: Input graphs are augmented to create different "views" of the same underlying structure.
- Teacher-Student Distillation: A student network learns to predict the representations of augmented graph views generated by a teacher network.
- Teacher Update: The teacher network's parameters are an exponential moving average (EMA) of the student network's parameters. This provides a stable target for the student to learn from.
- Contrastive Loss: The learning objective is based on contrasting these augmented views. The goal is to pull representations of similar (augmented) views of the same graph together and push representations of different graphs apart. This is framed as a self-distillation process where the model learns from itself.
- Semi-Supervised Extension: IGSD is extended to semi-supervised settings by incorporating a supervised contrastive loss, which leverages available labels to guide the learning process.
- Self-Training: For further improvement, a self-training algorithm is used to fine-tune the model. This involves iteratively assigning pseudo-labels to unlabeled data and retraining the model.
Datasets
The paper evaluates IGSD on several standard graph classification datasets:
- Bioinformatics: MUTAG, PTC, NCI1
- Social Networks: COLLAB, IMDB-B, IMDB-M
For semi-supervised molecular property prediction, they use the QM9 dataset, which contains a large number of organic molecules.
Key Insights and Ideas
- Self-Distillation as Regularization: The paper proposes using self-distillation not just for knowledge transfer, but as a strong regularization technique to prevent model collapse and guide graph representation learning, especially in unsupervised settings.
- Avoiding Subgraph Sampling: Unlike many prior contrastive graph learning methods that require sampling subgraphs, IGSD directly contrasts augmented views of entire graphs, simplifying the process and potentially improving efficiency.
- EMA Teacher for Stability: Using an exponential moving average of the student's weights for the teacher provides a stable, yet evolving, target, which is crucial for effective distillation.
- Seamless Semi-Supervised Extension: The framework naturally extends to semi-supervised learning by incorporating supervised contrastive loss, making it versatile.
- Self-Training Boost: The addition of a self-training phase significantly boosts performance, demonstrating the value of leveraging unlabeled data with high-confidence pseudo-labels.
Key Results
- Unsupervised Performance: IGSD achieves competitive or superior performance compared to state-of-the-art unsupervised graph representation learning methods across multiple datasets. For example, on MUTAG, IGSD achieved 90.2% accuracy, outperforming InfoGraph (89.0%) and CMC-Graph (89.7%).
- Semi-Supervised Performance: In semi-supervised graph classification, IGSD with supervised contrastive loss and self-training significantly outperforms baselines like Mean Teachers and InfoGraph*, achieving up to 77.0% accuracy on IMDB-M.
- Molecular Property Prediction: IGSD demonstrates strong performance in semi-supervised molecular property prediction, outperforming baselines in 9 out of 10 tasks on the QM9 dataset.
- Robustness: The method shows robustness to different data augmentation strategies.
Limitations and Future Work
- Data Augmentation Design: While diffusion matrix and random edge removal are used, the paper acknowledges that designing effective graph augmentations is a non-trivial task and that further research into automatically generating optimal views could be beneficial.
- Hyperparameter Sensitivity: While experiments are conducted, the paper doesn't deeply explore the sensitivity of IGSD to all hyperparameters across all tasks.
- Future Work: The authors plan to apply IGSD to other graph learning tasks and investigate automatic view generation strategies. They also aim to explore generative view creation.
Summary updated