HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

Weisfeiler and Lehman Go Cellular: CW Networks

Cristian Bodnar; Fabrizio Frasca; Nina Otter; Yu Guang Wang; Pietro Liò; Guido Montúfar; Michael Bronstein

Weisfeiler and Lehman Go Cellular: CW Networks

Abstract

Graph Neural Networks (GNNs) are limited in their expressive power, struggle with long-range interactions and lack a principled way to model higher-order structures. These problems can be attributed to the strong coupling between the computational graph and the input graph structure. The recently proposed Message Passing Simplicial Networks naturally decouple these elements by performing message passing on the clique complex of the graph. Nevertheless, these models can be severely constrained by the rigid combinatorial structure of Simplicial Complexes (SCs). In this work, we extend recent theoretical results on SCs to regular Cell Complexes, topological objects that flexibly subsume SCs and graphs. We show that this generalisation provides a powerful set of graph "lifting" transformations, each leading to a unique hierarchical message passing procedure. The resulting methods, which we collectively call CW Networks (CWNs), are strictly more powerful than the WL test and not less powerful than the 3-WL test. In particular, we demonstrate the effectiveness of one such scheme, based on rings, when applied to molecular graph problems. The proposed architecture benefits from provably larger expressivity than commonly used GNNs, principled modelling of higher-order signals and from compressing the distances between nodes. We demonstrate that our model achieves state-of-the-art results on a variety of molecular datasets.

Code Repositories

josefhoppe/cwn-random-ccs
pytorch
Mentioned in GitHub
twitter-research/cwn
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
graph-classification-on-cslCIN
Acc: 1
graph-property-prediction-on-ogbg-molhivCIN
Ext. data: No
Number of params: 239745
Test ROC-AUC: 0.8094 ± 0.0057
Validation ROC-AUC: 0.8277 ± 0.0099
graph-property-prediction-on-ogbg-molhivCIN-small
Ext. data: No
Number of params: 138337
Test ROC-AUC: 0.8055 ± 0.0104
Validation ROC-AUC: 0.8310 ± 0.0102
graph-regression-on-zincCIN-small
MAE: 0.094
graph-regression-on-zincCIN
MAE: 0.079
graph-regression-on-zinc-100kCIN-small
MAE: 0.094
graph-regression-on-zinc-500kCIN-small
MAE: 0.094
graph-regression-on-zinc-500kCIN
MAE: 0.079

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
Weisfeiler and Lehman Go Cellular: CW Networks | Papers | HyperAI