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

基于强化学习的子图匹配查询点排序模型

Reinforcement Learning Based Query Vertex Ordering Model for Subgraph Matching

Zhejiang Gongshang University(浙江工商大学);University of New South Wales(新南威尔士大学);University of Technology Sydney(悉尼科技大学);Hong Kong University of Science and Technology(香港科技大学)

Hanchen Wang, Ying Zhang, Lu Qin, Wei Wang, Wenjie Zhang, Xuemin Lin

摘要:

子图匹配是使用图结构数据的各个领域中的基本问题。子图匹配算法枚举查询图q在数据图G中的所有同构嵌入。匹配算法的一个重要分支利用回溯搜索方法,该方法递归地扩展中间结果,遵循查询顶点的匹配顺序。它已被证明,匹配顺序起着至关重要的作用,这些回溯的子图匹配算法的时间效率。近年来,许多用于查询顶点排序的高级技术(即,匹配顺序生成)来根据预先设置的启发式规则减少没有希望的中间结果。本文首次将强化学习(RL)和图神经网络(GNNs)技术应用于子图匹配算法中,生成高质量的匹配顺序。该模型不使用固定的枚举法生成匹配顺序,而是充分利用图的信息,采用基于自适应学习的规则来确定查询顶点的顺序,从而显著减少了冗余枚举数。在强化学习框架的帮助下,我们的模型能够考虑长期的利益,而不是只考虑当前排序步骤的局部信息。在六个真实数据图上的大量实验表明,我们提出的匹配顺序生成技术可以减少多达两个数量级的查询处理时间相比,国家的最先进的算法。

英文摘要:

Subgraph matching is a fundamental problem in various fields that use graph structured data. Subgraph matching algorithms enumerate all isomorphic embeddings of a query graph q in a data graph G. An important branch of matching algorithms exploit the backtracking search approach which recursively extends intermediate results following a matching order of query vertices. It has been shown that the matching order plays a critical role in time efficiency of these backtracking based subgraph matching algorithms. In recent years, many advanced techniques for query vertex ordering (i.e., matching order generation) have been proposed to reduce the unpromising intermediate results according to the preset heuristic rules. In this paper, for the first time we apply the Reinforcement Learning (RL) and Graph Neural Networks (GNNs) techniques to generate the high-quality matching order for subgraph matching algorithms. Instead of using the fixed heuristics to generate the matching order, our model could capture and make full use of the graph information, and thus determine the query vertex order with the adaptive learning-based rule that could significantly reduces the number of redundant enumerations. With the help of the reinforcement learning framework, our model is able to consider the long-term benefits rather than only consider the local information at current ordering step.Extensive experiments on six real-life data graphs demonstrate that our proposed matching order generation technique could reduce up to two orders of magnitude of query processing time compared to the state-of-the-art algorithms.

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

↑