FoSR: First-order spectral rewiring for addressing oversquashing in GNNs

Kedar Karhadkar, Pradeep Kr. Banerjee, Guido Montúfar
10/21/2022
141 citations
cs.LGstat.ML
gnn

Official code: kedar2/FoSR (9 stars, Python, last commit 2022-11-13).

Abstract

Graph neural networks (GNNs) are able to leverage the structure of graph data by passing messages along the edges of the graph. While this allows GNNs to learn features depending on the graph structure, for certain graph topologies it leads to inefficient information propagation and a problem known as oversquashing.

Show full abstract

This has recently been linked with the curvature and spectral gap of the graph. On the other hand, adding edges to the message-passing graph can lead to increasingly similar node representations and a problem known as oversmoothing. We propose a computationally efficient algorithm that prevents oversquashing by systematically adding edges to the graph based on spectral expansion. We combine this with a relational architecture, which lets the GNN preserve the original graph structure and provably prevents oversmoothing. We find experimentally that our algorithm outperforms existing graph rewiring methods in several graph classification tasks.

View on arXivView PDF

Code Implementations(1)

kedar2/FoSROfficial100%

FoSR: First-order spectral rewiring for addressing oversquashing in GNNs

94PythonJun 27, 20224 years ago
deep-learninggraph-neural-networksmachine-learningspectral-graph-theory

Similar Papers

Cite this paper

@article{karhadkar2022fosr,
  title  = {FoSR: First-order spectral rewiring for addressing oversquashing in GNNs},
  author = {Kedar Karhadkar and Pradeep Kr. Banerjee and Guido Montúfar},
  year   = {2022},
  eprint = {2210.11790},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.11790}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.11790.svg)](https://codeofpaper.com/paper/2210.11790)

Discussion