What Functions Can Graph Neural Networks Generate?
Not on the map. Why?
Abstract (arXiv)
In this paper, we fully answer the above question through a key algebraic condition on graph functions, called textitpermutation compatibility, that relates permutations of weights and features of the graph to functional constraints. We prove that: (i) a GNN, as a graph function, is necessarily permutation compatible; (ii) conversely, any permutation compatible function, when restricted on input graphs with distinct node features, can be generated by a GNN; (iii) for arbitrary node features (not necessarily distinct), a simple feature augmentation scheme suffices to generate a permutation compatible function by a GNN; (iv) permutation compatibility can be verified by checking only quadratically many functional constraints, rather than an exhaustive search over all the permutations; (v) GNNs can generate textitany graph function once we augment the node features with node identities, thus going beyond graph isomorphism and permutation compatibility. The above characterizations pave the path to formally study the intricate connection between GNNs and other algorithmic procedures on graphs. For instance, our characterization implies that many natural graph problems, such as min-cut value, max-flow value, max-clique size, and shortest path can be generated by a GNN using a simple feature augmentation. In contrast, the celebrated Weisfeiler-Lehman graph-isomorphism test fails whenever a permutation compatible function with identical features cannot be generated by a GNN. At the heart of our analysis lies a novel representation theorem that identifies basis functions for GNNs. This enables us to translate the properties of the target graph function into properties of the GNN's aggregation function.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 34 of its 51 references that are in the map. First posted on arXiv 17 Feb 2022.
Builds on
34 of 51 references.
References · 34
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
- 2017Graph Attention Networkscited by 8,923
- 2017Inductive Representation Learning on Large Graphscited by 6,320
- 2018How Powerful are Graph Neural Networks?cited by 4,393
- 2017Neural Message Passing for Quantum Chemistrycited by 3,487
- 2016Convolutional Neural Networks on Graphs with Fast Localized Spectral Filteringcited by 2,089
- 2017Deep Setscited by 1,421
- 2018Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networkscited by 881
- 2018Representation Learning on Graphs with Jumping Knowledge Networkscited by 877
- 2015Gated Graph Sequence Neural Networkscited by 796
- 2018Hierarchical Graph Representation Learning with Differentiable Poolingcited by 787
- 2015Convolutional Networks on Graphs for Learning Molecular Fingerprintscited by 754
22 more
- 2020Benchmarking Graph Neural Networkscited by 680
- 2016Interaction Networks for Learning about Objects, Relations and Physicscited by 509
- 2019Provably Powerful Graph Networkscited by 389
- 2018Invariant and Equivariant Graph Networkscited by 346
- 2019KGAT: Knowledge Graph Attention Network for Recommendationcited by 343
- 2018Auto-Encoding Scene Graphs for Image Captioningcited by 255
- 2016Molecular Graph Convolutions: Moving Beyond Fingerprintscited by 238
- 2019Position-aware Graph Neural Networkscited by 203
- 2021Identity-aware Graph Neural Networkscited by 198
- 2020Random Features Strengthen Graph Neural Networkscited by 186
- 2019On the equivalence between graph isomorphism testing and function approximation with GNNscited by 172
- 2018Measuring abstract reasoning in neural networkscited by 166
- 2019What Can Neural Networks Reason About?cited by 159
- 2019On the Universality of Invariant Networkscited by 152
- 2019Neural Execution of Graph Algorithmscited by 121
- 2020Graphon Neural Networks and the Transferability of Graph Neural Networkscited by 118
- 2018Janossy Pooling: Learning Deep Permutation-Invariant Functions for Variable-Size Inputscited by 98
- 2018Convolutional Neural Network Architectures for Signals Supported on Graphscited by 95
- 2018Constrained Generation of Semantically Valid Graphs via Regularizing Variational Autoencoderscited by 74
- 2019Reinforcement Learning Based Graph-to-Sequence Model for Natural Question Generationcited by 57
- 2018Graph Capsule Convolutional Neural Networkscited by 27
- 2019Invariance-Preserving Localized Activation Functions for Graph Neural Networkscited by 14
Built on by
Citing papers per year: 2022: 1; 2023: 3; 2024: 1.
5 papers.
- 2022Towards Better Out-of-Distribution Generalization of Neural Algorithmic Reasoning Taskscited by 30
- 2023SwinGNN: Rethinking Permutation Invariance in Diffusion Models for Graph Generationcited by 28
- 2023Universal Representation of Permutation-Invariant Functions on Vectors and Tensorscited by 10
- 2024Learning time-dependent PDE via graph neural networks and deep operator network for robust accuracy on irregular gridscited by 7
- 2023Polynomial Width is Sufficient for Set Representation with High-dimensional Featurescited by 6
- 2024Learning time-dependent PDE via graph neural networks and deep operator network for robust accuracy on irregular grids13 Feb 2024
- 2023Universal Representation of Permutation-Invariant Functions on Vectors and Tensors20 Oct 2023
- 2023Polynomial Width is Sufficient for Set Representation with High-dimensional Features8 Jul 2023
- 2023SwinGNN: Rethinking Permutation Invariance in Diffusion Models for Graph Generation4 Jul 2023
- 2022Towards Better Out-of-Distribution Generalization of Neural Algorithmic Reasoning Tasks1 Nov 2022