Probabilistic Graph Rewiring via Virtual Nodes
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.
Benchmark Results
Tested on 1 dataset
Tables show presented results in global context (best 3 papers + GCN + MLP).
LRGB
| # | Model | MAE ↓ | Paper |
|---|---|---|---|
| 1 | GCN | 0.2421
±0.0016 best reported | best at pub: Where Did the Gap Go? Reassessing the Long-Range Graph Benchmark (TMLR 2023) best today: From Message-Passing to Linearized Graph Sequence Models (2026) |
| 2 | IPR-MPNN | 0.2422
±0.0007 | This paper |
| 3 | TANGO-GPS | 0.2422
±0.0014 | |
| 5 | GIN | 0.2429
±0.0019 | |
| 8 | AMP | 0.2431
±0.0004 | This paper |
| 16 | S2GCN+PE | 0.2447
±0.0007 | This paper |
| 19 | Graph ViT | 0.2449
±0.0016 | This paper |
| 29 | GatedGCN+PE+VN_G | 0.2458
±0.0006 | This paper |
| 32 | GRIT | 0.2460
±0.0012 | This paper |
| 43 | S2GCN | 0.2467
±0.0019 | This paper |
| 47 | NBA | 0.2472
±0.0008 | This paper |
| 49 | GINE | 0.2473
±0.0017 | This paper |
| 55 | Graph MLP-Mixer | 0.2475
±0.0015 | This paper |
| 59 | PR-MPNN | 0.2477
±0.0005 | This paper |
| 66 | Exphormer | 0.2481
±0.0007 | This paper |
| 85 | GPS | 0.2500
±0.0005 best reported | best at pub: Recurrent Distance Filtering for Graph Representation Learning (ICML 2023) best today: Bridging Input Feature Spaces Towards Graph Foundation Models (ICLR 2026) Difference within reported uncertainty; not counted as underperformance. |
| 115 | DRew | 0.2536
±0.0015 | This paper |
| 201 | MLP | 0.4351
±0.0008 |
