GEDAN: Learning the Edit Costs for Graph Edit Distance

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Leonardi, Francesco, Orsi, Markus, Reymond, Jean-Louis, Riesen, Kaspar
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866908845067993088
author Leonardi, Francesco
Orsi, Markus
Reymond, Jean-Louis
Riesen, Kaspar
author_facet Leonardi, Francesco
Orsi, Markus
Reymond, Jean-Louis
Riesen, Kaspar
contents Graph Edit Distance (GED) is defined as the minimum cost transformation of one graph into another and is a widely adopted metric for measuring the dissimilarity between graphs. The major problem of GED is that its computation is NP-hard, which has in turn led to the development of various approximation methods, including approaches based on neural networks (NN). However, most NN methods assume a unit cost for edit operations -- a restrictive and often unrealistic simplification, since topological and functional distances rarely coincide in real-world data. In this paper, we propose a fully end-to-end Graph Neural Network framework for learning the edit costs for GED, at a fine-grained level, aligning topological and task-specific similarity. Our method combines an unsupervised self-organizing mechanism for GED approximation with a Generalized Additive Model that flexibly learns contextualized edit costs. Experiments demonstrate that our approach overcomes the limitations of non-end-to-end methods, yielding directly interpretable graph matchings, uncovering meaningful structures in complex graphs, and showing strong applicability to domains such as molecular analysis.
format Preprint
id arxiv_https___arxiv_org_abs_2508_03111
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle GEDAN: Learning the Edit Costs for Graph Edit Distance
Leonardi, Francesco
Orsi, Markus
Reymond, Jean-Louis
Riesen, Kaspar
Machine Learning
Artificial Intelligence
Graph Edit Distance (GED) is defined as the minimum cost transformation of one graph into another and is a widely adopted metric for measuring the dissimilarity between graphs. The major problem of GED is that its computation is NP-hard, which has in turn led to the development of various approximation methods, including approaches based on neural networks (NN). However, most NN methods assume a unit cost for edit operations -- a restrictive and often unrealistic simplification, since topological and functional distances rarely coincide in real-world data. In this paper, we propose a fully end-to-end Graph Neural Network framework for learning the edit costs for GED, at a fine-grained level, aligning topological and task-specific similarity. Our method combines an unsupervised self-organizing mechanism for GED approximation with a Generalized Additive Model that flexibly learns contextualized edit costs. Experiments demonstrate that our approach overcomes the limitations of non-end-to-end methods, yielding directly interpretable graph matchings, uncovering meaningful structures in complex graphs, and showing strong applicability to domains such as molecular analysis.
title GEDAN: Learning the Edit Costs for Graph Edit Distance
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2508.03111