Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Global Attention Improves Graph Networks Generalization

About

This paper advocates incorporating a Low-Rank Global Attention (LRGA) module, a computation and memory efficient variant of the dot-product attention (Vaswani et al., 2017), to Graph Neural Networks (GNNs) for improving their generalization power. To theoretically quantify the generalization properties granted by adding the LRGA module to GNNs, we focus on a specific family of expressive GNNs and show that augmenting it with LRGA provides algorithmic alignment to a powerful graph isomorphism test, namely the 2-Folklore Weisfeiler-Lehman (2-FWL) algorithm. In more detail we: (i) consider the recent Random Graph Neural Network (RGNN) (Sato et al., 2020) framework and prove that it is universal in probability; (ii) show that RGNN augmented with LRGA aligns with 2-FWL update step via polynomial kernels; and (iii) bound the sample complexity of the kernel's feature map when learned with a randomly initialized two-layer MLP. From a practical point of view, augmenting existing GNN layers with LRGA produces state of the art results in current GNN benchmarks. Lastly, we observe that augmenting various GNN architectures with LRGA often closes the performance gap between different models.

Omri Puny, Heli Ben-Hamu, Yaron Lipman• 2020

Related benchmarks

TaskDatasetResultRank
Graph ClassificationCIFAR10
Accuracy73.48
108
Graph RegressionZINC
MAE0.249
96
Graph ClassificationMNIST
Accuracy98.47
95
Link Predictionogbl-collab (test)
Hits@5052.21
92
Link Predictionogbl-ppa (test)
Hits@1000.342
77
Link Predictionogbl-ddi (test)
Hits@2062.3
71
Link Predictionogbl-citation2 (official)
MRR66.49
29
Link Predictionogbl-ddi (val)
Hits@20 (%)66.75
28
Link Predictionogbl-citation2 (val)
MRR66.48
28
Link Predictionogbl-collab (val)
Hits@5060.88
26
Showing 10 of 17 rows

Other info

Follow for update