Fast Maximum Common Subgraph Search: A Redundancy-Reduced Backtracking Approach

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Yu, Kaiqiang, Wang, Kaixin, Long, Cheng, Lakshmanan, Laks, Cheng, Reynold
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866929717970468864
author Yu, Kaiqiang
Wang, Kaixin
Long, Cheng
Lakshmanan, Laks
Cheng, Reynold
author_facet Yu, Kaiqiang
Wang, Kaixin
Long, Cheng
Lakshmanan, Laks
Cheng, Reynold
contents 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 four benchmark graph collections, and the results demonstrate that our algorithm outperforms the practical state-of-the-art by several orders of magnitude.
format Preprint
id arxiv_https___arxiv_org_abs_2502_11557
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Fast Maximum Common Subgraph Search: A Redundancy-Reduced Backtracking Approach
Yu, Kaiqiang
Wang, Kaixin
Long, Cheng
Lakshmanan, Laks
Cheng, Reynold
Databases
Data Structures and Algorithms
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 four benchmark graph collections, and the results demonstrate that our algorithm outperforms the practical state-of-the-art by several orders of magnitude.
title Fast Maximum Common Subgraph Search: A Redundancy-Reduced Backtracking Approach
topic Databases
Data Structures and Algorithms
url https://arxiv.org/abs/2502.11557