TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/How Powerful are Graph Neural Networks?

How Powerful are Graph Neural Networks?

Keyulu Xu, Weihua Hu, Jure Leskovec, Stefanie Jegelka

2018-10-01ICLR 2019 5Molecular Property PredictionGraph Representation LearningRepresentation LearningGraph RegressionGraph ClassificationNode ClassificationGeneral Classification
PaperPDFCodeCode(official)CodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCode

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.

Results

TaskDatasetMetricValueModel
Graph RegressionPCQM4Mv2-LSCTest MAE0.1218GIN
Graph RegressionPCQM4Mv2-LSCValidation MAE0.1195GIN
Graph RegressionZINC-500kMAE0.526GIN
Graph ClassificationCOX2Accuracy(10-fold)81.13GIN-0
Graph ClassificationCIFAR10 100kAccuracy (%)53.28GIN
Graph ClassificationREDDIT-BAccuracy92.4GIN-0
Node ClassificationPATTERN 100kAccuracy (%)85.59GIN
Graph Property Predictionogbg-molhivNumber of params3336306GIN+virtual node
Graph Property Predictionogbg-molhivNumber of params1885206GIN
Graph Property Predictionogbg-code2Number of params13841815GIN+virtual node
Graph Property Predictionogbg-code2Number of params12390715GIN
Graph Property Predictionogbg-ppaNumber of params3288042GIN+virtual node
Graph Property Predictionogbg-ppaNumber of params1836942GIN
Graph Property Predictionogbg-molpcbaNumber of params3374533GIN+virtual node
Graph Property Predictionogbg-molpcbaNumber of params1923433GIN
ClassificationCOX2Accuracy(10-fold)81.13GIN-0
ClassificationCIFAR10 100kAccuracy (%)53.28GIN
ClassificationREDDIT-BAccuracy92.4GIN-0

Related Papers

Touch in the Wild: Learning Fine-Grained Manipulation with a Portable Visuo-Tactile Gripper2025-07-20SMART: Relation-Aware Learning of Geometric Representations for Knowledge Graphs2025-07-17Spectral Bellman Method: Unifying Representation and Exploration in RL2025-07-17Boosting Team Modeling through Tempo-Relational Representation Learning2025-07-17Similarity-Guided Diffusion for Contrastive Sequential Recommendation2025-07-16Are encoders able to learn landmarkers for warm-starting of Hyperparameter Optimization?2025-07-16Language-Guided Contrastive Audio-Visual Masked Autoencoder with Automatically Generated Audio-Visual-Text Triplets from Videos2025-07-16A Mixed-Primitive-based Gaussian Splatting Method for Surface Reconstruction2025-07-15