Not All Neighbors Are Worth Attending to: Graph Selective Attention Networks for Semi-supervised Learning
Abstract
Graph attention networks (GATs) are powerful tools for analyzing graph data from various real-world scenarios. To learn representations for downstream tasks, GATs generally attend to all neighbors of the central node when aggregating the features. In this paper, we show that a large portion of the neighbors are irrelevant to the central nodes in many real-world graphs, and can be excluded from neighbor aggregation. Taking the cue, we present Selective Attention (SA) and a series of novel attention mechanisms for graph neural networks (GNNs). SA leverages diverse forms of learnable node-node dissimilarity to acquire the scope of attention for each node, from which irrelevant neighbors are excluded. We further propose Graph selective attention networks (SATs) to learn representations from the highly correlated node features identified and investigated by different SA mechanisms. Lastly, theoretical analysis on the expressive power of the proposed SATs and a comprehensive empirical study of the SATs on challenging real-world datasets against state-of-the-art GNNs are presented to demonstrate the effectiveness of SATs.
Benchmark Results
Tested on 2 datasets 11 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: SplineCNN: Fast Geometric Deep Learning with Continuous B-Spline Kernels (2017) best today: Understanding Heterophily for Graph Neural Networks (ICML 2024) |
| 39 | SAGE | 0.8911
±0.0012 | |
| 44 | GAT | 0.8897
±0.0014 best reported | best at pub: Learned Low Precision Graph Neural Networks (2020) |
| 55 | JKNet | 0.8870 best reported | best at pub: Learned Low Precision Graph Neural Networks (2020) |
| 108 | APPNP | 0.8787 best reported | best at pub: Orthogonal Graph Neural Networks (AAAI 2021) best today: Feature Transportation Improves Graph Neural Networks (AAAI 2023) |
| 141 | GraphSAGE | 0.8708
±0.0085 best reported | best at pub: The Impact of Global Structural Information in Graph Neural Networks Applications (2020) best today: Large Language Model Meets Graph Neural Network in Knowledge Distillation (AAAI 2024) |
| 165 | GIN | 0.8660
±0.0091 best reported | best at pub: Weisfeiler and Leman Go Infinite: Spectral and Combinatorial Pre-Colorings (TMLR 2022) best today: Large Language Model Meets Graph Neural Network in Knowledge Distillation (AAAI 2024) |
| 225 | SAT-C | 0.8502
±0.0035 | This paper |
| 242 | SAT-S | 0.8466
±0.0023 | This paper |
| 267 | CaT | 0.8438
±0.0025 | This paper |
| 303 | GATv2 | 0.8406
±0.0083 | This paper |
| 384 | ARMA | 0.8340 best reported | best at pub: Adversarial Graph Disentanglement with Component-specific Aggregation (2021) |
| 383 | NeuralSparse | 0.8340
±0.0150 best reported | best at pub: Learning to Drop: Robust Graph Neural Network via Topological Denoising (2020) Difference within reported uncertainty; not counted as underperformance. |
| 508 | MoNet | 0.8220
±0.0070 best reported | best at pub: GRAND: Graph Neural Diffusion (ICML 2021) |
| 679 | HardGAT | 0.7944
±0.0052 | This paper |
| 724 | MLP | 0.7768 |
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | LGTL | 0.9518
±0.0011 | |
| 2 | MixHop (LO) | 0.9513
±0.0038 | |
| 3 | GraphSAGE (LO) | 0.9511
±0.0036 | |
| 17 | APPNP | 0.9355
±0.0060 best reported | best at pub: Tackling Over-Smoothing for General Graph Convolutional Networks (2020) |
| 18 | GCN | 0.9296
±0.0015 best reported | best at pub: Tackling Over-Smoothing for General Graph Convolutional Networks (2020) |
| 24 | JKNet | 0.9160 best reported | best at pub: Tackling Over-Smoothing for General Graph Convolutional Networks (2020) |
| 116 | SAGE | 0.8881
±0.0015 | |
| 157 | GIN | 0.8810 best reported | best at pub: Learning Conjoint Attentions for Graph Neural Nets (NeurIPS 2021) best today: UGSL: A Unified Framework for Benchmarking Graph Structure Learning (2023) |
| 210 | MLP | 0.8690
±0.0074 | |
| 257 | NeuralSparse | 0.8500 best reported | best at pub: Training Robust Graph Neural Networks with Topology Adaptive Edge Dropping (2021) |
| 296 | SAT-S | 0.8322
±0.0015 | This paper |
| 297 | SAT-C | 0.8316
±0.0010 | This paper |
| 315 | CaT | 0.8260
±0.0027 | This paper |
| 332 | GATv2 | 0.8194
±0.0029 | This paper |
| 375 | HardGAT | 0.8100
±0.0029 | This paper |
| 446 | MoNet | 0.8006
±0.0055 | prev best: Learning Conjoint Attentions for Graph Neural Nets (NeurIPS 2021) Improvement within reported uncertainty; not highlighted. |
