NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

GraphMAE2: A Decoding-Enhanced Masked Self-Supervised Graph Learner

Zhenyu Hou, Yufei He, Yukuo Cen, Xiao Liu, Yuxiao Dong, Evgeny Kharlamov, Jie Tang · DOI

Abstract

Graph self-supervised learning (SSL) has seen significant progress with generative masked autoencoders. However, these models often struggle with noisy and non-discriminative raw graph features. GraphMAE2 introduces a decoding-enhanced framework featuring multi-view random re-masking and latent representation prediction to improve robustness and capture high-level semantics. Evaluated on massive datasets like ogbn-Papers100M, GraphMAE2 sets new state-of-the-art benchmarks for graph representation learning, demonstrating that regularizing the decoding process is key to learning superior embeddings.

Introduction

In graph self-supervised learning (SSL), generative models like masked autoencoders have gained popularity by training networks to reconstruct hidden (masked) node features. However, a critical weakness exists: unlike the structured pixels of an image or the semantic units of a sentence, raw graph features—such as bag-of-words vectors—are often noisy and lack discriminability.

When a model over-optimizes for reconstructing these imperfect raw features, it risks overfitting to noise rather than learning high-level structural semantics. GraphMAE2 addresses this by making feature reconstruction more robust and informative through advanced decoding regularization strategies.

Proposed Method

GraphMAE2 builds upon the original GraphMAE framework by introducing two primary "decoding-enhanced" strategies designed to force the model to learn more meaningful representations.

1. Multi-view Random Re-mask Decoding

Unlike the original GraphMAE, which replaced masked nodes with a fixed token, GraphMAE2 generates multiple "views" by randomly re-masking the encoded embeddings several times. The decoder must reconstruct the original features from these different corrupted versions. This prevents the model from memorizing specific input patterns and forces it to rely heavily on neighborhood context.

2. Latent Representation Prediction

To move beyond noisy raw features, GraphMAE2 adds a second objective: predicting the "latent" (hidden) representation of a node. It utilizes a "target generator" (a teacher model updated via Exponential Moving Average) to produce high-level targets from unmasked graphs. The student model then attempts to predict these latent targets for masked nodes, providing a smoother and more semantic learning signal.

The GraphMAE2 architecture featuring multi-view random re-masking and latent target prediction.

3. Scaling via Local Clustering

To handle billion-scale graphs, the authors employ PPR-Nibble, a local clustering algorithm, to sample densely connected subgraphs. This ensures the model maintains sufficient local structural information for meaningful feature reconstruction during mini-batch training on massive datasets.

Experimental Setup

The authors evaluated GraphMAE2 across a diverse range of benchmarks:

  • Small-scale: Classic citation networks including Cora, Citeseer, and PubMed.
  • Large-scale: ogbn-Arxiv, ogbn-Products, MAG-Scholar-F, and the massive ogbn-Papers100M (111 million nodes and 1.6 billion edges).

Key Results and Insights

GraphMAE2 consistently outperformed both contrastive (e.g., BGRL, GRACE) and generative (GraphMAE) baselines across all tested scales.

Performance on Large Graphs

On the ogbn-Papers100M dataset, GraphMAE2 achieved a 2.45% absolute improvement over previous state-of-the-art SSL methods. In several instances, the representations learned by GraphMAE2 allowed a simple linear classifier to outperform fully supervised Graph Neural Networks (GNNs).

Accuracy comparison on ogbn-Products and ogbn-Papers100M datasets.

The Impact of Feature Quality

A key insight from the study was the realization that generative graph models are more vulnerable to feature noise than supervised models. By compressing features with PCA, the authors demonstrated that as features become less discriminative, standard masked autoencoders lose significant performance. GraphMAE2’s decoding stage acts as a regularization bottleneck; making the reconstruction task harder via re-masking actually results in superior embeddings.

Conclusion

GraphMAE2 demonstrates that the decoding process in masked autoencoders is not just a path back to the input, but a vital stage for regularization. By shifting focus toward latent representation prediction and multi-view decoding, the model achieves state-of-the-art performance on massive real-world graphs. Future work may explore explicitly incorporating structural (edge) reconstruction to further enhance the model's understanding of graph topology.

Summary updated

BibTeX
@inproceedings{hou2023graphmae,
  author = {Zhenyu Hou and Yufei He and Yukuo Cen and Xiao Liu and Yuxiao Dong and Evgeny Kharlamov and Jie Tang},
  title = {{GraphMAE2: A Decoding-Enhanced Masked Self-Supervised Graph Learner}},
  booktitle = {The Web Conference},
  year = {2023},
  doi = {10.1145/3543507.3583379},
}
Figure