MATA*:结合可学习节点匹配与A*算法的近似图编辑距离计算
MATA*: Combining Learnable Node Matching with A* Algorithm for Approximate Graph Edit Distance Computation
AI总结:
针对精确图编辑距离计算复杂度高、现有学习法精度不足且无法还原编辑路径的问题,提出结合结构增强GNN节点匹配与A*算法的混合方法MATA*,在多类方法中性能最优且可扩展至大规模图。
摘要:
图编辑距离(Graph Edit Distance, GED)是一种通用的、与领域无关的图相似度度量指标,广泛应用于图搜索或检索任务。然而,精确的GED计算已被证明是NP完全问题。例如,被广泛使用的A*算法需要探索整个搜索空间以找到最优解,这不可避免地存在可扩展性问题。基于学习的方法利用图表征技术,将GED计算建模为回归任务来学习GED,这类方法无法还原编辑路径,且会导致GED近似结果不准确(即预测的GED小于精确值)。为此,本文提出了一种数据驱动的混合方法MATA*,用于近似GED计算,该方法基于图神经网络(Graph Neural Networks, GNNs)和A*算法,从学习节点匹配的角度建模,而非直接对GED进行回归。具体而言,考虑到GED计算中结构主导操作(即节点和边的插入/删除)的特性,本文首先设计了一种结构增强GNN,联合学习局部和高阶结构信息以生成节点嵌入,用于节点匹配。其次,通过可微top-k操作生成top-k个候选节点,以实现节点匹配的训练,这符合GED的另一个特性,即存在多个最优节点匹配。第三,得益于候选节点的引入,MATA*仅在有前景的搜索方向上执行,能够高效得到解。最后,大量实验证明了MATA*的优越性,其性能显著优于基于组合搜索的方法、基于学习的方法以及混合方法,并且对大规模图具有良好的可扩展性。
英文摘要:
Graph Edit Distance (GED) is a general and domain-agnostic metric to measure graph similarity, widely used in graph search or retrieving tasks. However, the exact GED computation is known to be NP-complete. For instance, the widely used A* algorithms explore the entire search space to find the optimal solution which inevitably suffers scalability issues. Learning-based methods apply graph representation techniques to learn the GED by formulating a regression task, which can not recover the edit path and lead to inaccurate GED approximation (i.e., the predicted GED is smaller than the exact). To this end, in this work, we present a data-driven hybrid approach MATA* for approximate GED computation based on Graph Neural Networks (GNNs) and A* algorithms, which models from the perspective of learning to match nodes instead of directly regressing GED. Specifically, aware of the structure-dominant operations (i.e.,node and edge insertion/deletion) property in GED computation, a structure-enhanced GNN is firstly designed to jointly learn local and high-order structural information for node embeddings for node matchings. Second, top-k candidate nodes are produced via a differentiable top-k operation to enable the training for node matchings, which is adhering to another property of GED, i.e., multiple optimal node matchings. Third, benefiting from the candidate nodes, MATA* only performs on the promising search directions, reaching the solution efficiently. Finally, extensive experiments show the superiority of MATA* as it significantly outperforms the combinatorial search-based, learning-based and hybrid methods and scales well to large-size graphs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。