The Logical Expressiveness of Graph Neural Networks
Pablo Barceló, Egor V. Kostylev, Mikaël Monet, Jorge Pérez, Juan L. Reutter, Juan Pablo Silva
摘要
The ability of graph neural networks (GNNs) for distinguishing nodes in graphs has been recently characterized in terms of the Weisfeiler-Lehman (WL) test for checking graph isomorphism. This characterization, however, does not settle the issue of which Boolean node classifiers (i.e., functions classifying nodes in graphs as true or false) can be expressed by GNNs. We tackle this problem by focusing on Boolean classifiers expressible as formulas in the logic FOC 2 , a well-studied fragment of first order logic. FOC 2 is tightly related to the WL test, and hence to GNNs. We start by studying a popular class of GNNs, which we call AC-GNNs, in which the features of each node in the graph are updated, in successive layers, only in terms of the features of its neighbors. We show that this class of GNNs is too weak to capture all FOC 2 classifiers, and provide a syntactic characterization of the largest subclass of FOC 2 classifiers that can be captured by AC-GNNs. This subclass coincides with a logic heavily used by the knowledge representation community. We then look at what needs to be added to AC-GNNs for capturing all FOC 2 classifiers. We show that it suffices to add readout functions, which allow to update the features of a node not only in terms of its neighbors, but also in terms of a global attribute vector. We call GNNs of this kind ACR-GNNs. We experimentally validate our findings showing that, on synthetic data conforming to FOC 2 formulas, AC-GNNs struggle to fit the training data while ACR-GNNs can generalize even to graphs of sizes not seen during training.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 94 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Erdos Goes Neural: an Unsupervised Learning Framework for Combinatorial Optimization on Graphs 引用了 Generalization and Representational Limits of Graph Neural Networks
- Weisfeiler and Leman go sparse: Towards scalable higher-order graph embeddings 引用了 Generalization and Representational Limits of Graph Neural Networks
- On Over-Squashing in Message Passing Neural Networks: The Impact of Width, Depth, and Topology 引用了 Understanding over-squashing and bottlenecks on graphs via curvature
引用它的顶会 Paper94
- Understanding over-squashing and bottlenecks on graphs via curvatureJake Topping, Francesco Di Giovanni, Benjamin Paul Chamberlain, Xiaowen Dong 等ICLR 2022 · 628 次引用
- Generalization and Representational Limits of Graph Neural NetworksVikas K. Garg, Stefanie Jegelka, Tommi S. JaakkolaICML 2020 · 363 次引用
- Erdos Goes Neural: an Unsupervised Learning Framework for Combinatorial Optimization on GraphsNikolaos Karalias, Andreas LoukasNeurIPS 2020 · 190 次引用
- Weisfeiler and Leman go sparse: Towards scalable higher-order graph embeddingsChristopher Morris, Gaurav Rattan, Petra MutzelNeurIPS 2020 · 190 次引用
- On Over-Squashing in Message Passing Neural Networks: The Impact of Width, Depth, and TopologyFrancesco Di Giovanni, Lorenzo Giusti, Federico Barbero, Giulia Luise 等ICML 2023 · 190 次引用
相关 Paper
- Calibrate and Boost Logical Expressiveness of GNN Over Multi-Relational and Temporal GraphsYeyuan Chen, Dingmin WangNeurIPS 2023 · 2 次引用
- The Correspondence Between Bounded Graph Neural Networks and Fragments of First-Order LogicBernardo Cuenca Grau, Eva Feng, Przemyslaw Andrzej WalegaAAAI 2026 · 4 次引用
- Towards a Complete Logical Framework for GNN ExpressivenessTuo XuICLR 2025
- 𝒩-WL: A New Hierarchy of Expressivity for Graph Neural NetworksQing Wang, Dillon Ze Chen, Asiri Wijesinghe, Shouheng Li 等ICLR 2023
- Are Targeted Messages More Effective?Martin Grohe, Eran RosenbluthLICS 2024
