基于神经集散度的通用代价图编辑距离
Graph Edit Distance with General Costs Using Neural Set Divergence
AI总结:
针对图编辑距离计算NP难且现有神经方法未考虑不同编辑代价的问题,提出GRAPHEDX,通过神经集散度替代二次分配项并学习一致对齐,在多种代价设置下显著降低预测误差。
摘要:
图编辑距离(GED)衡量两个给定图之间的(不)相似性,以将一个图转换为另一个图的最小代价编辑序列来表示。然而,GED的精确计算是NP难的,这最近促使了用于GED估计的神经方法的设计。然而,这些方法并未明确考虑具有不同代价的编辑操作。为此,我们提出了GRAPHEDX,一种神经GED估计器,它能够处理为四种编辑操作(即边删除、边添加、节点删除和节点添加)指定的通用代价。我们首先将GED表示为包含这四种代价的二次分配问题(QAP)。然后,我们将每个图表示为节点和边嵌入的集合,并利用它们设计了一族神经集散度替代函数。我们用替代函数替换对应于每个操作的QAP项。计算这种神经集散度需要对两个图的节点和边进行对齐。我们使用Gumbel-Sinkhorn排列生成器学习这些对齐,同时确保节点和边对齐彼此一致。此外,这些对齐能够感知节点对之间边的存在和缺失。在多个数据集上、多种编辑代价设置下的实验表明,GRAPHEDX在预测误差方面始终优于最先进的方法和启发式算法。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。