HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Improving Graph Neural Network Expressivity via Subgraph Isomorphism Counting

Giorgos Bouritsas Fabrizio Frasca Stefanos Zafeiriou Michael M. Bronstein

Improving Graph Neural Network Expressivity via Subgraph Isomorphism Counting

Abstract

While Graph Neural Networks (GNNs) have achieved remarkable results in a variety of applications, recent studies exposed important shortcomings in their ability to capture the structure of the underlying graph. It has been shown that the expressive power of standard GNNs is bounded by the Weisfeiler-Leman (WL) graph isomorphism test, from which they inherit proven limitations such as the inability to detect and count graph substructures. On the other hand, there is significant empirical evidence, e.g. in network science and bioinformatics, that substructures are often intimately related to downstream tasks. To this end, we propose "Graph Substructure Networks" (GSN), a topologically-aware message passing scheme based on substructure encoding. We theoretically analyse the expressive power of our architecture, showing that it is strictly more expressive than the WL test, and provide sufficient conditions for universality. Importantly, we do not attempt to adhere to the WL hierarchy; this allows us to retain multiple attractive properties of standard GNNs such as locality and linear network complexity, while being able to disambiguate even hard instances of graph isomorphism. We perform an extensive experimental evaluation on graph classification and regression tasks and obtain state-of-the-art results in diverse real-world settings including molecular graphs and social networks. The code is publicly available at https://github.com/gbouritsas/graph-substructure-networks.

Code Repositories

gbouritsas/gsn
pytorch
Mentioned in GitHub
gbouritsas/graph-substructure-networks
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
graph-property-prediction-on-ogbg-molhivGSN
Ext. data: No
Number of params: 3338701
Test ROC-AUC: 0.7799 ± 0.0100
Validation ROC-AUC: 0.8658 ± 0.0084
graph-property-prediction-on-ogbg-molhivdirectional GSN
Ext. data: No
Number of params: 114211
Test ROC-AUC: 0.8039 ± 0.0090
Validation ROC-AUC: 0.8473 ± 0.0096
graph-regression-on-zinc-100kGSN
MAE: 0.115
graph-regression-on-zinc-500kGSN
MAE: 0.101

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp