GLSearch:基于学习搜索的最大公共子图检测
GLSearch: Maximum Common Subgraph Detection via Learning to Search
摘要:
检测两个输入图之间的最大公共子图(MCS)对于药物合成、恶意软件检测、云计算等中的应用是基本的。然而,MCS计算是NP难的,并且最先进的MCS求解器依赖于启发式搜索算法,该算法在实践中不能为给定有限的计算预算的大型图对找到好的解决方案。我们提出了GLSearch,一个基于图神经网络(GNN)的学习搜索模型。我们的模型建立在分支定界算法的基础上,该算法每次从两个输入图中选择一对节点进行扩展。我们提出了一种新的基于GNN的深度Q网络(DQN)来选择节点对,而不是使用算法,从而使搜索过程更快,更具自适应性。为了进一步增强DQN的训练,我们利用搜索过程在预训练阶段提供监督,并在模仿学习阶段指导我们的代理。合成和现实世界的大型图对的实验表明,我们的模型学习的搜索策略,能够检测到显着更大的共同子图给定相同的计算预算。我们的GLSearch可以潜在地扩展到解决许多其他的组合问题的限制图。
英文摘要:
Detecting the Maximum Common Subgraph (MCS) between two input graphs is fundamental for applications in drug synthesis, malware detection, cloud computing, etc. However, MCS computation is NP-hard, and state-of-the-art MCS solvers rely on heuristic search algorithms which in practice cannot find good solution for large graph pairs given a limited computation budget. We propose GLSearch, a Graph Neural Network (GNN) based learning to search model. Our model is built upon the branch and bound algorithm, which selects one pair of nodes from the two input graphs to expand at a time. Instead of using heuristics, we propose a novel GNN-based Deep Q-Network (DQN) to select the node pair, allowing the search process faster and more adaptive. To further enhance the training of DQN, we leverage the search process to provide supervision in a pre-training stage and guide our agent during an imitation learning stage. Experiments on synthetic and real-world large graph pairs demonstrate that our model learns a search strategy that is able to detect significantly larger common subgraphs given the same computation budget. Our GLSearch can be potentially extended to solve many other combinatorial problems with constraints on graphs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。