Subgraph Enumeration: Beyond Tree Decomposition
Qiyan Li, Jeffrey Xu Yu, Zongyan He
Abstract
We address the subgraph enumeration problem: given an unlabeled pattern graph p and an unlabeled data graph G , find all subgraphs in G isomorphic to p. Unlike labeled matching, the absence of label constraints creates exponentially larger search spaces with limited pruning opportunities. To address this challenge, we follow tree decomposition (TD) approaches that break complex patterns into smaller subgraphs (bags), compute matches for each bag, and join them to obtain final results. However, existing TD approaches suffer from suboptimal decomposition selection, incomplete symmetry-breaking usage, and expensive intermediate result materialization. We present MDSE (Minimal Decomposition-based Subgraph Enumeration) with three key contributions. We introduce minimal fractional hypertree decompositions (MinFHDs) that ensure compact bags and an efficient algorithm to explore all optimal-width decompositions. We develop new symmetry-breaking integration using complete rule sets with systematic selection for maximum pruning effect. To reduce materialization costs, we design MixJoin by embedding final result assembly within bag processing and formulate an enhanced cost model for attribute orders, incorporating both intersection and materialization overhead. Evaluation across 101 pattern graphs and 8 real-world datasets shows MDSE substantially outperforms existing algorithms.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 041d3239-adf3-411e-a540-1d2cc47ea748Builds on25
- 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
- Pangolin: An Efficient and Flexible Graph Mining System on CPU and GPUXuhao Chen, Roshan Dathathri, Gurbinder Gill, Keshav PingaliVLDB 2020 · 81 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
- Subgraph Matching: A New Decomposition Based ApproachQiyan Li, Jeffrey Yu, Zongyan HeVLDB 2025 · 3 citations
- Efficient Hypergraph Pattern Matching via Match-and-Filter and Intersection ConstraintSiwoo Song, Wonseok Shin, Kunsoo Park, Giuseppe F. Italiano et al.ICDE 2026
- MuSha: Subgraph Matching by Multilevel SharingHongtai Cao, Qihao Wang, Xiaodong Li, Mohammad Matin Najafi et al.ICDE 2025 · 1 citation
- Fast Local Subgraph CountingQiyan Li, Jeffrey Xu YuVLDB 2024 · 4 citations
- A Fine-Grained Classification of Subquadratic Patterns for Subgraph Listing and FriendsKarl Bringmann, Egor GorbachevSTOC 2025 · 5 citations
