Graph Edit Distance with General Costs Using Neural Set Divergence

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Jain, Eeshaan, Roy, Indradyumna, Meher, Saswat, Chakrabarti, Soumen, De, Abir
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866913571106979840
author Jain, Eeshaan
Roy, Indradyumna
Meher, Saswat
Chakrabarti, Soumen
De, Abir
author_facet Jain, Eeshaan
Roy, Indradyumna
Meher, Saswat
Chakrabarti, Soumen
De, Abir
contents Graph Edit Distance (GED) measures the (dis-)similarity between two given graphs, in terms of the minimum-cost edit sequence that transforms one graph to the other. However, the exact computation of GED is NP-Hard, which has recently motivated the design of neural methods for GED estimation. However, they do not explicitly account for edit operations with different costs. In response, we propose GRAPHEDX, a neural GED estimator that can work with general costs specified for the four edit operations, viz., edge deletion, edge addition, node deletion and node addition. We first present GED as a quadratic assignment problem (QAP) that incorporates these four costs. Then, we represent each graph as a set of node and edge embeddings and use them to design a family of neural set divergence surrogates. We replace the QAP terms corresponding to each operation with their surrogates. Computing such neural set divergence require aligning nodes and edges of the two graphs. We learn these alignments using a Gumbel-Sinkhorn permutation generator, additionally ensuring that the node and edge alignments are consistent with each other. Moreover, these alignments are cognizant of both the presence and absence of edges between node-pairs. Experiments on several datasets, under a variety of edit cost settings, show that GRAPHEDX consistently outperforms state-of-the-art methods and heuristics in terms of prediction error.
format Preprint
id arxiv_https___arxiv_org_abs_2409_17687
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Graph Edit Distance with General Costs Using Neural Set Divergence
Jain, Eeshaan
Roy, Indradyumna
Meher, Saswat
Chakrabarti, Soumen
De, Abir
Machine Learning
Artificial Intelligence
Graph Edit Distance (GED) measures the (dis-)similarity between two given graphs, in terms of the minimum-cost edit sequence that transforms one graph to the other. However, the exact computation of GED is NP-Hard, which has recently motivated the design of neural methods for GED estimation. However, they do not explicitly account for edit operations with different costs. In response, we propose GRAPHEDX, a neural GED estimator that can work with general costs specified for the four edit operations, viz., edge deletion, edge addition, node deletion and node addition. We first present GED as a quadratic assignment problem (QAP) that incorporates these four costs. Then, we represent each graph as a set of node and edge embeddings and use them to design a family of neural set divergence surrogates. We replace the QAP terms corresponding to each operation with their surrogates. Computing such neural set divergence require aligning nodes and edges of the two graphs. We learn these alignments using a Gumbel-Sinkhorn permutation generator, additionally ensuring that the node and edge alignments are consistent with each other. Moreover, these alignments are cognizant of both the presence and absence of edges between node-pairs. Experiments on several datasets, under a variety of edit cost settings, show that GRAPHEDX consistently outperforms state-of-the-art methods and heuristics in terms of prediction error.
title Graph Edit Distance with General Costs Using Neural Set Divergence
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2409.17687