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

Graph Generative Models Evaluation with Masked Autoencoder

Chengen Wang, Murat Kantarcioglu · DOI

Introduction

Evaluating the quality of generative models is a cornerstone of progress in machine learning. In the domain of Computer Vision, the Fréchet Inception Distance (FID) has become the standard metric for assessing the fidelity and diversity of generated images. This is possible because the Inception network, trained on millions of natural images, serves as a reliable, high-quality feature extractor.

However, evaluating Graph Generative Models (GGMs) remains a significant challenge. Graphs are inherently more complex than images; they vary in size, lack a fixed grid structure, and contain both topological information and node-level attributes. Traditional evaluation methods often rely on basic structural statistics, such as degree distributions or clustering coefficients, which fail to capture the high-dimensional nuances of complex networks. Recent attempts to use deep learning for evaluation have relied on random neural networks or contrastive learning, but these often lack the sensitivity required to distinguish between high-quality and mediocre generations. This paper proposes a new paradigm: using Graph Masked Autoencoders (GMAE) as a robust feature extractor for graph evaluation.

The Problem: The Search for a Graph "Inception" Network

In image generation, we have a "gold standard" feature extractor. In graph generation, we do not. Current evaluation pipelines typically follow a two-step process: first, extract features from both real and generated graphs using a Graph Neural Network (GNN); second, compute a distance metric (like Fréchet Distance) between these feature distributions.

The bottleneck lies in the first step. If the feature extractor is "dumb" (like a randomly initialized GNN) or inconsistent (like some contrastive learning models), the resulting metrics will not accurately reflect the quality of the generated graphs. There is a critical need for a feature extractor that understands the deep dependencies within graph data across different scales and domains.

Methodology: Learning Through Reconstruction

The authors introduce a novel evaluation framework that utilizes a Graph Masked Autoencoder (GMAE). Unlike supervised models that require labels, or contrastive models that compare entire graphs, GMAE is trained using a self-supervised reconstruction task.

Self-Supervised Masking

In the GMAE training phase, a portion of the graph’s node attributes or edges is masked (hidden). The model is then tasked with reconstructing these missing elements based on the remaining structure. This "pre-text" task forces the GNN to develop a sophisticated understanding of how local node features relate to global topology. By learning to fill in the blanks, the GMAE captures the underlying distribution of the graph data more effectively than a model simply looking at the graph as a single point in space.

The Evaluation Pipeline

Once the GMAE is trained, its internal layers serve as the feature extractor. The framework then applies standard generative metrics to these features:

  • Fidelity Metrics: Fréchet Distance (FD) and Maximum Mean Discrepancy (MMD) measure how closely the generated distribution matches the real distribution.
  • Diversity Metrics: Precision & Recall (P&R) and Density & Coverage (D&C) are used to detect "mode collapse," ensuring the generator isn't just outputting the same few graph structures repeatedly.

To validate the effectiveness of this approach, the authors use Spearman’s rank correlation. They manually degrade (perturb) real graphs by specific increments and check if the GMAE-based metrics track these changes linearly. A high correlation indicates a sensitive and reliable metric.

Experimental Setup and Datasets

The methodology was tested across three distinct benchmarks to ensure generalizability:

  1. REDDIT-MULTI-5K: Representing social network structures and interactions.
  2. DBLP_v1: Representing academic citation and collaboration patterns.
  3. Proteins: Representing biological structures where local geometry is vital.

The datasets included a wide range of graph sizes, from 3 to 1,000 nodes, providing a rigorous test for the GMAE’s ability to handle varying scales.

Key Insights

Masking vs. Contrastive Learning

A primary finding of the research is that reconstruction-based learning (masking) is superior to contrastive learning for evaluation purposes. While contrastive learning (e.g., GraphCL) focuses on distinguishing one graph from another, masking forces the model to learn the structural logic of the graph itself. This leads to features that are far more sensitive to subtle topological errors in generated data.

Robustness and Sensitivity

The GMAE approach (referred to in the study as graphmae) significantly outperformed baselines like GIN-Random and GraphCL. In the REDDIT-MULTI-5K tests, GMAE-based metrics showed much higher Spearman correlation scores with lower variance, meaning they are more likely to give a "correct" assessment of model quality across different runs.

Fidelity Improvements

For the DBLP dataset, GMAE achieved the highest performance in Fidelity metrics (FD and MMD Linear). It proved particularly adept at identifying "mode dropping," a common failure in generative models where the model fails to capture the full variety of the training data.

Limitations and Future Directions

While GMAE represents a significant step forward, it is not without drawbacks. The performance of the extractor is sensitive to the masking rate (the percentage of the graph hidden during training), and finding a universal masking rate for all graph types remains an open question. Additionally, training a GMAE is more computationally intensive than using a random GNN, which may be a consideration for researchers with limited resources.

The authors conclude that because no single metric or extractor is perfect across every domain, the future of GGM evaluation likely lies in ensembles. Combining GMAE with other deep-learning-based extractors could provide a more holistic and foolproof "Inception-like" standard for the graph community.

Conclusion

By shifting the focus from shallow statistics to deep, self-supervised representations, the GMAE framework provides a more accurate and reliable way to evaluate graph generative models. This work bridges the gap between graph theory and generative modeling, offering a path toward more sophisticated and realistic synthetic graph generation.

Summary updated

BibTeX
@inproceedings{wang2025graph,
  author = {Chengen Wang and Murat Kantarcioglu},
  title = {{Graph Generative Models Evaluation with Masked Autoencoder}},
  booktitle = {PAKDD (Workshops)},
  year = {2025},
  doi = {10.1007/978-981-96-8197-6\_10},
}
Figure