Learning to Count Isomorphisms with Graph Neural Networks
Not on the map. Why?
Abstract (arXiv)
Subgraph isomorphism counting is an important problem on graphs, as many graph-based tasks exploit recurring subgraph patterns. Classical methods usually boil down to a backtracking framework that needs to navigate a huge search space with prohibitive computational costs. Some recent studies resort to graph neural networks (GNNs) to learn a low-dimensional representation for both the query and input graphs, in order to predict the number of subgraph isomorphisms on the input graph. However, typical GNNs employ a node-centric message passing scheme that receives and aggregates messages on nodes, which is inadequate in complex structure matching for isomorphism counting. Moreover, on an input graph, the space of possible query graphs is enormous, and different parts of the input graph will be triggered to match different queries. Thus, expecting a fixed representation of the input graph to match diversely structured query graphs is unrealistic. In this paper, we propose a novel GNN called Count-GNN for subgraph isomorphism counting, to deal with the above challenges. At the edge level, given that an edge is an atomic unit of encoding graph structures, we propose an edge-centric message passing scheme, where messages on edges are propagated and aggregated based on the edge adjacency to preserve fine-grained structural information. At the graph level, we modulate the input graph representation conditioned on the query, so that the input graph can be adapted to each query individually to improve their matching. Finally, we conduct extensive experiments on a number of benchmark datasets to demonstrate the superior performance of Count-GNN.
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Builds on 37 of its 66 references that are in the map. First posted on arXiv 7 Feb 2023.
Builds on
37 of 66 references.
References · 37
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
- 2017Graph Attention Networkscited by 8,854
- 2017Inductive Representation Learning on Large Graphscited by 6,284
- 2018How Powerful are Graph Neural Networks?cited by 4,355
- 2019A Comprehensive Survey on Graph Neural Networkscited by 2,906
- 2014Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modelingcited by 2,341
- 2017FiLM: Visual Reasoning with a General Conditioning Layercited by 2,286
- 2020Open Graph Benchmark: Datasets for Machine Learning on Graphscited by 2,148
- 2016node2vec: Scalable Feature Learning for Networkscited by 1,913
- 2017Modeling Relational Data with Graph Convolutional Networkscited by 1,684
- 2016HyperNetworkscited by 1,003
25 more
- 2018Hierarchical Graph Representation Learning with Differentiable Poolingcited by 786
- 2019Heterogeneous Graph Attention Networkcited by 732
- 2015LINE: Large-scale Information Network Embeddingcited by 582
- 2018Object Detection with Deep Learning: A Reviewcited by 524
- 2019Self-Attention Graph Poolingcited by 421
- 2020Improving Graph Neural Network Expressivity via Subgraph Isomorphism Countingcited by 312
- 2020Can Graph Neural Networks Count Substructures?cited by 235
- 2019Graph Matching Networks for Learning the Similarity of Graph Structured Objectscited by 202
- 2019Learning Combinatorial Embedding Networks for Deep Graph Matchingcited by 98
- 2018MotifNet: a motif-based Graph Convolutional Network for directed graphscited by 63
- 2019Graph Few-shot Learning via Knowledge Transfercited by 63
- 2018Learning-based Efficient Graph Similarity Computation via Multi-Scale Convolutional Set Matchingcited by 45
- 2020EdgeNets:Edge Varying Graph Neural Networkscited by 36
- 2020Co-embedding of Nodes and Edges with Graph Neural Networkscited by 30
- 2019Neural Subgraph Isomorphism Countingcited by 27
- 2020Combinatorial Learning of Graph Edit Distance via Dynamic Embeddingcited by 24
- 2020GLSearch: Maximum Common Subgraph Detection via Learning to Searchcited by 19
- 2018Dual-Primal Graph Convolutional Networkscited by 18
- 2021Graph Convolutional Networks with Dual Message Passing for Subgraph Isomorphism Counting and Matchingcited by 11
- 2021Node-wise Localization of Graph Neural Networkscited by 10
- 2016ESCAPE: Efficiently Counting All 5-Vertex Subgraphscited by 8
- 2020Peregrine: A Pattern-Aware Graph Mining Systemcited by 5
- 2020Faster motif counting via succinct color coding and adaptive samplingcited by 4
- 2013Efficiently Estimating Motif Statistics of Large Networkscited by 3
- 2018Graph Pattern Mining and Learning through User-defined Relations (Extended Version)cited by 2
Built on by
Citing papers per year: 2023: 5; 2024: 3; 2025: 4; 2026: 1.
13 papers.
Sort:
By area:
- 2023GraphPrompt: Unifying Pre-Training and Downstream Tasks for Graph Neural Networkscited by 166
- 2025SAMGPT: Text-free Graph Foundation Model for Multi-domain Pre-training and Cross-domain Adaptationcited by 61
- 2023Generalized Graph Prompt: Toward a Unification of Pre-Training and Downstream Tasks on Graphscited by 39
- 2023HGCLIP: Exploring Vision-Language Models with Graph Representations for Hierarchical Understandingcited by 21
- 2023A Survey of Imbalanced Learning on Graphs: Problems, Techniques, and Future Directionscited by 15
- 2024Node-Time Conditional Prompt Learning In Dynamic Graphscited by 11
- 2025GCoT: Chain-of-Thought Prompt Learning for Graphscited by 9
- 2025Graph Neural Networks for Databases: A Surveycited by 6
- 2024A Survey of Few-Shot Learning on Graphs: from Meta-Learning to Pre-Training and Prompt Learningcited by 5
- 2025Incomplete Graph Learning: A Comprehensive Surveycited by 3
- 2023Expressivity of Graph Neural Networks Through the Lens of Adversarial Robustnesscited by 1
- 2024Towards Subgraph Isomorphism Counting with Graph Kernelscited by 0
1 more
- 2026Heterogeneous Graph Alignment for Joint Reasoning and Interpretability30 Jan 2026
- 2025Graph Neural Networks for Databases: A Survey18 Feb 2025
- 2025Incomplete Graph Learning: A Comprehensive Survey18 Feb 2025
- 2025GCoT: Chain-of-Thought Prompt Learning for Graphs12 Feb 2025
- 2025SAMGPT: Text-free Graph Foundation Model for Multi-domain Pre-training and Cross-domain Adaptation8 Feb 2025
- 2024Node-Time Conditional Prompt Learning In Dynamic Graphs22 May 2024
- 2024Towards Subgraph Isomorphism Counting with Graph Kernels13 May 2024
- 2024A Survey of Few-Shot Learning on Graphs: from Meta-Learning to Pre-Training and Prompt Learning2 Feb 2024
- 2023Generalized Graph Prompt: Toward a Unification of Pre-Training and Downstream Tasks on Graphs26 Nov 2023
- 2023HGCLIP: Exploring Vision-Language Models with Graph Representations for Hierarchical Understanding23 Nov 2023
- 2023A Survey of Imbalanced Learning on Graphs: Problems, Techniques, and Future Directions26 Aug 2023
- 2023Expressivity of Graph Neural Networks Through the Lens of Adversarial Robustness16 Aug 2023
1 more
- 2025GCoT: Chain-of-Thought Prompt Learning for Graphscited by 9
- 2025GCoT: Chain-of-Thought Prompt Learning for Graphs12 Feb 2025
- 2023GraphPrompt: Unifying Pre-Training and Downstream Tasks for Graph Neural Networkscited by 166
- 2025SAMGPT: Text-free Graph Foundation Model for Multi-domain Pre-training and Cross-domain Adaptationcited by 61
- 2023Generalized Graph Prompt: Toward a Unification of Pre-Training and Downstream Tasks on Graphscited by 39
- 2023A Survey of Imbalanced Learning on Graphs: Problems, Techniques, and Future Directionscited by 15
- 2024Node-Time Conditional Prompt Learning In Dynamic Graphscited by 11
- 2025Graph Neural Networks for Databases: A Surveycited by 6
- 2024A Survey of Few-Shot Learning on Graphs: from Meta-Learning to Pre-Training and Prompt Learningcited by 5
- 2025Incomplete Graph Learning: A Comprehensive Surveycited by 3
- 2023Expressivity of Graph Neural Networks Through the Lens of Adversarial Robustnesscited by 1
- 2024Towards Subgraph Isomorphism Counting with Graph Kernelscited by 0
- 2026Heterogeneous Graph Alignment for Joint Reasoning and Interpretabilitycited by 0
- 2026Heterogeneous Graph Alignment for Joint Reasoning and Interpretability30 Jan 2026
- 2025Graph Neural Networks for Databases: A Survey18 Feb 2025
- 2025Incomplete Graph Learning: A Comprehensive Survey18 Feb 2025
- 2025SAMGPT: Text-free Graph Foundation Model for Multi-domain Pre-training and Cross-domain Adaptation8 Feb 2025
- 2024Node-Time Conditional Prompt Learning In Dynamic Graphs22 May 2024
- 2024Towards Subgraph Isomorphism Counting with Graph Kernels13 May 2024
- 2024A Survey of Few-Shot Learning on Graphs: from Meta-Learning to Pre-Training and Prompt Learning2 Feb 2024
- 2023Generalized Graph Prompt: Toward a Unification of Pre-Training and Downstream Tasks on Graphs26 Nov 2023
- 2023A Survey of Imbalanced Learning on Graphs: Problems, Techniques, and Future Directions26 Aug 2023
- 2023Expressivity of Graph Neural Networks Through the Lens of Adversarial Robustness16 Aug 2023
- 2023GraphPrompt: Unifying Pre-Training and Downstream Tasks for Graph Neural Networks16 Feb 2023