On Over-Squashing in Message Passing Neural Networks: The Impact of Width, Depth, and Topology

Francesco Di Giovanni, Lorenzo Giusti, Federico Barbero, Giulia Luise, Pietro Lio' +1 more
2/6/2023
cs.LGcs.AIcs.DM

No official code found. Best implementation: lrnzgiusti/on-oversquashing (16 stars, MIT, last commit 2023-09-04).

Abstract

Message Passing Neural Networks (MPNNs) are instances of Graph Neural Networks that leverage the graph to send messages over the edges. This inductive bias leads to a phenomenon known as over-squashing, where a node feature is insensitive to information contained at distant nodes. Despite recent methods introduced to mitigate this issue, an understanding of the causes for over-squashing and of possible solutions are lacking. In this theoretical work, we prove that: (i) Neural network width can mitigate over-squashing, but at the cost of making the whole network more sensitive; (ii) Conversely, depth cannot help mitigate over-squashing: increasing the number of layers leads to over-squashing being dominated by vanishing gradients; (iii) The graph topology plays the greatest role, since over-squashing occurs between nodes at high commute (access) time. Our analysis provides a unified framework to study different recent methods introduced to cope with over-squashing and serves as a justification for a class of methods that fall under graph rewiring.

View on arXivView PDF

Code Implementations(1)

MIT

Official repository for On Over-Squashing in Message Passing Neural Networks (ICML 2023)

164Shell, PythonSep 4, 20233 years agoMIT
graph-attention-networksgraph-convolutional-networksgraph-isomorphism-networksgraph-neural-networksgraph-sage+2 more

Similar Papers

Cite this paper

@article{giovanni2023oversquashing,
  title  = {On Over-Squashing in Message Passing Neural Networks: The Impact of Width, Depth, and Topology},
  author = {Francesco Di Giovanni and Lorenzo Giusti and Federico Barbero and Giulia Luise and Pietro Lio' and Michael Bronstein},
  year   = {2023},
  eprint = {2302.02941},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.02941v3},
  journal = {ICML 2023 2023}
}

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/2302.02941.svg)](https://codeofpaper.com/paper/2302.02941)

Discussion