论文标题

用于图形相似性计算的分层图匹配网络

Hierarchical Graph Matching Network for Graph Similarity Computation

论文作者

Xiu, Haibo, Yan, Xiao, Wang, Xiaoqiang, Cheng, James, Cao, Lei

论文摘要

图表编辑距离 /相似性在许多任务中广泛使用,例如图形相似性搜索,二进制函数分析和图形群集。但是,已知在两个图之间计算确切的图表编辑距离(GED)或最大常见子图(MC)是NP-固定的。在本文中,我们提出了分层图匹配网络(HGMN),该网络学会从数据计算图形相似性。 HGMN的动机是,当两个类似的图被压缩到更紧凑的图中时,它们也应该相似。 HGMN利用层次聚类的多个阶段将图形整理成依次更紧凑的图。在每个阶段,都采用了地球移动距离(EMD),以在两个图中获得节点之间的一对一映射(在其上计算出图相似性),并且还从两个图中的节点的嵌入式中得出了相关矩阵。来自各个阶段的相关矩阵都用作卷积神经网络(CNN)的输入,该输入通过最小化平方误差(MSE)来预测图形相似性。在不同域和4个性能指标中的4个数据集上进行的实验评估表明,HGMN在图形相似性近似的准确性中始终优于现有基准。

Graph edit distance / similarity is widely used in many tasks, such as graph similarity search, binary function analysis, and graph clustering. However, computing the exact graph edit distance (GED) or maximum common subgraph (MCS) between two graphs is known to be NP-hard. In this paper, we propose the hierarchical graph matching network (HGMN), which learns to compute graph similarity from data. HGMN is motivated by the observation that two similar graphs should also be similar when they are compressed into more compact graphs. HGMN utilizes multiple stages of hierarchical clustering to organize a graph into successively more compact graphs. At each stage, the earth mover distance (EMD) is adopted to obtain a one-to-one mapping between the nodes in two graphs (on which graph similarity is to be computed), and a correlation matrix is also derived from the embeddings of the nodes in the two graphs. The correlation matrices from all stages are used as input for a convolutional neural network (CNN), which is trained to predict graph similarity by minimizing the mean squared error (MSE). Experimental evaluation on 4 datasets in different domains and 4 performance metrics shows that HGMN consistently outperforms existing baselines in the accuracy of graph similarity approximation.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源