Beyond Maximum Common Subgraph: A Framework Maximizing Shared Computation for Multi-Query Subgraph Matching
Zhijie Zhang, Sitao Yang, Weiguo Zheng, Qiang Zhou, Chuntao Hong
Abstract
Subgraph matching, a fundamental operation in graph analytics, delivers all occurrences of a query pattern within a large data graph. Graph systems often require processing large batches of such queries simultaneously. The existing multi-query approaches typically aim to optimize this process by exploiting the maximum common subgraph (MCS) among query graphs. However, identifying MCS is computationally prohibitive and does not necessarily maximize computational reuse, leading to substantial redundancy and limited scalability. In this paper, we propose MASC, a novel framework for subgraph matching with M ulti-query A cceleration via S hared C omputation. We introduce signature-based joint filtering that enables shared computation in the filtering phase, significantly improving filtering efficiency across queries. Building on this, we propose the visit-once paradigm that leverages shared candidates rather than just shared structure size, ensuring each shared candidate in the data graph is processed only once and further maximizing computation sharing. To further enhance sharing, we develop the shared block reuse that exploits multiple overlapping substructures among queries. Compared to existing methods that leverage only a single overlap, the shared computations are further substantially increased. We conducted extensive experiments on real-world datasets across various domains. The results demonstrate that MASC achieves significant improvements, achieving substantial speedup over state-of-the-art methods, with up to two orders of magnitude improvement.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get 07aa3f2f-be7f-4457-97c5-9a0e7f26d190Related papers
- ShareFlow: An Efficient Framework for Multi-Query Continuous Subgraph MatchingPeiqi Yuan, Zhaohang Feng, Ruiqi Xu, Keming Li et al.ICDE 2026
- MuSha: Subgraph Matching by Multilevel SharingHongtai Cao, Qihao Wang, Xiaodong Li, Mohammad Matin Najafi et al.ICDE 2025 · 1 citation
- Efficient Multi-Query Oriented Continuous Subgraph MatchingZiyi Ma, Jianye Yang, Xu Zhou, Guoqing Xiao et al.ICDE 2024 · 6 citations
- MAVIS: Materialized View for Subgraph MatchingLisheng Cao, Xiangyang Gou, Lei Zou, Wenjie ZhangSIGMOD 2026 · 3 citations
- VSGM: View-Based GPU-Accelerated Subgraph Matching on Large GraphsGuanxian Jiang, Qihui Zhou, Tatiana Jin, Boyang Li et al.SC 2022 · 14 citations
