Understanding Attention and Generalization in Graph Neural Networks
Not on the map. Why?
Abstract (arXiv)
We aim to better understand attention over nodes in graph neural networks (GNNs) and identify factors influencing its effectiveness. We particularly focus on the ability of attention GNNs to generalize to larger, more complex or noisy graphs. Motivated by insights from the work on Graph Isomorphism Networks, we design simple graph reasoning tasks that allow us to study attention in a controlled environment. We find that under typical conditions the effect of attention is negligible or even harmful, but under certain conditions it provides an exceptional gain in performance of more than 60% in some of our classification tasks. Satisfying these conditions in practice is challenging and often requires optimal initialization or supervised training of attention. We propose an alternative recipe and train attention in a weakly-supervised fashion that approaches the performance of supervised models, and, compared to unsupervised models, improves results on several synthetic as well as real datasets. Source code and datasets are available at https://github.com/bknyaz/graph_attention_pool.
Key facts. Cited by 169 papers in the map (data through 7 Oct 2026). First posted on arXiv 8 May 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 24; 2022: 33; 2023: 50; 2024: 28; 2025: 21; 2026: 13.
169 papers.
Sort:
By area:
- 2022Discovering Invariant Rationales for Graph Neural Networkscited by 186
- 2022Interpretable and Generalizable Graph Learning via Stochastic Attention Mechanismcited by 171
- 2022Learning Causally Invariant Representations for Out-of-Distribution Generalization on Graphscited by 144
- 2021Causal Attention for Interpretable and Generalizable Graph Classificationcited by 108
- 2022How to Find Your Friendly Neighborhood: Graph Attention Design with Self-Supervisioncited by 102
- 2022Universal Prompt Tuning for Graph Neural Networkscited by 100
- 2022Out-Of-Distribution Generalization on Graphs: A Surveycited by 97
- 2022Debiasing Graph Neural Networks via Learning Disentangled Causal Substructurecited by 83
- 2023Attending to Graph Transformerscited by 81
- 2021OOD-GNN: Out-of-Distribution Generalized Graph Neural Networkcited by 78
- 2021Understanding Pooling in Graph Neural Networkscited by 69
- 2023GraphCare: Enhancing Healthcare Predictions with Personalized Knowledge Graphscited by 57
38 more
- 2022Graph Pooling for Graph Neural Networks: Progress, Challenges, and Opportunitiescited by 52
- 2021How Framelets Enhance Graph Neural Networkscited by 46
- 2023Does Invariant Graph Learning via Environment Augmentation Learn Invariance?cited by 42
- 2023Towards Self-Interpretable Graph-Level Anomaly Detectioncited by 41
- 2021Online Graph Dictionary Learningcited by 37
- 2023The expressive power of pooling in Graph Neural Networkscited by 35
- 2023Mind the Label Shift of Augmentation-based Graph OOD Generalizationcited by 34
- 2023Joint Learning of Label and Environment Causal Independence for Graph Out-of-Distribution Generalizationcited by 29
- 2021Recognizing Predictive Substructures with Subgraph Information Bottleneckcited by 28
- 2023A Survey on Explainability of Graph Neural Networkscited by 28
- 2022Inductive Logical Query Answering in Knowledge Graphscited by 25
- 2021Augmentations in Graph Contrastive Learning: Current Methodological Flaws & Towards Better Practicescited by 24
- 2022Graph Attention Retrospectivecited by 24
- 2022MESH2IR: Neural Acoustic Impulse Response Generator for Complex 3D Scenescited by 23
- 2021Graph coarsening: From scientific computing to machine learningcited by 21
- 2022Template based Graph Neural Network with Optimal Transport Distancescited by 20
- 2022Automated Data Augmentations for Graph Classificationcited by 19
- 2023Data-Centric Learning from Unlabeled Graphs with Diffusion Modelcited by 19
- 2023Rayleigh Quotient Graph Neural Networks for Graph-level Anomaly Detectioncited by 19
- 2023GraphMETRO: Mitigating Complex Graph Distribution Shifts via Mixture of Aligned Expertscited by 19
- 2021Bridging the Gap between Spatial and Spectral Domains: A Unified Framework for Graph Neural Networkscited by 18
- 2024Graph Sparsification via Mixture of Graphscited by 17
- 2021HW2VEC: A Graph Learning Tool for Automating Hardware Securitycited by 16
- 2021Graph Neural Networks: Methods, Applications, and Opportunitiescited by 16
- 2024A Survey of Deep Graph Learning under Distribution Shifts: from Graph Out-of-Distribution Generalization to Adaptationcited by 16
- 2021roadscene2vec: A Tool for Extracting and Embedding Road Scene-Graphscited by 15
- 2022More is Better (Mostly): On the Backdoor Attacks in Federated Graph Neural Networkscited by 15
- 2023MMGP: a Mesh Morphing Gaussian Process-based machine learning method for regression of physical problems under non-parameterized geometrical variabilitycited by 15
- 2023Towards Semi-supervised Universal Graph Classificationcited by 15
- 2023GraphGPT: Generative Pre-trained Graph Eulerian Transformercited by 15
- 2022Equivariant Hypergraph Neural Networkscited by 14
- 2023Semi-Supervised Graph Imbalanced Regressioncited by 14
- 2024How Interpretable Are Interpretable Graph Neural Networks?cited by 13
- 2025Towards Mechanistic Interpretability of Graph Transformers via Attention Graphscited by 12
- 2023Interpretable Sparsification of Brain Graphs: Better Practices and Effective Designs for Graph Neural Networkscited by 11
- 2021What Can Knowledge Bring to Machine Learning? -- A Survey of Low-shot Learning for Structured Datacited by 10
- 2022Image Classification using Graph Neural Network and Multiscale Wavelet Superpixelscited by 10
- 2023Listen2Scene: Interactive material-aware binaural sound propagation for reconstructed 3D scenescited by 10
50 most cited of 169 All 169 (JSON)
- 2026SCGFM-ART: Amortized Relational Transport for Structure-Centric Graph Foundation Models17 Sep 2026
- 2026Overcoming Shortcut Learning in Graph Neural Networks through Active Explanation Guidance14 Aug 2026
- 2026A Generalized Tikhonov Layer for Interpretable-by-design Graph Neural Networks27 May 2026
- 2026B-cos GNNs: Faithful Explanations through Dynamic Linearity19 May 2026
- 2026Attention-based graph neural networks: a survey9 May 2026
- 2026NSPOD: Accelerating Krylov solvers via DeepONet-learned POD subspaces8 May 2026
- 2026Why Self-Inconsistency Arises in GNN Explanations and How to Exploit It8 May 2026
- 2026The Role of Node Features in Graph Pooling7 May 2026
- 2026Graph Tokenization for Bridging Graphs and Transformers11 Mar 2026
- 2026Beyond Edge Deletion: A Comprehensive Approach to Counterfactual Explanation in Graph Neural Networks4 Mar 2026
- 2026Phishing the Phishers with SpecularNet: Hierarchical Graph Autoencoding for Reference-Free Web Phishing Detection2 Mar 2026
- 2026GNN Explanations that do not Explain and How to find Them28 Jan 2026
38 more
- 2026Multi-fidelity graph-based neural networks architectures to learn Navier-Stokes solutions on non-parametrized 2D domains5 Jan 2026
- 2025ReVEAL: GNN-Guided Reverse Engineering for Formal Verification of Optimized Multipliers24 Dec 2025
- 2025AutoSchA: Automatic Hierarchical Music Representations via Multi-Relational Node Isolation20 Dec 2025
- 2025Torch Geometric Pool: the PyTorch library for pooling in Graph Neural Networks14 Dec 2025
- 2025Learning Invariant Graph Representations Through Redundant Information5 Dec 2025
- 2025PISA: Prioritized Invariant Subgraph Aggregation for Out-of-Distribution Generalization on Graphs27 Nov 2025
- 2025Physics-informed self-supervised learning for predictive modeling of coronary artery digital twins25 Nov 2025
- 2025Causal Graph Neural Networks for Healthcare4 Nov 2025
- 2025HGMP:Heterogeneous Graph Multi-Task Prompt Learning10 Jul 2025
- 2025Geometry-Aware Edge Pooling for Graph Neural Networks13 Jun 2025
- 2025B-XAIC Dataset: Benchmarking Explainable AI for Graph Neural Networks Using Chemical Data28 May 2025
- 2025Freeze, Prompt, and Adapt: A Framework for Source-free Unsupervised GNN Prompting22 May 2025
- 2025Efficient Document Retrieval with G-Retriever21 Apr 2025
- 2025Towards A Universal Graph Structural Encoder15 Apr 2025
- 2025BioX-CPath: Biologically-driven Explainable Diagnostics for Multistain IHC Computational Pathology26 Mar 2025
- 2025Clothes-Changing Person Re-identification Based On Skeleton Dynamics13 Mar 2025
- 2025DivIL: Unveiling and Addressing Over-Invariance for Out-of- Distribution Generalization18 Feb 2025
- 2025Towards Mechanistic Interpretability of Graph Transformers via Attention Graphs17 Feb 2025
- 2025Generative Risk Minimization for Out-of-Distribution Generalization on Graphs11 Feb 2025
- 2025Beyond Topological Self-Explainable GNNs: A Formal Explainability Perspective4 Feb 2025
- 2025BN-Pool: Bayesian Nonparametric Pooling for Graphs16 Jan 2025
- 2025Enhancing Distribution and Label Consistency for Graph Out-of-Distribution Generalization7 Jan 2025
- 2024Designing Semi-Structured Pruning of Graph Convolutional Networks for Skeleton-based Recognition16 Dec 2024
- 2024Subgraph Aggregation for Out-of-Distribution Generalization on Graphs29 Oct 2024
- 2024A Survey of Deep Graph Learning under Distribution Shifts: from Graph Out-of-Distribution Generalization to Adaptation25 Oct 2024
- 2024Tensor-Fused Multi-View Graph Contrastive Learning20 Oct 2024
- 2024Multi-Grid Graph Neural Networks with Self-Attention for Computational Mechanics18 Sep 2024
- 2024MaxCutPool: differentiable feature-aware Maxcut for pooling in graph neural networks8 Sep 2024
- 2024Towards Few-shot Self-explaining Graph Neural Networks14 Aug 2024
- 2024Unveiling the Potential of Spiking Dynamics in Graph Representation Learning through Spatial-Temporal Normalization and Coding Strategies30 Jul 2024
- 2024Graph Structure Prompt Learning: A Novel Methodology to Improve Performance of Graph Neural Networks16 Jul 2024
- 2024Towards Understanding Sensitive and Decisive Patterns in Explainable AI: A Case Study of Model Interpretation in Geometric Deep Learning30 Jun 2024
- 2024The Heterophilic Snowflake Hypothesis: Training and Empowering GNNs for Heterophilic Graphs18 Jun 2024
- 2024Scalable Expressiveness through Preprocessed Graph Perturbations17 Jun 2024
- 2024A Comprehensive Graph Pooling Benchmark: Effectiveness, Robustness and Generalizability13 Jun 2024
- 2024How Interpretable Are Interpretable Graph Neural Networks?12 Jun 2024
- 2024Causality-inspired Latent Feature Augmentation for Single Domain Generalization10 Jun 2024
- 2024Faithful and Accurate Self-Attention Attribution for Message Passing Neural Networks via the Computation Tree Viewpoint7 Jun 2024
50 newest of 169 All 169 (JSON)
- 2022Discovering Invariant Rationales for Graph Neural Networkscited by 186
- 2022Interpretable and Generalizable Graph Learning via Stochastic Attention Mechanismcited by 171
- 2022Learning Causally Invariant Representations for Out-of-Distribution Generalization on Graphscited by 144
- 2021Causal Attention for Interpretable and Generalizable Graph Classificationcited by 108
- 2022How to Find Your Friendly Neighborhood: Graph Attention Design with Self-Supervisioncited by 102
- 2022Universal Prompt Tuning for Graph Neural Networkscited by 100
- 2022Out-Of-Distribution Generalization on Graphs: A Surveycited by 97
- 2022Debiasing Graph Neural Networks via Learning Disentangled Causal Substructurecited by 83
- 2023Attending to Graph Transformerscited by 81
- 2021OOD-GNN: Out-of-Distribution Generalized Graph Neural Networkcited by 78
- 2021Understanding Pooling in Graph Neural Networkscited by 69
- 2023GraphCare: Enhancing Healthcare Predictions with Personalized Knowledge Graphscited by 57
12 most cited of 164 All 164 (JSON)
- 2026SCGFM-ART: Amortized Relational Transport for Structure-Centric Graph Foundation Models17 Sep 2026
- 2026Overcoming Shortcut Learning in Graph Neural Networks through Active Explanation Guidance14 Aug 2026
- 2026A Generalized Tikhonov Layer for Interpretable-by-design Graph Neural Networks27 May 2026
- 2026B-cos GNNs: Faithful Explanations through Dynamic Linearity19 May 2026
- 2026Attention-based graph neural networks: a survey9 May 2026
- 2026NSPOD: Accelerating Krylov solvers via DeepONet-learned POD subspaces8 May 2026
- 2026Why Self-Inconsistency Arises in GNN Explanations and How to Exploit It8 May 2026
- 2026The Role of Node Features in Graph Pooling7 May 2026
- 2026Graph Tokenization for Bridging Graphs and Transformers11 Mar 2026
- 2026Beyond Edge Deletion: A Comprehensive Approach to Counterfactual Explanation in Graph Neural Networks4 Mar 2026
- 2026Phishing the Phishers with SpecularNet: Hierarchical Graph Autoencoding for Reference-Free Web Phishing Detection2 Mar 2026
- 2026GNN Explanations that do not Explain and How to find Them28 Jan 2026
12 newest of 164 All 164 (JSON)