Fast Subgraph Matching by Exploiting Search Failures

12/28/2020
by   Junya Arai, et al.
0

Subgraph matching is a compute-intensive problem that asks to enumerate all the isomorphic embeddings of a query graph within a data graph. This problem is generally solved with backtracking, which recursively evolves every possible partial embedding until it becomes an isomorphic embedding or is found unable to become it. While existing methods reduce the search space by analyzing graph structures before starting the backtracking, it is often ineffective for complex graphs. In this paper, we propose an efficient algorithm for subgraph matching that performs on-the-fly pruning during the backtracking. Our main idea is to `learn from failure'. That is, our algorithm generates failure patterns when a partial embedding is found unable to become an isomorphic embedding. Then, in the subsequent process of the backtracking, our algorithm prunes partial embeddings matched with a failure pattern. This pruning does not change the result because failure patterns are designed to represent the conditions that never yield an isomorphic embedding. Additionally, we introduce an efficient representation of failure patterns for constant-time pattern matching. The experimental results show that our method improves the performance by up to 10000 times than existing methods.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/11/2023

GuP: Fast Subgraph Matching by Guard-based Pruning

Subgraph matching, which finds subgraphs isomorphic to a query, is the k...
research
12/22/2021

An Efficient Pruning Process with Locality Aware Exploration and Dynamic Graph Editing for Subgraph Matching

Subgraph matching is a NP-complete problem that extracts isomorphic embe...
research
03/25/2020

MultiRI: Fast Subgraph Matching in Labeled Multigraphs

The Subgraph Matching (SM) problem consists of finding all the embedding...
research
07/09/2018

Jointly learning relevant subgraph patterns and nonlinear models of their indicators

Classification and regression in which the inputs are graphs of arbitrar...
research
07/26/2022

Revisited Containment for Graph Patterns

We consider the class of conditional graph patterns (CGPs) that allow us...
research
09/07/2023

ProvG-Searcher: A Graph Representation Learning Approach for Efficient Provenance Graph Search

We present ProvG-Searcher, a novel approach for detecting known APT beha...
research
01/09/2023

Structural Equivalence in Subgraph Matching

Symmetry plays a major role in subgraph matching both in the description...

Please sign up or login with your details

Forgot password? Click here to reset