Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Path Neural Networks: Expressive and Accurate Graph Neural Networks

About

Graph neural networks (GNNs) have recently become the standard approach for learning with graph-structured data. Prior work has shed light into their potential, but also their limitations. Unfortunately, it was shown that standard GNNs are limited in their expressive power. These models are no more powerful than the 1-dimensional Weisfeiler-Leman (1-WL) algorithm in terms of distinguishing non-isomorphic graphs. In this paper, we propose Path Neural Networks (PathNNs), a model that updates node representations by aggregating paths emanating from nodes. We derive three different variants of the PathNN model that aggregate single shortest paths, all shortest paths and all simple paths of length up to K. We prove that two of these variants are strictly more powerful than the 1-WL algorithm, and we experimentally validate our theoretical results. We find that PathNNs can distinguish pairs of non-isomorphic graphs that are indistinguishable by 1-WL, while our most expressive PathNN variant can even distinguish between 3-WL indistinguishable graphs. The different PathNN variants are also evaluated on graph classification and graph regression datasets, where in most cases, they outperform the baseline methods.

Gaspard Michel, Giannis Nikolentzos, Johannes Lutzeyer, Michalis Vazirgiannis• 2023

Related benchmarks

TaskDatasetResultRank
Graph ClassificationPROTEINS
Accuracy75.2
1383
Graph ClassificationMUTAG
Accuracy90.2
1229
Graph ClassificationNCI1
Accuracy77.5
707
Graph ClassificationIMDB-M
Accuracy50.8
434
Graph ClassificationNCI109
Accuracy78.1
275
Graph RegressionPeptides struct LRGB (test)
MAE0.254
255
Graph ClassificationPROTEINS (10-fold cross-validation)
Accuracy75.2
223
Graph ClassificationPeptides-func LRGB (test)
AP0.6384
213
Graph ClassificationIMDB-B
Mean Accuracy72.6
181
Graph RegressionZINC 12K (test)
MAE0.09
173
Showing 10 of 147 rows
...

Other info

Code

Follow for update