Can Graph Neural Networks Count Substructures?
Zhengdao Chen, Lei Chen, Soledad Villar, Joan Bruna
摘要
The ability to detect and count certain substructures in graphs is important for solving many tasks on graph-structured data, especially in the contexts of computational chemistry and biology as well as social network analysis. Inspired by this, we propose to study the expressive power of graph neural networks (GNNs) via their ability to count attributed graph substructures, extending recent works that examine their power in graph isomorphism testing and function approximation. We distinguish between two types of substructure counting: induced-subgraph-count and subgraph-count, and establish both positive and negative answers for popular GNN architectures. Specifically, we prove that Message Passing Neural Networks (MPNNs), 2-Weisfeiler-Lehman (2-WL) and 2-Invariant Graph Networks (2-IGNs) cannot perform induced-subgraph-count of any connected substructure consisting of 3 or more nodes, while they can perform subgraph-count of star-shaped substructures. As an intermediary step, we prove that 2-WL and 2-IGNs are equivalent in distinguishing non-isomorphic graphs, partly answering an open problem raised in [38] . We also prove positive results for k-WL and k-IGNs as well as negative results for k-WL with a finite number of iterations. We then conduct experiments that support the theoretical results for MPNNs and 2-IGNs. Moreover, motivated by substructure counting and inspired by [45] , we propose the Local Relational Pooling model and demonstrate that it is not only effective for substructure counting but also able to achieve competitive performance on molecular prediction tasks.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 110 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- How Powerful are Spectral Graph Neural Networks 引用了 What graph neural networks cannot learn: depth vs width
- How Powerful are Spectral Graph Neural Networks 引用了 Generalization and Representational Limits of Graph Neural Networks
- How Powerful are Spectral Graph Neural Networks 引用了 Distance Encoding: Design Provably More Powerful Neural Networks for Graph Representation Learning
- Open Graph Benchmark: Datasets for Machine Learning on Graphs 引用了 Strategies for Pre-training Graph Neural Networks
- Generalization and Representational Limits of Graph Neural Networks 引用了 What graph neural networks cannot learn: depth vs width
- Weisfeiler and Lehman Go Cellular: CW Networks 引用了 Open Graph Benchmark: Datasets for Machine Learning on Graphs
- Weisfeiler and Lehman Go Cellular: CW Networks 引用了 Strategies for Pre-training Graph Neural Networks
- Weisfeiler and Lehman Go Cellular: CW Networks 引用了 Weisfeiler and Lehman Go Topological: Message Passing Simplicial Networks
- Distance Encoding: Design Provably More Powerful Neural Networks for Graph Representation Learning 引用了 Open Graph Benchmark: Datasets for Machine Learning on Graphs
引用它的顶会 Paper110
- Distance Encoding: Design Provably More Powerful Neural Networks for Graph Representation LearningPan Li, Yanbang Wang, Hongwei Wang, Jure LeskovecNeurIPS 2020 · 391 次引用
- Weisfeiler and Lehman Go Cellular: CW NetworksCristian Bodnar, Fabrizio Frasca, Nina Otter, Yuguang Wang 等NeurIPS 2021 · 330 次引用
- Weisfeiler and Lehman Go Topological: Message Passing Simplicial NetworksCristian Bodnar, Fabrizio Frasca, Yuguang Wang, Nina Otter 等ICML 2021 · 315 次引用
- Pure Transformers are Powerful Graph LearnersJinwoo Kim, Dat Nguyen, Seonwoo Min, Sungjun Cho 等NeurIPS 2022 · 311 次引用
- How Powerful are Spectral Graph Neural NetworksXiyuan Wang, Muhan ZhangICML 2022 · 309 次引用
它引用的 Paper5
- Open Graph Benchmark: Datasets for Machine Learning on GraphsWeihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong 等NeurIPS 2020 · 3,935 次引用
- Strategies for Pre-training Graph Neural NetworksWeihua Hu, Bowen Liu, Joseph Gomes, Marinka Zitnik 等ICLR 2020 · 1,744 次引用
- Generalization and Representational Limits of Graph Neural NetworksVikas K. Garg, Stefanie Jegelka, Tommi S. JaakkolaICML 2020 · 363 次引用
- What graph neural networks cannot learn: depth vs widthAndreas LoukasICLR 2020 · 336 次引用
- Neural Subgraph Isomorphism CountingXin Liu, Haojie Pan, Mutian He, Yangqiu Song 等KDD 2020 · 70 次引用
相关 Paper
- Boosting the Cycle Counting Power of Graph Neural Networks with I-GNNsYinan Huang, Xingang Peng, Jianzhu Ma, Muhan ZhangICLR 2023 · 3 次引用
- Graph Neural Networks Can (Often) Count SubstructuresPaolo Pellizzoni, Till Hendrik Schulz, Karsten M. BorgwardtICLR 2025
- Counting Graph Substructures with Graph Neural NetworksCharilaos I. Kanatsoulis, Alejandro RibeiroICLR 2024 · 17 次引用
- Beyond Weisfeiler-Lehman: A Quantitative Framework for GNN ExpressivenessBohang Zhang, Jingchu Gai, Yiheng Du, Qiwei Ye 等ICLR 2024 · 59 次引用
- Distance-Restricted Folklore Weisfeiler-Leman GNNs with Provable Cycle Counting PowerJunru Zhou, Jiarui Feng, Xiyuan Wang, Muhan ZhangNeurIPS 2023 · 15 次引用
