arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2006.16551cs.DB
收藏

用于图相似度计算的层次图匹配网络

Hierarchical Graph Matching Network for Graph Similarity Computation

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

摘要:

图编辑距离/相似性被广泛应用于许多任务中,例如图相似性搜索、二元函数分析和图聚类。然而,计算两个图之间的精确图编辑距离(GED)或最大公共子图(MCS)是已知的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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑