CEMR: An Effective Subgraph Matching Algorithm with Redundant Extension Elimination

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Yang, Linglin, Su, Xunbin, Zou, Lei, Gou, Xiangyang, Lin, Yinnian
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918380533972992
author Yang, Linglin
Su, Xunbin
Zou, Lei
Gou, Xiangyang
Lin, Yinnian
author_facet Yang, Linglin
Su, Xunbin
Zou, Lei
Gou, Xiangyang
Lin, Yinnian
contents Subgraph matching is a fundamental problem in graph analysis with a wide range of applications. However, due to its inherent NP-hardness, enumerating subgraph matches efficiently on large real-world graphs remains highly challenging. Most existing works adopt a depth-first search (DFS) backtracking strategy, where a partial embedding is gradually extended in a DFS manner along a branch of the search trees until either a full embedding is found or no further extension is possible. A major limitation of this paradigm is the significant amount of duplicate computation that occurs during enumeration, which increases the overall runtime. To overcome this limitation, we propose a novel subgraph matching algorithm, CEMR. It incorporates two techniques to reduce duplicate extensions: common extension merging, which leverages a black-white vertex encoding, and common extension reusing, which employs common extension buffers. In addition, we design two pruning techniques to discard unpromising search branches. Extensive experiments on real-world datasets and diverse query workloads demonstrate that CEMR outperforms state-of-the-art subgraph matching methods.
format Preprint
id arxiv_https___arxiv_org_abs_2603_08037
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle CEMR: An Effective Subgraph Matching Algorithm with Redundant Extension Elimination
Yang, Linglin
Su, Xunbin
Zou, Lei
Gou, Xiangyang
Lin, Yinnian
Databases
Subgraph matching is a fundamental problem in graph analysis with a wide range of applications. However, due to its inherent NP-hardness, enumerating subgraph matches efficiently on large real-world graphs remains highly challenging. Most existing works adopt a depth-first search (DFS) backtracking strategy, where a partial embedding is gradually extended in a DFS manner along a branch of the search trees until either a full embedding is found or no further extension is possible. A major limitation of this paradigm is the significant amount of duplicate computation that occurs during enumeration, which increases the overall runtime. To overcome this limitation, we propose a novel subgraph matching algorithm, CEMR. It incorporates two techniques to reduce duplicate extensions: common extension merging, which leverages a black-white vertex encoding, and common extension reusing, which employs common extension buffers. In addition, we design two pruning techniques to discard unpromising search branches. Extensive experiments on real-world datasets and diverse query workloads demonstrate that CEMR outperforms state-of-the-art subgraph matching methods.
title CEMR: An Effective Subgraph Matching Algorithm with Redundant Extension Elimination
topic Databases
url https://arxiv.org/abs/2603.08037