Neural Subgraph Isomorphism Counting
Not on the map. Why?
Abstract (arXiv)
In this paper, we study a new graph learning problem: learning to count subgraph isomorphisms. Different from other traditional graph learning problems such as node classification and link prediction, subgraph isomorphism counting is NP-complete and requires more global inference to oversee the whole graph. To make it scalable for large-scale graphs and patterns, we propose a learning framework which augments different representation learning architectures and iteratively attends pattern and target data graphs to memorize subgraph isomorphisms for the global counting. We develop both small graphs (<= 1,024 subgraph isomorphisms in each) and large graphs (<= 4,096 subgraph isomorphisms in each) sets to evaluate different models. A mutagenic compound dataset, MUTAG, is also used to evaluate neural models and demonstrate the success of transfer learning. While the learning based approach is inexact, we are able to generalize to count large patterns and data graphs in linear time compared to the exponential time of the original NP-complete problem. Experimental results show that learning based subgraph isomorphism counting can speed up the traditional algorithm, VF2, 10-1,000 times with acceptable errors. Domain adaptation based on fine-tuning also shows the usefulness of our approach in real-world applications.
Key facts. Cited by 27 papers in the map (data through 14 Oct 2026). First posted on arXiv 25 Dec 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 3; 2022: 11; 2023: 7; 2024: 2; 2025: 4.
27 papers.
Sort:
- 2022Theory of Graph Neural Networks: Representation and Learningcited by 61
- 2021GREED: A Neural Framework for Learning Graph Distance Functionscited by 32
- 2022Algorithm and System Co-design for Efficient Subgraph-based Graph Representation Learningcited by 28
- 2023Complex Query Answering on Eventuality Knowledge Graph with Implicit Logical Constraintscited by 21
- 2023On Structural Expressive Power of Graph Transformerscited by 19
- 2022MentorGNN: Deriving Curriculum for Pre-Training GNNscited by 18
- 2022Boosting Graph Structure Learning with Dummy Nodescited by 13
- 2023Learning to Count Isomorphisms with Graph Neural Networkscited by 13
- 2023An Efficient Subgraph GNN with Provable Substructure Counting Powercited by 13
- 2021Graph Convolutional Networks with Dual Message Passing for Subgraph Isomorphism Counting and Matchingcited by 11
- 2023Enhancing User Intent Capture in Session-Based Recommendation with Attribute Patternscited by 11
- 2023SUREL+: Moving from Walks to Sets for Scalable Subgraph-based Graph Representation Learningcited by 8
15 more
- 2022Reinforcement Learning Based Query Vertex Ordering Model for Subgraph Matchingcited by 6
- 2025Graph Neural Networks for Databases: A Surveycited by 6
- 2021Sub-GMN: The Neural Subgraph Matching Network Modelcited by 5
- 2024Representation Learning for Frequent Subgraph Miningcited by 5
- 2023DeSCo: Towards Generalizable and Scalable Deep Subgraph Countingcited by 4
- 2022Towards Accurate Subgraph Similarity Computation via Neural Graph Pruningcited by 3
- 2022Reinforcement Learning Enhanced Weighted Sampling for Accurate Subgraph Counting on Fully Dynamic Graph Streamscited by 3
- 2022Interactive Visual Pattern Search on Graph Data via Graph Representation Learningcited by 1
- 2022Detecting Small Query Graphs in A Large Graph via Neural Subgraph Searchcited by 1
- 2025Graph Self-Supervised Learning with Learnable Structural and Positional Encodingscited by 1
- 2022A Survey on Machine Learning Solutions for Graph Pattern Extractioncited by 0
- 2022Uncertainty-aware Efficient Subgraph Isomorphism using Graph Topologycited by 0
- 2024Towards Subgraph Isomorphism Counting with Graph Kernelscited by 0
- 2025BEACON: A Benchmark for Efficient and Accurate Counting of Subgraphscited by 0
- 2025Target Circuit Matching in Large-Scale Netlists using GNN-Based Region Predictioncited by 0
- 2025Target Circuit Matching in Large-Scale Netlists using GNN-Based Region Prediction18 Jul 2025
- 2025BEACON: A Benchmark for Efficient and Accurate Counting of Subgraphs15 Apr 2025
- 2025Graph Self-Supervised Learning with Learnable Structural and Positional Encodings22 Feb 2025
- 2025Graph Neural Networks for Databases: A Survey18 Feb 2025
- 2024Towards Subgraph Isomorphism Counting with Graph Kernels13 May 2024
- 2024Representation Learning for Frequent Subgraph Mining22 Feb 2024
- 2023Enhancing User Intent Capture in Session-Based Recommendation with Attribute Patterns23 Dec 2023
- 2023DeSCo: Towards Generalizable and Scalable Deep Subgraph Counting16 Aug 2023
- 2023Complex Query Answering on Eventuality Knowledge Graph with Implicit Logical Constraints30 May 2023
- 2023On Structural Expressive Power of Graph Transformers23 May 2023
- 2023An Efficient Subgraph GNN with Provable Substructure Counting Power19 Mar 2023
- 2023SUREL+: Moving from Walks to Sets for Scalable Subgraph-based Graph Representation Learning6 Mar 2023
15 more
- 2023Learning to Count Isomorphisms with Graph Neural Networks7 Feb 2023
- 2022Reinforcement Learning Enhanced Weighted Sampling for Accurate Subgraph Counting on Fully Dynamic Graph Streams13 Nov 2022
- 2022Towards Accurate Subgraph Similarity Computation via Neural Graph Pruning19 Oct 2022
- 2022Uncertainty-aware Efficient Subgraph Isomorphism using Graph Topology15 Sep 2022
- 2022MentorGNN: Deriving Curriculum for Pre-Training GNNs21 Aug 2022
- 2022Detecting Small Query Graphs in A Large Graph via Neural Subgraph Search21 Jul 2022
- 2022Boosting Graph Structure Learning with Dummy Nodes17 Jun 2022
- 2022Theory of Graph Neural Networks: Representation and Learning16 Apr 2022
- 2022A Survey on Machine Learning Solutions for Graph Pattern Extraction3 Apr 2022
- 2022Algorithm and System Co-design for Efficient Subgraph-based Graph Representation Learning28 Feb 2022
- 2022Interactive Visual Pattern Search on Graph Data via Graph Representation Learning18 Feb 2022
- 2022Reinforcement Learning Based Query Vertex Ordering Model for Subgraph Matching25 Jan 2022
- 2021GREED: A Neural Framework for Learning Graph Distance Functions24 Dec 2021
- 2021Graph Convolutional Networks with Dual Message Passing for Subgraph Isomorphism Counting and Matching16 Dec 2021
- 2021Sub-GMN: The Neural Subgraph Matching Network Model1 Apr 2021
- 2022Theory of Graph Neural Networks: Representation and Learningcited by 61
- 2021GREED: A Neural Framework for Learning Graph Distance Functionscited by 32
- 2022Algorithm and System Co-design for Efficient Subgraph-based Graph Representation Learningcited by 28
- 2023Complex Query Answering on Eventuality Knowledge Graph with Implicit Logical Constraintscited by 21
- 2023On Structural Expressive Power of Graph Transformerscited by 19
- 2022MentorGNN: Deriving Curriculum for Pre-Training GNNscited by 18
- 2022Boosting Graph Structure Learning with Dummy Nodescited by 13
- 2023Learning to Count Isomorphisms with Graph Neural Networkscited by 13
- 2023An Efficient Subgraph GNN with Provable Substructure Counting Powercited by 13
- 2021Graph Convolutional Networks with Dual Message Passing for Subgraph Isomorphism Counting and Matchingcited by 11
- 2023Enhancing User Intent Capture in Session-Based Recommendation with Attribute Patternscited by 11
- 2023SUREL+: Moving from Walks to Sets for Scalable Subgraph-based Graph Representation Learningcited by 8
12 most cited of 27 All 27 (JSON)
- 2025Target Circuit Matching in Large-Scale Netlists using GNN-Based Region Prediction18 Jul 2025
- 2025BEACON: A Benchmark for Efficient and Accurate Counting of Subgraphs15 Apr 2025
- 2025Graph Self-Supervised Learning with Learnable Structural and Positional Encodings22 Feb 2025
- 2025Graph Neural Networks for Databases: A Survey18 Feb 2025
- 2024Towards Subgraph Isomorphism Counting with Graph Kernels13 May 2024
- 2024Representation Learning for Frequent Subgraph Mining22 Feb 2024
- 2023Enhancing User Intent Capture in Session-Based Recommendation with Attribute Patterns23 Dec 2023
- 2023DeSCo: Towards Generalizable and Scalable Deep Subgraph Counting16 Aug 2023
- 2023Complex Query Answering on Eventuality Knowledge Graph with Implicit Logical Constraints30 May 2023
- 2023On Structural Expressive Power of Graph Transformers23 May 2023
- 2023An Efficient Subgraph GNN with Provable Substructure Counting Power19 Mar 2023
- 2023SUREL+: Moving from Walks to Sets for Scalable Subgraph-based Graph Representation Learning6 Mar 2023
12 newest of 27 All 27 (JSON)