LoG 2022

DiffWire: Inductive Graph Rewiring via the Lovász Bound

Adrián Arnaiz-Rodríguez, Ahmed Begga, Francisco Escolano, Nuria Oliver

Main figure for DiffWire: Inductive Graph Rewiring via the Lovász Bound

Abstract

Graph Neural Networks (GNNs) have been shown to achieve competitive results to tackle graph-related tasks, such as node and graph classification, link prediction and node and graph clustering in a variety of domains. Most GNNs use a message passing framework and hence are called MPNNs. Despite their promising results, MPNNs have been reported to suffer from over-smoothing, over-squashing and under-reaching. Graph rewiring and graph pooling have been proposed in the literature as solutions to address these limitations. However, most state-of-the-art graph rewiring methods fail to preserve the global topology of the graph, are neither differentiable nor inductive, and require the tuning of hyper-parameters. In this paper, we propose DiffWire, a novel framework for graph rewiring in MPNNs that is principled, fully differentiable and parameter-free by leveraging the Lov\'asz bound. The proposed approach provides a unified theory for graph rewiring by proposing two new, complementary layers in MPNNs: CT-Layer, a layer that learns the commute times and uses them as a relevance function for edge re-weighting; and GAP-Layer, a layer to optimize the spectral gap, depending on the nature of the network and the task at hand. We empirically validate the value of each of these layers separately with benchmark datasets for graph classification. We also perform preliminary studies on the use of CT-Layer for homophilic and heterophilic node classification tasks. DiffWire brings together the learnability of commute times to related definitions of curvature, opening the door to creating more expressive MPNNs.

Benchmark Results

Tested on 1 dataset

Tables show presented results in global context (best 3 papers + GCN + MLP).

TU Dortmund

#ModelAccuracy ↑Paper
1
WL-MLP
0.9792
2
MSH-GNN
0.9640 ±0.0070
3
CoCN
0.8722 ±0.0013
23
GCN
0.8260 ±0.0220
86
MINCUTPOOL
actual #86 vs paper #335 249 places worse
0.8090 ±0.0030
best reported
actual #86 vs paper #335 249 places worse
paper 0.5800 ±0.0620
paper 0.5800 ±0.0620 Δ today 0.2290
151
MLP
0.7920 ±0.0240
220
SDRF
actual #220 vs paper #338 118 places worse
0.7648 ±0.0039
best reported
actual #220 vs paper #338 118 places worse
paper 0.5660 ±0.1000
paper 0.5660 ±0.1000 Δ today 0.1988
303
CT-Layer
0.6987 ±0.0240
This paper
317
GAP-Layer(N)
0.6589 ±0.0490
This paper
334
K-NN
0.5833 ±0.1100
This paper
338
DIGL
0.5751 ±0.0590
This paper
SOTA performance (not significantly different from the best) Baseline / comparison (this paper) Global context (other papers) Best today — OK at publication; today's leaderboard best is elsewhere