通过基于GNN的路径支配嵌入实现高效的精确子图匹配(技术报告)
Efficient Exact Subgraph Matching via GNN-based Path Dominance Embedding (Technical Report)
AI总结:
本文提出基于GNN的路径支配嵌入和组嵌入方法,实现高效精确子图匹配,通过多维索引和剪枝策略提升匹配效率和准确性。
摘要:
经典的精确子图匹配问题返回大规模数据图中与给定查询图同构的子图,该问题在许多实际应用中越来越重要。在本文中,我们提出了一种新颖且有效的图神经网络(GNN)基于路径嵌入框架(GNN-PE),该框架允许在不引入假否定的情况下实现高效的精确子图匹配。与传统的基于GNN的图嵌入不同,仅能产生近似的子图匹配结果,本文中我们精心设计了基于GNN的路径嵌入,使得:如果两个路径(以及路径上的顶点的1跳邻居)有子图关系,它们对应的GNN基于嵌入向量将严格遵循支配关系。通过这种新的路径支配嵌入属性,我们能够基于路径标签/支配嵌入提出有效的剪枝策略,并保证子图匹配中没有假否定。我们构建了多维索引,开发了通过并行遍历图分区索引并应用我们的剪枝方法的高效子图匹配算法。我们还提出了一种基于成本模型的查询计划,通过低查询成本获取查询路径。为了进一步优化我们的GNN-PE方法,我们还提出了一种更高效的基于GNN的路径组嵌入(GNN-PGE)技术,该技术在组路径嵌入向量上进行子图匹配。我们设计了有效的剪枝策略(相对于组路径嵌入),可以显著减少索引遍历过程中的搜索空间。通过广泛的实验,我们确认了我们提出的GNN-PE和GNN-PGE方法在真实和合成图数据上对精确子图匹配的效率和有效性。
英文摘要:
The classic problem of exact subgraph matching returns those subgraphs in a large-scale data graph that are isomorphic to a given query graph, which has gained increasing importance in many real-world applications. In this paper, we propose a novel and effective graph neural network (GNN)-based path embedding framework (GNN-PE), which allows efficient exact subgraph matching without introducing false dismissals. Unlike traditional GNN-based graph embeddings that only produce approximate subgraph matching results, in this paper, we carefully devise GNN-based embeddings for paths, such that: if two paths (and 1-hop neighbors of vertices on them) have the subgraph relationship, their corresponding GNN-based embedding vectors will strictly follow the dominance relationship. With such a newly designed property of path dominance embeddings, we are able to propose effective pruning strategies based on path label/dominance embeddings and guarantee no false dismissals for subgraph matching. We build multidimensional indexes over path embedding vectors, and develop an efficient subgraph matching algorithm by traversing indexes over graph partitions in parallel and applying our pruning methods. We also propose a cost-model-based query plan that obtains query paths from the query graph with low query cost. To further optimize our GNN-PE approach, we also propose a more efficient GNN-based path group embedding (GNN-PGE) technique, which performs subgraph matching over grouped path embedding vectors. We design effective pruning strategies (w.r.t. grouped path embeddings) that can significantly reduce the search space during the index traversal. Through extensive experiments, we confirm the efficiency and effectiveness of our proposed GNN-PE and GNN-PGE approaches for exact subgraph matching on both real and synthetic graph data.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。