Understanding Virtual Nodes: Oversquashing and Node Heterogeneity
About
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.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Node Classification | Cora (test) | Mean Accuracy83.7 | 951 | |
| Node Classification | Citeseer (test) | Accuracy0.7452 | 945 | |
| Node Classification | Chameleon (test) | Mean Accuracy66.52 | 335 | |
| Node Classification | Cornell (test) | Mean Accuracy44.44 | 313 | |
| Node Classification | Texas (test) | Mean Accuracy46.67 | 312 | |
| Node Classification | Squirrel (test) | Mean Accuracy53.19 | 301 | |
| Node Classification | Actor (test) | Mean Accuracy0.2916 | 286 | |
| Node Classification | Wisconsin (test) | Mean Accuracy69.6 | 279 | |
| Node Classification | PubMed (test) | Accuracy87.02 | 162 | |
| Node Classification | Actor L=2 (test) | Accuracy31.08 | 65 |