• Home
  • Search
  • Learning to Count Isomorphisms with Graph Neural Networks
  • Cite Icon15
  • https://doi.org/10.1609/aaai.v37i4.25610Copy DOI Icon

Learning to Count Isomorphisms with Graph Neural Networks

  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

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 cost. 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.

Similar Papers
  • PDF
  • Conference Article

An Efficient Alternative to Subgraph Isomorphism and Its Advantages

  • Dec 23, 2022
  • Wenjie Zhang +2
  • Conference Article
  • Citations119

Software and Algorithms for Graph Queries on Multithreaded Architectures

  • Jan 01, 2007
  • Jonathan W Berry +3
  • Research Article

Attribute-guided Dynamic Prompt Learning for Graph Neural Networks

  • Mar 14, 2026
  • Zhuomin Liang +2
  • Conference Article
  • Citations7

Towards Anomaly-resistant Graph Neural Networks via Reinforcement Learning

  • Oct 26, 2021
  • Kaize Ding +2
  • Research Article
  • Citations2

GCFExplainer: Global Counterfactual Explainer for Graph Neural Networks

  • Oct 01, 2024
  • ACM Transactions on Intelligent Systems and Technology
  • Mert Kosan +4
  • Dissertation

Learning Robust Graph Neural Networks with Limited Supervision

  • Jan 01, 2025
  • Abdullah Alchihabi
  • Research Article
  • Citations35

Outlining and Filling: Hierarchical Query Graph Generation for Answering Complex Questions Over Knowledge Graphs

  • Aug 01, 2023
  • IEEE Transactions on Knowledge and Data Engineering
  • Yongrui Chen +4
  • Research Article
  • Citations1

Graph causal representation learning for out-of-distribution generalization.

  • Mar 01, 2026
  • Neural networks : the official journal of the International Neural Network Society
  • Xianglin Zuo +3
  • Research Article

Graph vector function architecture.

  • Dec 01, 2025
  • Neural networks : the official journal of the International Neural Network Society
  • Sachin Kahawala +4
  • Research Article
  • Citations391

On graph query optimization in large networks

  • Sep 01, 2010
  • Proceedings of the VLDB Endowment
  • Peixiang Zhao +1
  • Research Article
  • Citations7

Enhanced subgraph matching for large graphs using candidate region-based decomposition and ordering

  • Aug 07, 2023
  • Journal of King Saud University - Computer and Information Sciences
  • Zubair Ali Ansari +3
  • Research Article
  • Citations49

Reinforced Causal Explainer for Graph Neural Networks.

  • Feb 01, 2023
  • IEEE Transactions on Pattern Analysis and Machine Intelligence
  • Xiang Wang +5
  • Conference Article

The Mismatch between Graph Neural Networks’ Expressivity and Propagation Graphs in Fake News Detection

  • Aug 04, 2022
  • Sarith Imaduwage +2
  • Research Article
  • Citations32

Privacy-Preserving Graph Matching Query Supporting Quick Subgraph Extraction

  • May 01, 2024
  • IEEE Transactions on Dependable and Secure Computing
  • Xinrui Ge +2
  • PDF
  • Research Article
  • Citations7

Subgraph Matching Using Graph Neural Network

  • Jan 01, 2012
  • Journal of Intelligent Learning Systems and Applications
  • Gnanajothi Raja Baskararaja +1
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.