GLSearch: Maximum Common Subgraph Detection via Learning to Search
Yunsheng Bai, Derek Xu, Yizhou Sun, Wei Wang
Abstract
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, making 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 graph pairs demonstrate that our model learns a search strategy that is able to detect significantly larger common subgraphs than existing MCS solvers given the same computation budget. GLSEARCH can be potentially extended to solve many other combinatorial problems with constraints on graphs.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext c3723154-ee67-4850-ac16-a4513ddc46d3Cited by top-tier papers16
- Graph Convolutional Networks with Dual Message Passing for Subgraph Isomorphism Counting and MatchingXin Liu, Yangqiu SongAAAI 2022 · 37 citations
- Community Search: A Meta-Learning ApproachShuheng Fang, Kangfei Zhao, Guanghua Li, Jeffrey Xu YuICDE 2023 · 19 citations
- Retrieval-Guided Reinforcement Learning for Boolean Circuit MinimizationAnimesh Basak Chowdhury, Marco Romanelli, Benjamin Tan, Ramesh Karri et al.ICLR 2024 · 17 citations
- EXTRACT and REFINE: Finding a Support Subgraph Set for Graph RepresentationKuo Yang, Zhengyang Zhou, Wei Sun, Pengkun Wang et al.KDD 2023 · 13 citations
- Maximum Common Subgraph Guided Graph Retrieval: Late and Early Interaction NetworksIndradyumna Roy, Soumen Chakrabarti, Abir DeNeurIPS 2022 · 12 citations
Builds on3
- Learning Combinatorial Embedding Networks for Deep Graph MatchingRunzhong Wang, Junchi Yan, Xiaokang YangICCV 2019 · 268 citations
- Learning-Based Efficient Graph Similarity Computation via Multi-Scale Convolutional Set MatchingYunsheng Bai, Hao Ding, Ken Gu, Yizhou Sun et al.AAAI 2020 · 130 citations
- Analyzing the Expressive Power of Graph Neural Networks in a Spectral PerspectiveMuhammet Balcilar, Guillaume Renton, Pierre Héroux, Benoit Gaüzère et al.ICLR 2021 · 44 citations
Related papers
- A Learning Based Branch and Bound for Maximum Common Subgraph Related ProblemsYanli Liu, Chu-Min Li, Hua Jiang, Kun HeAAAI 2020 · 26 citations
- What's Wrong with Deep Learning in Tree Search for Combinatorial OptimizationMaximilian Böther, Otto Kißig, Martin Taraz, Sarel Cohen et al.ICLR 2022 · 56 citations
- Neural Graduated Assignment for Maximum Common Edge SubgraphsChaolong Ying, Yingqi Ruan, Xuemin Chen, Yaomin Wang et al.ICLR 2026 · 3 citations
- Hybrid Learning with New Value Function for the Maximum Common Induced Subgraph ProblemYanli Liu, Jiming Zhao, Chu-Min Li, Hua Jiang et al.AAAI 2023 · 5 citations
- Learning to Explore and Exploit with GNNs for Unsupervised Combinatorial OptimizationUtku Umur Acikalin, Aaron M. Ferber, Carla P. GomesICLR 2025
