Efficient and Accurate Subgraph Counting: A Bottom-up Flow-learning Based Approach
Subgraph counting is a fundamental problem in graph analytics with broad applications, yet remains computationally intractable due to its #P-hardness. To address this, numerous approximate solutions have been proposed, though they often suffer from limited efficiency and accuracy. In this paper, we introduce FlowSC, a novel approach that achieves both high accuracy and efficiency in subgraph counting. Our method starts with an enhanced candidate filtering algorithm, which significantly improves the pruning capability of bipartite graph-based techniques with minimal overhead. Building on this, we propose a bottom-up flow-learning model based on a new Graph Neural Network (GNN) architecture. By employing a carefully designed message-passing mechanism, the model explicitly controls the direction, range, and iterations of information flow, enabling a simulation of the candidate tree-based counting process. This mechanism is further empowered by a customized message aggregation technique, alongside a pretraining strategy that facilitates model training. Extensive experiments show that FlowSC can achieve up to 4 orders of magnitude improvement in accuracy and 3× improvement in efficiency over the baselines across datasets, while scaling to billion-edge graphs.
Authors
- Jianye Yang (ORCID: https://orcid.org/0000-0003-3417-823X)
- Qiuyu Guo (ORCID: https://orcid.org/0000-0001-8549-8335)
- Xuemin Lin (ORCID: https://orcid.org/0000-0003-2396-7225)
- Wenjie Zhang (ORCID: https://orcid.org/0000-0002-7470-3011)
- Hanchen Wang (ORCID: https://orcid.org/0000-0003-3158-9586)
- Ying Zhang (ORCID: https://orcid.org/0009-0001-5180-3829)
Institutions
- Shanghai Jiao Tong University (CN)
- UNSW Sydney (AU)
- Guangzhou University (CN)
- Peng Cheng Laboratory (CN)
- Zhejiang Gongshang University (CN)
Publication Details
- Journal
- Proceedings of the VLDB Endowment
- Published
- 2025-04-01
- DOI
- https://doi.org/10.14778/3742728.3742758
- Citations
- 1
- Primary Topic
- Graph Theory and Algorithms
- Type
- article
- Field-Weighted Citation Impact
- 1.28