Probabilistic Graph Rewiring via Virtual Nodes

Chendi Qian, Andrei Manolache, Christopher Morris, Mathias Niepert
5/27/2024
cs.LG

No official code found. Best implementation: chendiqian/IPR-MPNN (8 stars, last commit 2025-02-06).

Abstract

Message-passing graph neural networks (MPNNs) have emerged as a powerful paradigm for graph-based machine learning. Despite their effectiveness, MPNNs face challenges such as under-reaching and over-squashing, where limited receptive fields and structural bottlenecks hinder information flow in the graph. While graph transformers hold promise in addressing these issues, their scalability is limited due to quadratic complexity regarding the number of nodes, rendering them impractical for larger graphs. Here, we propose implicitly rewired message-passing neural networks (IPR-MPNNs), a novel approach that integrates implicit probabilistic graph rewiring into MPNNs. By introducing a small number of virtual nodes, i.e., adding additional nodes to a given graph and connecting them to existing nodes, in a differentiable, end-to-end manner, IPR-MPNNs enable long-distance message propagation, circumventing quadratic complexity. Theoretically, we demonstrate that IPR-MPNNs surpass the expressiveness of traditional MPNNs. Empirically, we validate our approach by showcasing its ability to mitigate under-reaching and over-squashing effects, achieving state-of-the-art performance across multiple graph datasets. Notably, IPR-MPNNs outperform graph transformers while maintaining significantly faster computational efficiency.

View on arXivView PDF

Code Implementations(1)

chendiqian/IPR-MPNNCommunity100%

Implementation for paper "Probabilistic Graph Rewiring via Virtual Nodes", accepted at NeurIPS 2024

84PythonNov 5, 20231 years ago

Similar Papers

Cite this paper

@article{qian2024probabilistic,
  title  = {Probabilistic Graph Rewiring via Virtual Nodes},
  author = {Chendi Qian and Andrei Manolache and Christopher Morris and Mathias Niepert},
  year   = {2024},
  eprint = {2405.17311},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2405.17311},
  url    = {http://arxiv.org/abs/2405.17311v3},
  journal = {NEURIPS 2024 2024}
}

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

Discussion