Keywords: graph neural networks, theory, deep learning, representational power, graph isomorphism, deep multisets
TL;DR: We develop theoretical foundations for the expressive power of GNNs and design a provably most powerful GNN.
Abstract: Graph Neural Networks (GNNs) are an effective framework for representation learning of graphs. GNNs follow a neighborhood aggregation scheme, where the representation vector of a node is computed by recursively aggregating and transforming representation vectors of its neighboring nodes. Many GNN variants have been proposed and have achieved state-of-the-art results on both node and graph classification tasks. However, despite GNNs revolutionizing graph representation learning, there is limited understanding of their representational properties and limitations. Here, we present a theoretical framework for analyzing the expressive power of GNNs to capture different graph structures. Our results characterize the discriminative power of popular GNN variants, such as Graph Convolutional Networks and GraphSAGE, and show that they cannot learn to distinguish certain simple graph structures. We then develop a simple architecture that is provably the most expressive among the class of GNNs and is as powerful as the Weisfeiler-Lehman graph isomorphism test. We empirically validate our theoretical findings on a number of graph classification benchmarks, and demonstrate that our model achieves state-of-the-art performance.
Code: [![github](/images/github_icon.svg) weihua916/powerful-gnns](https://github.com/weihua916/powerful-gnns) + [![Papers with Code](/images/pwc_icon.svg) 17 community implementations](https://paperswithcode.com/paper/?openreview=ryGs6iA5Km)
Data: [CIFAR-10](https://paperswithcode.com/dataset/cifar-10), [COLLAB](https://paperswithcode.com/dataset/collab), [IMDB-BINARY](https://paperswithcode.com/dataset/imdb-binary), [IMDB-MULTI](https://paperswithcode.com/dataset/imdb-multi), [MUTAG](https://paperswithcode.com/dataset/mutag), [NCI1](https://paperswithcode.com/dataset/nci1), [OGB](https://paperswithcode.com/dataset/ogb), [PCQM4Mv2-LSC](https://paperswithcode.com/dataset/pcqm4mv2-lsc), [PROTEINS](https://paperswithcode.com/dataset/proteins), [PTC](https://paperswithcode.com/dataset/ptc), [REDDIT-5K](https://paperswithcode.com/dataset/reddit-5k), [REDDIT-BINARY](https://paperswithcode.com/dataset/reddit-binary), [Reddit](https://paperswithcode.com/dataset/reddit), [ZINC](https://paperswithcode.com/dataset/zinc)
Community Implementations: [![CatalyzeX](/images/catalyzex_icon.svg) 9 code implementations](https://www.catalyzex.com/paper/arxiv:1810.00826/code)