Cardinality Estimation of Subgraph Matching: A Filtering-Sampling Approach
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 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.
7 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Subgraph Enumeration: Beyond Tree Decomposition cites Versatile Equivalences: Speeding up Subgraph Query Processing and Subgraph Matching
- A Learned Sketch for Subgraph Counting cites G-CARE: A Framework for Performance Benchmarking of Cardinality Estimation Techniques for Subgraph Matching
- A Learned Sketch for Subgraph Counting cites In-Memory Subgraph Matching: An In-depth Study
- COLOR: A Framework for Applying Graph Coloring to Subgraph Cardinality Estimation cites G-CARE: A Framework for Performance Benchmarking of Cardinality Estimation Techniques for Subgraph Matching
- COLOR: A Framework for Applying Graph Coloring to Subgraph Cardinality Estimation cites In-Memory Subgraph Matching: An In-depth Study
- COLOR: A Framework for Applying Graph Coloring to Subgraph Cardinality Estimation cites Neural Subgraph Counting with Wasserstein Estimator
- Efficient and Accurate Subgraph Counting: A Bottom-up Flow-learning based Approach cites In-Memory Subgraph Matching: An In-depth Study
- Efficient and Accurate Subgraph Counting: A Bottom-up Flow-learning based Approach cites A Learned Sketch for Subgraph Counting
- Efficient and Accurate Subgraph Counting: A Bottom-up Flow-learning based Approach cites Neural Subgraph Counting with Wasserstein Estimator
- Efficient and Accurate Subgraph Counting: A Bottom-up Flow-learning based Approach cites Versatile Equivalences: Speeding up Subgraph Query Processing and Subgraph Matching
- On Temporal-Constraint Subgraph Matching cites In-Memory Subgraph Matching: An In-depth Study
Cited 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
