Graph matching is one of the most significant graph analytic tasks in practice, which aims to find the node correspondence across different graphs. Most existing approaches rely on adjacency matrices or node embeddings when matching graphs, whose performances are often sub-optimal because of not fully leveraging the multi-modal information hidden in graphs, such as node attributes, subgraph structures, etc. In this study, we propose a novel and effective graph matching method based on a differentiable hierarchical optimal transport (HOT) framework, called DHOT-GM. Essentially, our method represents each graph as a set of relational matrices corresponding to the information of different modalities. Given two graphs, we enumerate all relational matrix pairs and obtain their matching results, and accordingly, infer the node correspondence by the weighted averaging of the matching results. This method can be implemented as computing the HOT distance between the two graphs -- each matching result is an optimal transport plan associated with the Gromov-Wasserstein (GW) distance between two relational matrices, and the weights of all matching results are the elements of an upper-level optimal transport plan defined on the matrix sets. We propose a bi-level optimization algorithm to compute the HOT distance in a differentiable way, making the significance of the relational matrices adjustable. Experiments on various graph matching tasks demonstrate the superiority and robustness of our method compared to state-of-the-art approaches.
翻译:图匹配是实践中最重要的图分析任务之一,旨在寻找不同图之间的节点对应关系。现有方法大多在匹配图时依赖邻接矩阵或节点嵌入,由于未能充分利用图中隐藏的多模态信息(如节点属性、子图结构等),其性能往往次优。本研究提出一种基于可微分层次最优传输(HOT)框架的新型高效图匹配方法,名为DHOT-GM。本质上,我们的方法将每个图表示为对应不同模态信息的关系矩阵集合。给定两个图,我们枚举所有关系矩阵对并获取其匹配结果,进而通过加权平均匹配结果推断节点对应关系。该方法可被实现为计算两图间的HOT距离——每个匹配结果对应两个关系矩阵间的Gromov-Wasserstein(GW)距离的最优传输方案,而所有匹配结果的权重则为定义在矩阵集合上的上层最优传输方案的矩阵元素。我们提出一种双层优化算法以可微方式计算HOT距离,使得关系矩阵的可调节权重具有显著性。在多种图匹配任务上的实验表明,相较于最先进的方法,我们的方法展现出优越的鲁棒性和性能。