Skip to main content
QUICK REVIEW

[Paper Review] MGAE: Masked Autoencoders for Self-Supervised Learning on Graphs

Qiaoyu Tan, Ninghao Liu|arXiv (Cornell University)|Jan 7, 2022
Advanced Graph Neural NetworksComputer Science17 citations
TL;DR

MGAE proposes a masked graph autoencoder framework that reconstructs 70% of randomly masked edges using a GNN encoder on the remaining 30% and a cross-correlation decoder to capture node pair relationships, achieving state-of-the-art performance on link prediction and node classification across Planetoid and OGB benchmarks.

ABSTRACT

We introduce a novel masked graph autoencoder (MGAE) framework to perform effective learning on graph structure data. Taking insights from self-supervised learning, we randomly mask a large proportion of edges and try to reconstruct these missing edges during training. MGAE has two core designs. First, we find that masking a high ratio of the input graph structure, e.g., $70\%$, yields a nontrivial and meaningful self-supervisory task that benefits downstream applications. Second, we employ a graph neural network (GNN) as an encoder to perform message propagation on the partially-masked graph. To reconstruct the large number of masked edges, a tailored cross-correlation decoder is proposed. It could capture the cross-correlation between the head and tail nodes of anchor edge in multi-granularity. Coupling these two designs enables MGAE to be trained efficiently and effectively. Extensive experiments on multiple open datasets (Planetoid and OGB benchmarks) demonstrate that MGAE generally performs better than state-of-the-art unsupervised learning competitors on link prediction and node classification.

Motivation & Objective

  • To address the limitations of traditional graph autoencoders and self-supervised learning methods in handling high masking ratios for effective unsupervised representation learning.
  • To investigate whether masking a high proportion of edges (e.g., 70%) can yield a meaningful self-supervisory task for graph representation learning.
  • To design a robust and efficient decoder that effectively reconstructs masked edges using latent representations from a partially masked graph.
  • To evaluate the effectiveness of MGAE on standard benchmarks for link prediction and node classification, comparing against state-of-the-art unsupervised and self-supervised methods.

Proposed method

  • Randomly mask a high ratio of edges (up to 70%) in the input graph to create a self-supervised pretext task.
  • Use a graph neural network (GNN) encoder to learn node representations on the partially masked graph, excluding masked edges during message passing.
  • Propose a tailored cross-correlation decoder that computes the correlation between the latent representations of the head and tail nodes of each masked edge.
  • Train the model end-to-end to reconstruct the masked edges using a binary cross-entropy loss on the predicted edge probabilities.
  • Apply two masking strategies: undirected masking (for symmetric graphs) and directed masking (for asymmetric edge reconstruction).
  • Optimize the model using standard backpropagation and Adam optimizer, with early stopping based on validation performance.

Experimental results

Research questions

  • RQ1Can a high masking ratio (e.g., 70%) of edges in a graph still provide a meaningful self-supervisory signal for representation learning?
  • RQ2How does the performance of graph autoencoders change when trained on a partially masked graph structure compared to a complete one?
  • RQ3What is the impact of the decoder architecture on the effectiveness of edge reconstruction in masked graph autoencoders?
  • RQ4How does MGAE compare to state-of-the-art self-supervised and unsupervised graph learning methods on standard benchmarks?
  • RQ5Does the proposed cross-correlation decoder enable better generalization and robustness under high masking ratios compared to simpler decoders?

Key findings

  • MGAE achieves state-of-the-art performance on link prediction across all Planetoid and OGB benchmarks, outperforming methods like DGI, GIC, and SelfTask-GNN.
  • On the PubMed dataset, MGAE achieves 86.91% F1-score in link prediction, surpassing the best baseline (GIC at 85.99%) and outperforming SelfTask-GNN significantly at high masking ratios.
  • For node classification, MGAE achieves 72.02% accuracy on the ogbl-ddi dataset, outperforming all baselines including DGI and GIC, and showing consistent gains on large-scale datasets like ogbn-arxiv and ogbn-proteins.
  • Sensitivity analysis shows MGAE's performance peaks at a masking ratio of 0.7 and remains stable across 0.5–0.7, demonstrating robustness to high masking.
  • The cross-correlation decoder significantly improves performance over simpler MLP-based decoders, especially at high masking ratios (e.g., 0.7), where the performance gap with SelfTask-GNN is most pronounced.
  • MGAE outperforms classical graph autoencoders (GCN, GraphSage, ARGVA) on both link prediction and node classification, confirming its effectiveness as a viable alternative to standard autoencoders.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.