Fast Maximum Common Subgraph Search: A Redundancy-Reduced Backtracking Approach
Kaiqiang Yu, Kaixin Wang, Cheng Long, Laks V. S. Lakshmanan, Reynold Cheng
Abstract
Given two input graphs, finding the largest subgraph that occurs in both, i.e., finding the maximum common subgraph, is a fundamental operator for evaluating the similarity between two graphs in graph data analysis. Existing works for solving the problem are of either theoretical or practical interest, but not both. Specifically, the algorithms with a theoretical guarantee on the running time are known to be not practically efficient; algorithms following the recently proposed backtracking framework called McSplit, run fast in practice but do not have any theoretical guarantees. In this paper, we propose a new backtracking algorithm called RRSplit, which at once achieves better practical efficiency and provides a non-trivial theoretical guarantee on the worst-case running time. To achieve the former, we develop a series of reductions and upper bounds for reducing redundant computations, i.e., the time for exploring some unpromising branches of exploration that hold no maximum common subgraph. To achieve the latter, we formally prove that RRSplit incurs a worst-case time complexity which matches the best-known complexity for the problem. Finally, we conduct extensive experiments on several benchmark graph collections, and the results demonstrate that our algorithm outperforms the practical state-of-the-art by several orders of magnitude.
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 18d42c19-a83a-4ae6-85c4-fab0f283ba20Cited by top-tier papers2
- Shape-Agnostic Table Overlap Discovery: A Maximum Common Subhypergraph ApproachGe Lee, Shixun Huang, Zhifeng Bao, Felix Naumann et al.SIGMOD 2026 · 1 citation
- Accelerating Maximum Common Subgraph Computation by Exploiting SymmetriesBuddhi W. Kothalawala, Henning Koehler, Muhammad FarhanSIGMOD 2026
Builds on10
- RapidMatch: A Holistic Approach to Subgraph Query ProcessingShixuan Sun, Xibo Sun, Yulin Che, Qiong Luo et al.VLDB 2021 · 105 citations
- Versatile Equivalences: Speeding up Subgraph Query Processing and Subgraph MatchingHyunjoon Kim, Yunyoung Choi, Kunsoo Park, Xuemin Lin et al.SIGMOD 2021 · 75 citations
- Computing Graph Edit Distance via Neural Graph MatchingChengzhi Piao, Tingyang Xu, Xiangguo Sun, Yu Rong et al.VLDB 2023 · 49 citations
- GuP: Fast Subgraph Matching by Guard-based PruningJunya Arai, Yasuhiro Fujiwara, Makoto OnizukaSIGMOD 2023 · 45 citations
- GLSearch: Maximum Common Subgraph Detection via Learning to SearchYunsheng Bai, Derek Xu, Yizhou Sun, Wei WangICML 2021 · 43 citations
Related papers
- BⓈX: Subgraph Matching with Batch Backtracking SearchYujie Lu, Zhijie Zhang, Weiguo ZhengSIGMOD 2025 · 7 citations
- A Learning Based Branch and Bound for Maximum Common Subgraph Related ProblemsYanli Liu, Chu-Min Li, Hua Jiang, Kun HeAAAI 2020 · 26 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
- Beyond Maximum Common Subgraph: A Framework Maximizing Shared Computation for Multi-Query Subgraph MatchingZhijie Zhang, Sitao Yang, Weiguo Zheng, Qiang Zhou et al.SIGMOD 2026
- CEMR: An Effective Subgraph Matching Algorithm with Redundant Extension EliminationLinglin Yang, Xunbin Su, Lei Zou, Xiangyang Gou et al.VLDB 2026
