CEMR: An Effective Subgraph Matching Algorithm with Redundant Extension Elimination
Linglin Yang, Xunbin Su, Lei Zou, Xiangyang Gou, Yinnian Lin
Abstract
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.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Lineage
- RapidMatch: A Holistic Approach to Subgraph Query Processing cites In-Memory Subgraph Matching: An In-depth Study
- GraphPi: high performance graph pattern matching through effective redundancy elimination cites Peregrine: a pattern-aware graph mining system
Builds on13
- In-Memory Subgraph Matching: An In-depth StudyShixuan Sun, Qiong LuoSIGMOD 2020 · 159 citations
- Peregrine: a pattern-aware graph mining systemKasra Jamshidi, Rakesh Mahadasa, Keval VoraEuroSys 2020 · 107 citations
- 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
- GraphPi: high performance graph pattern matching through effective redundancy eliminationTianhui Shi, Mingshu Zhai, Yi Xu, Jidong ZhaiSC 2020 · 72 citations
Related papers
- BEE: Towards Redundancy Reduction via Block-Separator Decomposition for Subgraph MatchingZhijie Zhang, Weiguo ZhengSIGMOD 2026 · 4 citations
- BⓈX: Subgraph Matching with Batch Backtracking SearchYujie Lu, Zhijie Zhang, Weiguo ZhengSIGMOD 2025 · 7 citations
- A Comprehensive Survey and Experimental Study of Subgraph Matching: Trends, Unbiasedness, and InteractionZhijie Zhang, Yujie Lu, Weiguo Zheng, Xuemin LinSIGMOD 2024 · 35 citations
- Mix & Match: Subgraph Matching for Absolute CoverageKonstantinos Skitsas, Yuya Sasaki, Davide Mottin, Panagiotis KarrasVLDB 2025 · 1 citation
- Efficient GPU-Accelerated Subgraph MatchingXibo Sun, Qiong LuoSIGMOD 2023 · 29 citations
