Local Virtual Nodes for Alleviating Over-Squashing in Graph Neural Networks
Abstract
Over-squashing is a challenge in training graph neural networks for tasks involving long-range dependencies. In such tasks, a GNN's receptive field should be large enough to enable communication between distant nodes. However, gathering information from a wide range of neighborhoods and squashing its content into fixed-size node representations makes message-passing vulnerable to bottlenecks. Graph rewiring and adding virtual nodes are commonly studied remedies that create additional pathways around bottlenecks to mitigate over-squashing. However, these techniques alter the input graph's global topology and disrupt the domain knowledge encoded in the original graph structure, both of which could be essential to specific tasks and domains. This study presents Local Virtual Nodes (LVN) with trainable embeddings to alleviate the effects of over-squashing without significantly corrupting the global structure of the input graph. The position of the LVNs is determined by the node centrality, which indicates the existence of potential bottlenecks. Thus, the proposed approach aims to improve the connectivity in the regions with likely bottlenecks. Furthermore, trainable LVN embeddings shared across selected central regions facilitate communication between distant nodes without adding more layers. Extensive experiments on benchmark datasets demonstrate that LVNs can enhance structural connectivity and significantly improve performance on graph and node classification tasks. The code can be found at https://github.com/ALLab-Boun/LVN/.
Benchmark Results
Tested on 10 datasets 31 baseline values reported too low
Tables show presented results in global context (best 3 papers + GCN + MLP).
Classic
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | GraphSAGE+CNA | 0.9418
±0.0033 | |
| 2 | GCN+CNA | 0.9366
±0.0048 | |
| 3 | TransformerConv | 0.9350
±0.0058 | |
| 21 | GCN | 0.9004 best reported | best at pub: Understanding Heterophily for Graph Neural Networks (ICML 2024) |
| 39 | SAGE | 0.8911
±0.0012 | |
| 114 | DIGL | 0.8761
±0.0029 | This paper |
| 118 | BORF | 0.8758
±0.0033 | This paper |
| 121 | SDRF | 0.8751
±0.0029 | |
| 150 | LVN | 0.8690
±0.0038 | This paper |
| 152 | FoSR | 0.8688
±0.0031 | This paper |
| 164 | PANDA | 0.8669
±0.0043 | This paper |
| 724 | MLP | 0.7768 |
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | CNA | 0.9575
±0.0058 | |
| 2 | IS-GIB | 0.9390
±0.0187 | |
| 3 | EERM | 0.9112
±0.0145 | |
| 44 | GCN | 0.8033
±0.0088 best reported | best at pub: NTFormer: A Composite Node Tokenized Graph Transformer for Node Classification (2024) |
| 61 | GraphSAGE | 0.7923
±0.0053 | |
| 181 | LVN | 0.7498
±0.0048 | This paper |
| 182 | PANDA | 0.7497
±0.0048 | This paper |
| 237 | FoSR | 0.7388
±0.0032 | This paper |
| 247 | DIGL | 0.7376
±0.0035 | This paper |
| 248 | SDRF | 0.7374
±0.0034 | |
| 292 | BORF | 0.7332
±0.0028 | This paper |
| 350 | MLP | 0.7289
±0.0010 |
TU Dortmund
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | MSH-GNN | 0.9910
±0.0030 | |
| 2 | ID-GNN+BEC | 0.9830
±0.0360 | |
| 3 | SupCosine | 0.9830
±0.0250 | |
| 39 | GIN | 0.9330
±0.0290 | |
| 63 | GCN | 0.9220
±0.0440 best reported | best at pub: Depth-Adaptive Graph Neural Networks via Learnable Bakry-Émery Curvature (KDD 2025) |
| 403 | MLP | 0.8660
±0.0495 | |
| 455 | LVN | 0.8478
±0.0290 | This paper |
| 522 | PANDA | 0.8300
±0.0188 | This paper |
| 562 | LASER | 0.8220
±0.0673 best reported | best at pub: Locality-Aware Graph Rewiring in GNNs (ICLR 2023) Difference within reported uncertainty; not counted as underperformance. |
| 577 | BORF | 0.8168
±0.0796 best reported | best at pub: Locality-Aware Graph Rewiring in GNNs (ICLR 2023) Difference within reported uncertainty; not counted as underperformance. |
| 605 | FoSR | 0.8040
±0.0243 | prev best: Locality-Aware Graph Rewiring in GNNs (ICLR 2023) Improvement within reported uncertainty; not highlighted. |
| 633 | SDRF | 0.7950
±0.0260 best reported | best at pub: Mitigating Over-Squashing in Graph Neural Networks by Spectrum-Preserving Sparsification (ICML 2025) |
| 699 | DIGL | 0.7600
±0.0307 | This paper |
| 760 | Last layer FA | 0.6940
±0.0324 | This paper |
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | WL-MLP | 0.9792 | |
| 2 | MSH-GNN | 0.9640
±0.0070 | |
| 3 | CoCN | 0.8722
±0.0013 | |
| 23 | GCN | 0.8260
±0.0220 best reported | best at pub: Scalable Expressiveness through Preprocessed Graph Perturbations (2024) |
| 30 | GIN | 0.8220
±0.0210 | |
| 151 | MLP | 0.7920
±0.0240 | |
| 213 | FoSR | 0.7681
±0.0045 best reported | best at pub: FoSR: First-order Spectral Rewiring for addressing Oversquashing in GNNs (ICLR 2022) |
| 220 | SDRF | 0.7648
±0.0039 best reported | best at pub: FoSR: First-order Spectral Rewiring for addressing Oversquashing in GNNs (ICLR 2022) |
| 243 | Last layer FA | 0.7543
±0.0049 best reported | best at pub: FoSR: First-order Spectral Rewiring for addressing Oversquashing in GNNs (ICLR 2022) |
| 286 | LASER | 0.7188
±0.0057 | prev best: Locality-Aware Graph Rewiring in GNNs (ICLR 2023) Improvement within reported uncertainty; not highlighted. |
| 288 | LVN | 0.7152
±0.0066 | This paper |
| 310 | PANDA | 0.6806
±0.0062 | This paper |
| 338 | DIGL | 0.5751
±0.0590 best reported | best at pub: DiffWire: Inductive Graph Rewiring via the Lovász Bound (LoG 2022) |
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | GMN | 0.7866 | |
| 2 | MemGNN | 0.7550 | |
| 3 | TFGW SP | 0.7510
±0.0500 | |
| 17 | GatedGCN | 0.7000
±0.0494 | |
| 26 | GraphSAGE | 0.6817
±0.0545 | |
| 36 | GCN | 0.6650
±0.0691 best reported | best at pub: Hierarchical Graph Capsule Network (AAAI 2020) |
| 124 | MLP | 0.5583
±0.0352 | |
| 164 | Last layer FA | 0.4818
±0.0140 best reported | best at pub: FoSR: First-order Spectral Rewiring for addressing Oversquashing in GNNs (ICLR 2022) |
| 170 | FoSR | 0.4555
±0.0126 best reported | best at pub: FoSR: First-order Spectral Rewiring for addressing Oversquashing in GNNs (ICLR 2022) |
| 189 | SDRF | 0.3958
±0.0133 best reported | best at pub: FoSR: First-order Spectral Rewiring for addressing Oversquashing in GNNs (ICLR 2022) |
| 201 | DIGL | 0.3760
±0.0120 best reported | best at pub: FoSR: First-order Spectral Rewiring for addressing Oversquashing in GNNs (ICLR 2022) |
| 206 | BORF | 0.3550
±0.0120 best reported | best at pub: Revisiting Over-smoothing and Over-squashing using Ollivier's Ricci Curvature (ICML 2022) |
| 209 | LASER | 0.3530
±0.0130 best reported | best at pub: Mitigating Over-Squashing in Graph Neural Networks by Spectrum-Preserving Sparsification (ICML 2025) Difference within reported uncertainty; not counted as underperformance. |
| 222 | PANDA | 0.3207
±0.0186 | This paper |
| 223 | LVN | 0.3140
±0.0209 | This paper |
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | ID-GNN+BEC | 0.8150
±0.0240 | |
| 2 | GIN+BEC | 0.8080
±0.0330 | |
| 3 | GCN+BEC | 0.7990
±0.0340 | |
| 4 | GCN | 0.7980
±0.0230 best reported | best at pub: Depth-Adaptive Graph Neural Networks via Learnable Bakry-Émery Curvature (KDD 2025) |
| 14 | GIN | 0.7810
±0.0350 | |
| 112 | FoSR | 0.7181
±0.0088 best reported | best at pub: FoSR: First-order Spectral Rewiring for addressing Oversquashing in GNNs (ICLR 2022) |
| 132 | Last layer FA | 0.7091
±0.0079 best reported | best at pub: FoSR: First-order Spectral Rewiring for addressing Oversquashing in GNNs (ICLR 2022) |
| 135 | SDRF | 0.7021
±0.0081 best reported | best at pub: FoSR: First-order Spectral Rewiring for addressing Oversquashing in GNNs (ICLR 2022) |
| 138 | LVN | 0.6872
±0.0148 | This paper |
| 147 | DIGL | 0.6439
±0.0091 best reported | best at pub: FoSR: First-order Spectral Rewiring for addressing Oversquashing in GNNs (ICLR 2022) |
| 148 | LASER | 0.6433
±0.0330 best reported | best at pub: Locality-Aware Graph Rewiring in GNNs (ICLR 2023) |
| 149 | PANDA | 0.6408
±0.0132 | This paper |
| 151 | BORF | 0.6082
±0.0388 best reported | best at pub: Locality-Aware Graph Rewiring in GNNs (ICLR 2023) |
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | GIN-0 | 0.9240
±0.0250 | |
| 2 | GIN-ε | 0.9220
±0.0230 | |
| 3 | DMoN | 0.9100
±0.0100 | |
| 19 | LASER | 0.8813
±0.0055 | prev best: Locality-Aware Graph Rewiring in GNNs (ICLR 2023) Improvement within reported uncertainty; not highlighted. |
| 30 | FoSR | 0.8593
±0.0279 best reported | best at pub: Locality-Aware Graph Rewiring in GNNs (ICLR 2023) |
| 32 | LVN | 0.8562
±0.0099 | This paper |
| 37 | SDRF | 0.8442
±0.0278 best reported | best at pub: Locality-Aware Graph Rewiring in GNNs (ICLR 2023) |
| 41 | PANDA | 0.8008
±0.0124 | This paper |
| 48 | Last layer FA | 0.5868
±0.0242 | This paper |
| 49 | GCN | 0.5653
±0.0260 | prev best: Contrastive Multi-View Representation Learning on Graphs (ICML 2020) |
| 50 | DIGL | 0.5044
±0.0094 | This paper |
Heterophilic Graphs
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | P^2GNN | 0.9672
±0.0147 | |
| 2 | DoG | 0.9660
±0.0210 | |
| 3 | GPF-plus | 0.9583
±0.0419 | |
| 34 | MLP | 0.9230
±0.0070 | |
| 53 | GraphSAGE | 0.9000
±0.0365 | |
| 257 | GCN | 0.7933
±0.0447 best reported | best at pub: Graph Wave Networks (WWW 2025) |
| 322 | BORF | 0.7488
±0.0012 best reported | |
| 445 | SDRF | 0.5151
±0.0171 | |
| 478 | DIGL | 0.5157
±0.0178 | |
| 480 | FoSR | 0.6185
±0.0141 best reported | best at pub: Dynamic Triangulation-Based Graph Rewiring for Graph Neural Networks (2025) |
| 483 | LVN | 0.6137
±0.0203 | This paper |
| 574 | PANDA | 0.5411
±0.0215 | This paper |
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | P^2GNN | 0.9541
±0.0272 | |
| 2 | ACM-GCN | 0.9480
±0.0380 | |
| 3 | RF-GCN | 0.9429 | |
| 24 | MLP | 0.9136
±0.0070 | |
| 138 | SAGE | 0.8269 | |
| 170 | GCN | 0.8082
±0.0360 best reported | best at pub: Bayesian Neighborhood Adaptation for Graph Neural Networks (TMLR 2025) |
| 401 | DIGL | 0.4865
±0.0150 | |
| 431 | SDRF | 0.4762
±0.0175 | |
| 480 | BORF | 0.5080
±0.0110 best reported | best at pub: Mitigating Over-Squashing in Graph Neural Networks by Spectrum-Preserving Sparsification (ICML 2025) Difference within reported uncertainty; not counted as underperformance. |
| 496 | LVN | 0.4921
±0.0189 | This paper |
| 505 | FoSR | 0.4830
±0.0161 best reported | best at pub: Dynamic Triangulation-Based Graph Rewiring for Graph Neural Networks (2025) |
| 547 | PANDA | 0.4249
±0.0259 | This paper |
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | Hetero-S (GAT 8-layer) | 0.8693 | |
| 2 | Dir-GNN+CNA | 0.8586
±0.0180 | |
| 3 | GAT | 0.8560 | |
| 52 | GCN | 0.7033 best reported | best at pub: Understanding Heterophily for Graph Neural Networks (ICML 2024) |
| 87 | BORF | 0.6530
±0.0080 best reported | best at pub: Revisiting Over-smoothing and Over-squashing using Ollivier's Ricci Curvature (ICML 2022) |
| 108 | SAGE | 0.6340
±0.0300 | |
| 116 | DIGL | 0.6208
±0.0054 | This paper |
| 120 | FoSR | 0.6123
±0.0053 | prev best: Revisiting Over-smoothing and Over-squashing using Ollivier's Ricci Curvature (ICML 2022) |
| 122 | SDRF | 0.6119
±0.0055 | prev best: Revisiting Over-smoothing and Over-squashing using Ollivier's Ricci Curvature (ICML 2022) |
| 131 | LVN | 0.6043
±0.0067 | This paper |
| 169 | MLP | 0.5429 | |
| 191 | PANDA | 0.5055
±0.0070 | This paper |
