Gelato: Graph Edit Distance via Autoregressive Neural Combinatorial Optimization

Abstract

The graph edit distance (GED) is a widely used graph dissimilarity measure that quantifies the minimum cost of the edit operations required to transform one graph into another. Computing it, however, involves solving the associated NP-hard graph matching problem. Indeed, exact solvers already struggle to handle graphs with more than 20 nodes and classical heuristics frequently produce suboptimal solutions. This motivates the development of machine-learning methods that exploit recurring patterns in problem instances to produce high-quality approximate solutions. In this work, we introduce Gelato, a graph neural network model that constructs GED solutions incrementally by predicting a pair of nodes to be matched at each step. By conditioning each prediction autoregressively on the previous choices, it is able to capture complex structural dependencies. Empirically, Gelato achieves state-of-the-art results, even when generalizing to graphs larger than the ones seen during training, and runs orders of magnitude faster than competing ML-based methods. Moreover, it remains effective even under limited or noisy supervision, alleviating the demand for costly ground-truth generation.

Cite

Text

Pellizzoni et al. "Gelato: Graph Edit Distance via Autoregressive Neural Combinatorial Optimization." International Conference on Learning Representations, 2026.

Markdown

[Pellizzoni et al. "Gelato: Graph Edit Distance via Autoregressive Neural Combinatorial Optimization." International Conference on Learning Representations, 2026.](https://mlanthology.org/iclr/2026/pellizzoni2026iclr-gelato/)

BibTeX

@inproceedings{pellizzoni2026iclr-gelato,
  title     = {{Gelato: Graph Edit Distance via Autoregressive Neural Combinatorial Optimization}},
  author    = {Pellizzoni, Paolo and Schulz, Till Hendrik and Borgwardt, Karsten},
  booktitle = {International Conference on Learning Representations},
  year      = {2026},
  url       = {https://mlanthology.org/iclr/2026/pellizzoni2026iclr-gelato/}
}