Understanding Virtual Nodes: Oversquashing and Node Heterogeneity
Joshua Southern, Francesco Di Giovanni, Michael M. Bronstein, Johannes F. Lutzeyer
Abstract
While message passing neural networks (MPNNs) have convincing success in a range of applications, they exhibit limitations such as the oversquashing problem and their inability to capture long-range interactions. Augmenting MPNNs with a virtual node (VN) removes the locality constraint of the layer aggregation and has been found to improve performance on a range of benchmarks. We provide a comprehensive theoretical analysis of the role of VNs and benefits thereof, through the lenses of oversquashing and sensitivity analysis. First, we characterize, precisely, how the improvement afforded by VNs on the mixing abilities of the network and hence in mitigating oversquashing, depends on the underlying topology. We then highlight that, unlike Graph-Transformers (GTs), classical instantiations of the VN are often constrained to assign uniform importance to different nodes. Consequently, we propose a variant of VN with the same computational complexity, which can have different sensitivity to nodes based on the graph structure. We show that this is an extremely effective and computationally efficient baseline for graph-level tasks.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
6 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Recipe for a General, Powerful, Scalable Graph Transformer cites Do Transformers Really Perform Badly for Graph Representation?
- Recipe for a General, Powerful, Scalable Graph Transformer cites Rethinking Graph Transformers with Spectral Attention
- Recipe for a General, Powerful, Scalable Graph Transformer cites Graph Neural Networks Exponentially Lose Expressive Power for Node Classification
- LRIM: a Physics-Based Benchmark for Provably Evaluating Long-Range Capabilities in Graph Learning cites Recipe for a General, Powerful, Scalable Graph Transformer
- LRIM: a Physics-Based Benchmark for Provably Evaluating Long-Range Capabilities in Graph Learning cites Rethinking Graph Transformers with Spectral Attention
- Are Graph Transformers Necessary? Efficient Long-Range Message Passing with Fractal Nodes in MPNNs cites Recipe for a General, Powerful, Scalable Graph Transformer
- Are Graph Transformers Necessary? Efficient Long-Range Message Passing with Fractal Nodes in MPNNs cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
- Are Graph Transformers Necessary? Efficient Long-Range Message Passing with Fractal Nodes in MPNNs cites Do Transformers Really Perform Badly for Graph Representation?
- Are Graph Transformers Necessary? Efficient Long-Range Message Passing with Fractal Nodes in MPNNs cites Rethinking Graph Transformers with Spectral Attention
- Do Transformers Really Perform Badly for Graph Representation? cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
- Do Transformers Really Perform Badly for Graph Representation? cites Rethinking Graph Transformers with Spectral Attention
- Homomorphism Counts as Structural Encodings for Graph Learning cites Recipe for a General, Powerful, Scalable Graph Transformer
- Homomorphism Counts as Structural Encodings for Graph Learning cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
- Homomorphism Counts as Structural Encodings for Graph Learning cites Do Transformers Really Perform Badly for Graph Representation?
- Homomorphism Counts as Structural Encodings for Graph Learning cites Rethinking Graph Transformers with Spectral Attention
- Rethinking Graph Transformers with Spectral Attention cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
- Learn When and Where to Connect: Adaptive Virtual Nodes for Dynamic Message Passing on Graphs cites Recipe for a General, Powerful, Scalable Graph Transformer
- Learn When and Where to Connect: Adaptive Virtual Nodes for Dynamic Message Passing on Graphs cites Graph Neural Networks Exponentially Lose Expressive Power for Node Classification
Cited by top-tier papers6
- Are Graph Transformers Necessary? Efficient Long-Range Message Passing with Fractal Nodes in MPNNsJeongwhan Choi, Seungjun Park, Sumin Park, Sung-Bae Cho et al.AAAI 2026 · 2 citations
- LRIM: a Physics-Based Benchmark for Provably Evaluating Long-Range Capabilities in Graph LearningJoël Mathys, Henrik Christiansen, Federico Errica, Takashi Maruyama et al.ICLR 2026
- Graph Transformers for Query Plan Representation: Potentials and ChallengesChenghao Lyu, Guillaume Lachaud, Gabriel Lozano, Yanlei DiaoVLDB 2025
- Homomorphism Counts as Structural Encodings for Graph LearningLinus Bao, Emily Jin, Michael M. Bronstein, Ismail Ilkan Ceylan et al.ICLR 2025
- Learn When and Where to Connect: Adaptive Virtual Nodes for Dynamic Message Passing on GraphsJaejun Lee, Joyce Jiyoung WhangKDD 2026
Builds on27
- Open Graph Benchmark: Datasets for Machine Learning on GraphsWeihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong et al.NeurIPS 2020 · 3,935 citations
- Do Transformers Really Perform Badly for Graph Representation?Chengxuan Ying, Tianle Cai, Shengjie Luo, Shuxin Zheng et al.NeurIPS 2021 · 1,632 citations
- Recipe for a General, Powerful, Scalable Graph TransformerLadislav Rampásek, Michael Galkin, Vijay Prakash Dwivedi, Anh Tuan Luu et al.NeurIPS 2022 · 1,216 citations
- Graph Neural Networks Exponentially Lose Expressive Power for Node ClassificationKenta Oono, Taiji SuzukiICLR 2020 · 864 citations
- Rethinking Graph Transformers with Spectral AttentionDevin Kreuzer, Dominique Beaini, William L. Hamilton, Vincent Létourneau et al.NeurIPS 2021 · 854 citations
Related papers
- Probabilistic Graph Rewiring via Virtual NodesChendi Qian, Andrei Manolache, Christopher Morris, Mathias NiepertNeurIPS 2024 · 24 citations
- On Over-Squashing in Message Passing Neural Networks: The Impact of Width, Depth, and TopologyFrancesco Di Giovanni, Lorenzo Giusti, Federico Barbero, Giulia Luise et al.ICML 2023 · 190 citations
- DRew: Dynamically Rewired Message Passing with DelayBenjamin Gutteridge, Xiaowen Dong, Michael M. Bronstein, Francesco Di GiovanniICML 2023 · 90 citations
- Distinguished In Uniform: Self-Attention Vs. Virtual NodesEran Rosenbluth, Jan Tönshoff, Martin Ritzert, Berke Kisin et al.ICLR 2024 · 20 citations
- On the Connection Between MPNN and Graph TransformerChen Cai, Truong Son Hy, Rose Yu, Yusu WangICML 2023 · 82 citations
