Cardinality Estimation of Subgraph Matching: A Filtering-Sampling Approach
Preprint
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 FaSTest, 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 difficult instances. Extensive experiments on real-world datasets show that FaSTest 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.Keywords
All Related Versions
This publication has 17 references indexed in Scilit:
- Subgraph Matching With Effective Matching Order and IndexingIEEE Transactions on Knowledge and Data Engineering, 2020
- On the Variable Ordering in Subgraph Isomorphism AlgorithmsIEEE/ACM Transactions on Computational Biology and Bioinformatics, 2016
- Finding all maximally-matchable edges in a bipartite graphTheoretical Computer Science, 2012
- SING: Subgraph search In Non-homogeneous GraphsBMC Bioinformatics, 2010
- Biological network comparison using graphlet degree distributionBioinformatics, 2007
- A (sub)graph isomorphism algorithm for matching large graphsIEEE Transactions on Pattern Analysis and Machine Intelligence, 2004
- The Complexity of Planar Counting ProblemsSIAM Journal on Computing, 1998
- The Random Walk Construction of Uniform Spanning Trees and Uniform Labelled TreesSIAM Journal on Discrete Mathematics, 1990
- Arboricity and Subgraph Listing AlgorithmsSIAM Journal on Computing, 1985
- An Algorithm for Subgraph IsomorphismJournal of the ACM, 1976