arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.10643cs.LGcs.AIstat.ML
收藏

基于神经图剪枝的精确子图相似度计算

Towards Accurate Subgraph Similarity Computation via Neural Graph Pruning

Meta;Tufts University(塔夫茨大学);Virginia Tech(弗吉尼亚理工大学)

Linfeng Liu, Xu Han, Dawei Zhou, Li-Ping Liu

摘要:

子图相似性搜索是图搜索的核心问题之一,它涉及到目标图是否近似包含查询图。这个问题最近被神经方法所触及。然而,目前的神经方法不考虑修剪目标图,虽然修剪是至关重要的,在传统的计算子图的相似性。在神经方法中应用修剪的一个障碍是{修剪的离散性}。在这项工作中,我们将图修剪转换为节点重新标记的问题,然后将其放松为可微问题。基于这一思想,我们进一步设计了一种新的神经网络来近似一种类型的子图距离:子图编辑距离(SED)。{In特别地,我们使用神经结构构建修剪组件,并且整个模型可以端到端地优化。在模型的设计中,我们提出了一个注意力机制来利用查询图的信息,指导目标图的修剪。此外,我们开发了一个多头修剪策略,使模型可以更好地探索多种方式修剪目标图。该模型在七个基准数据集上建立了新的最先进的结果。对该模型的分析表明,该模型可以合理地修剪目标图进行SED计算。我们算法的实现在我们的Github repo上发布:https://github.com/tufts-ml/Prune4SED。

英文摘要:

Subgraph similarity search, one of the core problems in graph search, concerns whether a target graph approximately contains a query graph. The problem is recently touched by neural methods. However, current neural methods do not consider pruning the target graph, though pruning is critically important in traditional calculations of subgraph similarities. One obstacle to applying pruning in neural methods is {the discrete property of pruning}. In this work, we convert graph pruning to a problem of node relabeling and then relax it to a differentiable problem. Based on this idea, we further design a novel neural network to approximate a type of subgraph distance: the subgraph edit distance (SED). {In particular, we construct the pruning component using a neural structure, and the entire model can be optimized end-to-end.} In the design of the model, we propose an attention mechanism to leverage the information about the query graph and guide the pruning of the target graph. Moreover, we develop a multi-head pruning strategy such that the model can better explore multiple ways of pruning the target graph. The proposed model establishes new state-of-the-art results across seven benchmark datasets. Extensive analysis of the model indicates that the proposed model can reasonably prune the target graph for SED computation. The implementation of our algorithm is released at our Github repo: https://github.com/tufts-ml/Prune4SED.

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

↑