Litcius/Paper detail

GuP: Fast Subgraph Matching by Guard-based Pruning

Junya Arai, Yasuhiro Fujiwara, Makoto Onizuka

2023Proceedings of the ACM on Management of Data38 citationsDOIOpen Access PDF

Abstract

Subgraph matching, which finds subgraphs isomorphic to a query, is crucial for information retrieval from data represented as a graph. To avoid redundant explorations in the data, existing methods restrict the search space by extracting candidate vertices and edges that may constitute isomorphic subgraphs. However, expensive computation is still required because candidate vertices induce many non-isomorphic subgraphs. In this paper, we propose GuP, a subgraph matching algorithm with pruning based on guards. A guard represents a pattern of intermediate search states that never lead to isomorphic subgraphs. By attaching a guard to each candidate vertex and edge, GuP adaptively filters out unnecessary candidates depending on the search state at each step. The experimental results show that GuP effectively reduces the search space and can answer difficult queries that state-of-the-art methods cannot answer within a practical time frame.

Topics & Concepts

Degeneracy (biology)Graph factorizationVertex (graph theory)PruningFactor-critical graphMatching (statistics)Guard (computer science)Computer scienceSubgraph isomorphism problemCombinatoricsGraphComputationMathematicsTheoretical computer scienceAlgorithmLine graphGraph powerAgronomyBiologyStatisticsProgramming languageBioinformaticsGraph Theory and AlgorithmsAdvanced Graph Neural NetworksData Management and Algorithms