PolyGraph Discrepancy: a classifier-based metric for graph generation

Markus Krimmel, Philip Hartout, Karsten Borgwardt, Dexiong Chen
10/7/2025
cs.LGstat.ML

Official code: BorgwardtLab/polygraph-benchmark (13 stars, BSD-3-Clause, last commit 2026-03-26).

Abstract

Existing methods for evaluating graph generative models primarily rely on Maximum Mean Discrepancy (MMD) metrics based on graph descriptors. While these metrics can rank generative models, they do not provide an absolute measure of performance. Their values are also highly sensitive to extrinsic parameters, namely kernel and descriptor parametrization, making them incomparable across different graph descriptors. We introduce PolyGraph Discrepancy (PGD), a new evaluation framework that addresses these limitations. It approximates the Jensen-Shannon distance of graph distributions by fitting binary classifiers to distinguish between real and generated graphs, featurized by these descriptors. The data log-likelihood of these classifiers approximates a variational lower bound on the JS distance between the two distributions. Resulting metrics are constrained to the unit interval [0,1] and are comparable across different graph descriptors. We further derive a theoretically grounded summary metric that combines these individual metrics to provide a maximally tight lower bound on the distance for the given descriptors. Thorough experiments demonstrate that PGD provides a more robust and insightful evaluation compared to MMD metrics. The PolyGraph framework for benchmarking graph generative models is made publicly available at https://github.com/BorgwardtLab/polygraph-benchmark.

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause

Benchmarking framework for graph generative models (ICLR 2026)

130TeX, ShellAug 5, 20256 months agoBSD-3-Clause
benchmarkinggraph-generationgraph-neural-networks

Similar Papers

Cite this paper

@article{krimmel2025polygraph,
  title  = {PolyGraph Discrepancy: a classifier-based metric for graph generation},
  author = {Markus Krimmel and Philip Hartout and Karsten Borgwardt and Dexiong Chen},
  year   = {2025},
  eprint = {2510.06122},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.06122v1}
}

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/2510.06122.svg)](https://codeofpaper.com/paper/2510.06122)

Discussion