Generative and Contrastive Paradigms Are Complementary for Graph Self-Supervised Learning
Authors:
- 13 May 2024
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 3364-3378
Abstract
For graph self-supervised learning (GSSL), masked autoencoder (MAE) follows the generative paradigm and learns to reconstruct masked graph edges or node features while contrastive learning (CL) maximizes the similarity between augmented views of the same graph. Existing works utilize MAE and CL separately but we observe that the MAE and CL paradigms are complementary and propose the graph contrastive masked autoencoder (GCMAE) framework to unify them. Specifically, by focusing on local edges or node features, MAE cannot capture global information of the graph and is sensitive to particular edges and features. On the contrary, CL excels in extracting global information because it considers the relation between graphs. As such, we equip GCMAE with an MAE branch and a CL branch, and the two branches share a common encoder, which allows the MAE branch to exploit the global information extracted by the CL branch. To force GCMAE to capture global graph structures, we train it to reconstruct the entire adjacency matrix instead of only the masked edges as in existing works. Moreover, a discrimination loss is proposed for feature reconstruction, which improves the disparity between node embeddings rather than reducing the reconstruction error to tackle the feature smoothing problem of MAE. We evaluate GCMAE on four popular graph tasks (i.e., node classification, node clustering, link prediction, and graph classification) and compare it with 14 state-of-the-art baselines. The results show that GCMAE consistently provides good accuracy across these tasks, and the maximum accuracy improvement is up to 3.2% compared with the best-performing baseline.Keywords
All Related Versions
Funding Information
- National Key R&D Program of China (2023YFB2703600)
This publication has 53 references indexed in Scilit:
- Understanding Masked Image Modeling via Learning Occlusion Invariant Feature2023
- Masked Feature Prediction for Self-Supervised Visual Pre-Training2022
- Attentive Knowledge-aware Graph Convolutional Networks with Collaborative Guidance for Personalized Recommendation2022
- Graph Clustering via Variational Graph EmbeddingPattern Recognition, 2022
- Search to aggregate neighborhood for graph neural network2021
- Contrastive Study of In Situ Sensing and Swabbing Detection Based on SERS-Active Gold Nanobush–PDMS Hybrid FilmJournal of Agricultural and Food Chemistry, 2021
- A hybrid method of recurrent neural network and graph neural network for next-period prescription predictionInternational Journal of Machine Learning and Cybernetics, 2020
- Momentum Contrast for Unsupervised Visual Representation Learning2020
- PSGraph: How Tencent trains extremely large-scale graphs with Spark?2020
- The ubiquity of large graphs and surprising challenges of graph processing: extended surveyThe VLDB Journal, 2019