Topological Graph Neural Networks
Abstract
Graph neural networks (GNNs) are a powerful architecture for tackling graph learning tasks, yet have been shown to be oblivious to eminent substructures such as cycles. We present TOGL, a novel layer that incorporates global topological information of a graph using persistent homology. TOGL can be easily integrated into any type of GNN and is strictly more expressive (in terms the Weisfeiler--Lehman graph isomorphism test) than message-passing GNNs. Augmenting GNNs with TOGL leads to improved predictive performance for graph and node classification tasks, both on synthetic data sets, which can be classified by humans using their topology but not by ordinary GNNs, and on real-world data.
Benchmark Results
Tested on 6 datasets 1 baseline value reported too low
Tables show presented results in global context (best 3 papers + GCN + MLP).
TU Dortmund
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | WL-MLP | 0.9954 | |
| 2 | GIN | 0.9934 | |
| 3 | GCN | 0.9727 | |
| 131 | GraphSAGE | 0.8200
±0.0100 | |
| 398 | GCN-1-TOGL-1 | 0.7580
±0.0180 | This paper |
| 443 | PersLay | 0.7350 | This paper |
| 469 | GFL | 0.7120
±0.0210 | This paper |
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | GMN | 0.7866 | |
| 2 | MemGNN | 0.7550 | |
| 3 | TFGW SP | 0.7510
±0.0500 | |
| 17 | GatedGCN | 0.7000
±0.0494 | |
| 18 | WL | 0.6950
±0.0320 best reported | best at pub: Dynamic Edge-Conditioned Filters in Convolutional Neural Networks on Graphs (2017) best today: Template based Graph Neural Network with Optimal Transport Distances (NeurIPS 2022) |
| 26 | GraphSAGE | 0.6817
±0.0545 | |
| 43 | GCN-4 | 0.6580
±0.0460 | This paper |
| 44 | GATED-GCN-4 | 0.6570
±0.0490 | This paper |
| 98 | WL-OA | 0.5990
±0.0110 best reported | best at pub: On Valid Optimal Assignment Kernels and Applications to Graph Classification (NeurIPS 2016) Difference within reported uncertainty; not counted as underperformance. |
| 124 | MLP | 0.5583
±0.0352 | |
| 146 | GCN-3-TOGL-1 | 0.5300
±0.0920 | This paper |
| 153 | GAT-3-TOGL-1 | 0.5150
±0.0730 | This paper |
| 160 | GIN-4 | 0.5000
±0.1230 | This paper |
| 174 | GIN-3-TOGL-1 | 0.4380
±0.0790 | This paper |
| 247 | GAT-4 | 0.2680
±0.0410 | This paper |
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | GraphSNN | 0.7790
±0.0360 | |
| 2 | SIN | 0.7560
±0.0320 | |
| 3 | CIN | 0.7560
±0.0370 | |
| 5 | GIN | 0.7510
±0.0510 | |
| 37 | GCN-1-TOGL-1 | 0.5200
±0.0400 | This paper |
| 68 | GFL | 0.4970
±0.0290 | This paper |
| 81 | PersLay | 0.4880 | This paper |
GNNBenchmark
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | Schrödinger | 0.9913
±0.0004 | |
| 2 | CNN | 0.9907
±0.0007 | |
| 3 | MPNN | 0.9895
±0.0006 | |
| 11 | GatedGCN | 0.9855
±0.0002 | |
| 32 | GIN | 0.9833
±0.0011 | |
| 98 | GATED-GCN-4 | 0.9730
±0.0010 | This paper |
| 115 | GIN-3-TOGL-1 | 0.9610
±0.0010 | This paper |
| 114 | GIN-4 | 0.9610
±0.0030 | This paper |
| 120 | GAT-3-TOGL-1 | 0.9590
±0.0030 | This paper |
| 124 | GCN-3-TOGL-1 | 0.9550
±0.0020 | This paper |
| 126 | MLP | 0.9534
±0.0014 | |
| 134 | GAT-4 | 0.9410
±0.0030 | This paper |
| 142 | GCN-4 | 0.9000
±0.0030 | This paper |
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | GRPE-Small | 0.8159
±0.0019 | |
| 2 | TANGO-GPS | 0.8011
±0.0014 | |
| 3 | GRIT | 0.8003
±0.0028 | |
| 54 | GatedGCN | 0.7608
±0.0020 | |
| 70 | GCN | 0.6903
±0.0137 | |
| 86 | GCN-3-TOGL-1 | 0.6040
±0.2000 | This paper |
| 92 | GCN-4 | 0.5700
±0.9000 | This paper |
| 114 | MLP | 0.2097
±0.0000 |
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | DeepGraph (48) | 0.9066
±0.0006 | |
| 2 | GRIT (our run) | 0.9041
±0.0023 | |
| 3 | GRIT 2-QiQRW | 0.9016
±0.0045 | |
| 45 | GIN-3-TOGL-1 | 0.8670
±0.0010 | This paper |
| 56 | GCN-3-TOGL-1 | 0.8660
±0.0010 | This paper |
| 66 | GatedGCN | 0.8651
±0.0008 | |
| 88 | GCN | 0.8561
±0.0003 | |
| 92 | GCN-4 | 0.8550
±0.0040 | This paper |
| 97 | GIN-4 | 0.8480 | This paper |
| 116 | GAT-4 | 0.7310
±0.0190 | This paper |
| 120 | GAT-3-TOGL-1 | 0.5960
±0.0330 | This paper |
| 123 | MLP | 0.5052 |
