Cardinality Estimation of Subgraph Matching: A Filtering-Sampling Approach
Wonseok Shin, Siwoo Song, Kunsoo Park, Wook-Shin Han
Abstract
Subgraph counting is a fundamental problem in understanding and analyzing graph structured data, yet computationally challenging. This calls for an accurate and efficient algorithm for Subgraph Cardinality Estimation, which is to estimate the number of all isomorphic embeddings of a query graph in a data graph. We present FaST est , a novel algorithm that combines (1) a powerful filtering technique to significantly reduce the sample space, (2) an adaptive tree sampling algorithm for accurate and efficient estimation, and (3) a worst-case optimal stratified graph sampling algorithm for hard instances. Extensive experiments on real-world datasets show that FaST est outperforms state-of-the-art sampling-based methods by up to two orders of magnitude and GNN-based methods by up to three orders of magnitude in terms of accuracy.
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 bb3053bc-e0b2-4f86-a99a-4841782b7704Cited by top-tier papers7
- COLOR: A Framework for Applying Graph Coloring to Subgraph Cardinality EstimationKyle B. Deeds, Diandre Sabale, Moe Kayali, Dan SuciuVLDB 2025 · 4 citations
- Efficient and Accurate Subgraph Counting: A Bottom-up Flow-learning based ApproachQiuyu Guo, Jianye Yang, Wenjie Zhang, Hanchen Wang et al.VLDB 2025 · 3 citations
- AGIS: Fast Approximate Graph Pattern Mining with Structure-Informed SamplingSeoyong Lee, Jinho LeeVLDB 2026 · 1 citation
- On Temporal-Constraint Subgraph MatchingXiaoyu Leng, Guang Zeng, Hongchao Qin, Longlong Lin et al.ICDE 2025 · 1 citation
- Subgraph Enumeration: Beyond Tree DecompositionQiyan Li, Jeffrey Xu Yu, Zongyan HeVLDB 2026
Builds on8
- In-Memory Subgraph Matching: An In-depth StudyShixuan Sun, Qiong LuoSIGMOD 2020 · 159 citations
- Versatile Equivalences: Speeding up Subgraph Query Processing and Subgraph MatchingHyunjoon Kim, Yunyoung Choi, Kunsoo Park, Xuemin Lin et al.SIGMOD 2021 · 75 citations
- G-CARE: A Framework for Performance Benchmarking of Cardinality Estimation Techniques for Subgraph MatchingYeonsu Park, Seongyun Ko, Sourav S. Bhowmick, Kyoungmin Kim et al.SIGMOD 2020 · 59 citations
- A Learned Sketch for Subgraph CountingKangfei Zhao, Jeffrey Xu Yu, Hao Zhang, Qiyan Li et al.SIGMOD 2021 · 43 citations
- Neural Subgraph Counting with Wasserstein EstimatorHanchen Wang, Rong Hu, Ying Zhang, Lu Qin et al.SIGMOD 2022 · 37 citations
Related papers
- HOPS: Probabilistic Subtree Mining for Small and Large GraphsPascal Welke, Florian Seiffarth, Michael Kamp, Stefan WrobelKDD 2020 · 5 citations
- Combining Sampling and Synopses with Worst-Case Optimal Runtime and Quality Guarantees for Graph Pattern Cardinality EstimationKyoungmin Kim, Hyeonji Kim, George Fletcher, Wook-Shin HanSIGMOD 2021 · 14 citations
- Learning to Count Isomorphisms with Graph Neural NetworksXingtong Yu, Zemin Liu, Yuan Fang, Xinming ZhangAAAI 2023 · 24 citations
- gSWORD: GPU-accelerated Sampling for Subgraph CountingChang Ye, Yuchen Li, Shixuan Sun, Wentian GuoSIGMOD 2024 · 5 citations
- Path-centric Cardinality Estimation for Subgraph MatchingZhengdong Wang, Qiang Yin, Longbin LaiVLDB 2025 · 1 citation
