SOTAVerified

DiffWire: Inductive Graph Rewiring via the Lovász Bound

2022-06-15Code Available1· sign in to hype

Adrian Arnaiz-Rodriguez, Ahmed Begga, Francisco Escolano, Nuria Oliver

Code Available — Be the first to reproduce this paper.

Reproduce

Code

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.

Tasks

Benchmark Results

DatasetModelMetricClaimedVerifiedStatus
COLLABGAP-Layer (Ncut)Accuracy65.89Unverified
COLLABCT-LayerAccuracy69.87Unverified
COLLABDiffWireAccuracy72.24Unverified
COLLABGAP-Layer (Rcut)Accuracy64.47Unverified
IMDB-BINARYCT-LayerAccuracy69.84Unverified
IMDB-BINARYGAP-Layer (Rcut)Accuracy69.93Unverified
IMDB-BINARYGAP-Layer (Ncut)Accuracy68.8Unverified
MUTAGGAP-Layer (Ncut)Accuracy86.9Unverified
MUTAGGAP-Layer (Rcut)Accuracy86.9Unverified
MUTAGCT-LayerAccuracy87.58Unverified
PROTEINSGAP-Layer (Ncut)Accuracy75.34Unverified
PROTEINSCT-LayerAccuracy75.38Unverified
PROTEINSGAP-Layer (Rcut)Accuracy75.03Unverified
PROTEINSDiffWireAccuracy74.91Unverified
REDDIT-BINARYGAP-Layer (Rcut)Accuracy77.63Unverified
REDDIT-BINARYCT-LayerAccuracy78.45Unverified
REDDIT-BINARYDiffWireAccuracy77.17Unverified
REDDIT-BINARYGAP-Layer (Ncut)Accuracy76Unverified

Reproductions