Beyond MMD: Evaluating Graph Generative Models with Geometric Deep Learning

Salvatore Romano, Marco Grassia, Giuseppe MangioniarXiv 2025 · DOI

Introduction

Generating realistic graphs—ranging from social networks and protein structures to power grids—is a fundamental challenge in modern network science. However, evaluating the quality of a generated graph remains difficult. Currently, the standard metric is Maximum Mean Discrepancy (MMD), which measures distances between distributions of local properties like node degrees or clustering coefficients.

The limitation of MMD is its "shallow" nature; a generative model can match these simple statistics while failing to capture the complex, global structural signatures that define a specific domain. This paper introduces RGM (Representation-aware Graph-generation Model evaluation), a framework using Siamese Networks and Geometric Deep Learning to assess whether generative models truly capture the structural "soul" of a graph.

The RGM Framework

RGM moves beyond manual feature-counting toward learned representations. The architecture utilizes a Siamese Network approach combined with Graph Attention Networks (GAT) to create high-dimensional "embeddings" or mathematical fingerprints of graphs.

Overview of the RGM framework architecture and its training/inference phases.

The training process involves a Triplet Loss function. The model is presented with an anchor graph, a positive sample (same class), and a negative sample (different class). It learns to cluster embeddings of the same class together while pushing different classes apart in the embedding space. Once trained, the RGM acts as a judge: if a generative model claims to produce a "Social" graph, the RGM attempts to classify it. A failure to classify the generated graph correctly indicates that the generator has missed essential structural signatures.

Datasets and Scale

The authors evaluated RGM using a diverse set of real-world and synthetic graphs. Real-world data spanned biological, connectome, infrastructure, internet, and social networks, while synthetic benchmarks included classic models like Barabási-Albert (BA) and Erdős-Rényi (ER).

Statistics of the real-world and synthetic graph datasets used for evaluation.

The dataset includes graphs with up to 35,000 nodes, though generative experiments were limited to 3,000 nodes due to computational constraints.

Key Insights and Results

The study reveals a significant "MMD Illusion." Generative models can achieve low MMD scores for local statistics while the RGM classifier easily identifies the outputs as "fake" or miscategorized.

  • Structural Fidelity: State-of-the-art models like GRAN (auto-regressive) and EDGE (diffusion-based) struggle with global properties such as assortativity and hierarchical organization.
  • Domain Sensitivity: While GRAN performed relatively well on social structures (70% accuracy), both models failed significantly on Connectome data. For instance, 97% of GRAN's "Connectome" graphs were misclassified as "Biological."
  • Metric Disconnect: In the Internet domain, GRAN achieved a high MMD for clustering (0.779), yet RGM still struggled to classify its outputs correctly, highlighting that MMD does not always correlate with structural authenticity.

Conclusion

RGM demonstrates that current graph generative models often fail to produce structurally authentic graphs despite "good" traditional scores. The framework itself is highly effective, achieving near-100% accuracy on synthetic classes and 83%–100% on real-world classes. Future work should focus on reducing the computational cost for larger graphs and potentially using RGM's learned representations as an optimization target for training generative models.

Summary updated

BibTeX
@misc{romano2025beyond,
  author = {Salvatore Romano and Marco Grassia and Giuseppe Mangioni},
  title = {{Beyond MMD: Evaluating Graph Generative Models with Geometric Deep Learning}},
  year = {2025},
  eprint = {2512.14241},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.14241},
}
Figure