What's Behind the Mask: Understanding Masked Graph Modeling for Graph Autoencoders

Jintang Li, Ruofan Wu, Wangbin Sun, Liang Chen, Sheng Tian +4 more
5/20/2022
195 citations
cs.LGcs.AI
contrastive-ssl

Official code: EdisonLeeeee/MaskGAE (90 stars, Python, last commit 2024-10-29). Most starred: pyg-team/pytorch_geometric, a community implementation (24,148 stars, Python, MIT, PyTorch, last commit 2026-10-06, 268× the official stars). 1 more implementation below.

Abstract

The last years have witnessed the emergence of a promising self-supervised learning strategy, referred to as masked autoencoding. However, there is a lack of theoretical understanding of how masking matters on graph autoencoders (GAEs).

Show full abstract

In this work, we present masked graph autoencoder (MaskGAE), a self-supervised learning framework for graph-structured data. Different from standard GAEs, MaskGAE adopts masked graph modeling (MGM) as a principled pretext task - masking a portion of edges and attempting to reconstruct the missing part with partially visible, unmasked graph structure. To understand whether MGM can help GAEs learn better representations, we provide both theoretical and empirical evidence to comprehensively justify the benefits of this pretext task. Theoretically, we establish close connections between GAEs and contrastive learning, showing that MGM significantly improves the self-supervised learning scheme of GAEs. Empirically, we conduct extensive experiments on a variety of graph benchmarks, demonstrating the superiority of MaskGAE over several state-of-the-arts on both link prediction and node classification tasks.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
EdisonLeeeee/MaskGAEOfficial90Python–2024-10-29
pyg-team/pytorch_geometricCommunity24,148PythonMIT2026-10-06

[KDD 2023] What’s Behind the Mask: Understanding Masked Graph Modeling for Graph Autoencoders

907PythonMay 20, 20222 years ago
PyTorchMIT

Graph Neural Network Library for PyTorch

24,1484,107Python, JinjaOct 6, 20171 months agoMIT
deep-learninggeometric-deep-learninggraph-convolutional-networksgraph-neural-networkspytorch

Similar Papers

Cite this paper

@article{li2022whats,
  title  = {What's Behind the Mask: Understanding Masked Graph Modeling for Graph Autoencoders},
  author = {Jintang Li and Ruofan Wu and Wangbin Sun and Liang Chen and Sheng Tian and Liang Zhu and Changhua Meng and Zibin Zheng and Weiqiang Wang},
  year   = {2022},
  eprint = {2205.10053},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.10053}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2205.10053.svg)](https://codeofpaper.com/paper/2205.10053)

Discussion