GEDAN: Learning the Edit Costs for Graph Edit Distance
2508.03111v1
cs.LG, cs.AI
2025-08-09
Авторы:
Francesco Leonardi, Markus Orsi, Jean-Louis Reymond, Kaspar Riesen
Резюме на русском
Графовая редакционная дистанция (GED) является важной метрикой для оценки расстояния между двумя графами. Однако поиск GED является NP-трудной задачей, что приводит к развитию методов приближения, включая нейронные сети (NN). Большинство таких подходов упрощают задачу, рассматривая единичные цены на редактирование, что не соответствует реальному миру. Мы предлагаем GEDAN — новую модель графовых нейронных сетей, которая учитывает контекст и учитывает конкретные цены на редактирование. Она обучается как с учителем, так и без него, используя механизм самоорганизации. Главным компонентом является модель генеральных аддитивных моделей (GAM), которая обеспечивает гибкость и прозрачность в определении цен на редактирование. Наши эксперименты показали, что GEDAN демонстрирует результаты, сравнимые с лучшими методами, при этом повышая адаптивность и понимание структур графов. Это делает GEDAN применимым в сложных задачах, таких как анализ молекул и выявление структурных паттернов.
Abstract
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). Most of these
NN-based models simplify the problem of GED by assuming unit-cost edit
operations, a rather unrealistic constraint in real-world applications. In this
work, we present a novel Graph Neural Network framework that approximates GED
using both supervised and unsupervised training. In the unsupervised setting,
it employs a gradient-only self-organizing mechanism that enables optimization
without ground-truth distances. Moreover, a core component of our architecture
is the integration of a Generalized Additive Model, which allows the flexible
and interpretable learning of context-aware edit costs. Experimental results
show that the proposed method achieves similar results as state-of-the-art
reference methods, yet significantly improves both adaptability and
interpretability. That is, the learned cost function offers insights into
complex graph structures, making it particularly valuable in domains such as
molecular analysis and structural pattern discovery.
Ссылки и действия
Дополнительные ресурсы: