CAT: A Causal Graph Attention Network for Trimming Heterophilic Graphs
Abstract
The local attention-guided message passing mechanism (LAMP) adopted in graph attention networks (GATs) can adaptively learn the importance of neighboring nodes and perform local aggregation better, thus demonstrating a stronger discrimination ability. However, existing GATs suffer from significant discrimination ability degradations in heterophilic graphs. The reason is that a high proportion of dissimilar neighbors can weaken the self-attention of the central node, resulting in the central node deviating from its similar nodes in the representation space. This type of influence caused by neighboring nodes is referred to as Distraction Effect (DE) in this paper. To estimate and weaken the DE induced by neighboring nodes, we propose a Causal graph Attention network for Trimming heterophilic graphs (CAT). To estimate the DE, since DE is generated through two paths, we adopt the total effect as the metric for estimating DE; To weaken the DE, we identify the neighbors with the highest DE (we call them Distraction Neighbors) and remove them. We adopt three representative GATs as the base model within the proposed CAT framework and conduct experiments on seven heterophilic datasets of three different sizes. Comparative experiments show that CAT can improve the node classification accuracies of all base GAT models. Ablation experiments and visualization further validate the enhanced discrimination ability of CATs. In addition, CAT is a plug-and-play framework and can be introduced to any LAMP-driven GAT because it learns a trimmed graph in the attention-learning stage, instead of modifying the model architecture or globally searching for new neighbors. The source code is available at https://github.com/GeoX-Lab/CAT.
Benchmark Results
Tested on 4 datasets 7 baseline values reported too low
Tables show presented results in global context (best 3 papers + GCN + MLP).
Heterophilic Graphs
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | P^2GNN | 0.9672
±0.0147 | |
| 2 | DoG | 0.9660
±0.0210 | |
| 3 | GPF-plus | 0.9583
±0.0419 | |
| 34 | MLP | 0.9230
±0.0070 | |
| 53 | GraphSAGE | 0.9000
±0.0365 | |
| 211 | GAT | 0.8162
±0.0645 best reported | best at pub: A Quasi-Wasserstein Loss for Learning Graph Neural Networks (WWW 2023) best today: Equivariance Everywhere All At Once: A Recipe for Graph Foundation Models (2025) |
| 214 | GATv3 | 0.8160
±0.0240 | This paper |
| 258 | GATv2 | 0.7929
±0.0403 best reported | best at pub: Heterophily-Aware Graph Attention Network (2023) |
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | P^2GNN | 0.9541
±0.0272 | |
| 2 | ACM-GCN | 0.9480
±0.0380 | |
| 3 | RF-GCN | 0.9429 | |
| 24 | MLP | 0.9136
±0.0070 | |
| 37 | CATv3-sup | 0.8880
±0.0210 | This paper |
| 40 | CATv3-semi | 0.8840
±0.0210 | This paper |
| 66 | GATv3 | 0.8630
±0.0220 | This paper |
| 138 | SAGE | 0.8269 | |
| 158 | GAT | 0.8190
±0.0540 best reported | best at pub: Restructuring Graphs for Higher Homophily via Adaptive Spectral Clustering (AAAI 2022) |
| 159 | CATv2-sup | 0.8170
±0.0380 | This paper |
| 161 | CATv2-semi | 0.8150
±0.0340 | This paper |
| 176 | CAT-sup | 0.8040
±0.0300 | This paper |
| 177 | GATv2 | 0.8033
±0.0333 best reported | best at pub: Heterophily-Aware Graph Attention Network (2023) |
| 278 | CAT-semi | 0.7100
±0.0320 | This paper |
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | DiGGR | 0.4535
±0.0353 | |
| 2 | TRIGON | 0.4402
±0.0028 | |
| 3 | DoG | 0.4320
±0.0120 | |
| 42 | MLP | 0.4026
±0.0108 | |
| 68 | GraphSAGE | 0.3899
±0.0085 | |
| 80 | CATv3-sup | 0.3850
±0.0120 | This paper |
| 90 | CATv3-unsup (100) | 0.3800
±0.0050 | This paper |
| 108 | CATv3-semi | 0.3770
±0.0060 | This paper |
| 182 | GAT | 0.3605
±0.0035 best reported | best at pub: Hierarchical Graph Transformer with Adaptive Node Sampling (NeurIPS 2022) |
| 213 | CAT-sup | 0.3550
±0.0050 | This paper |
| 230 | GATv2 | 0.3510
±0.0020 best reported | best at pub: Heterophily-Aware Graph Attention Network (2023) best today: What Can We Learn From MIMO Graph Convolutions? (IJCAI 2025) |
| 233 | GATv3 | 0.3510
±0.0050 | This paper |
| 277 | CAT-unsup (10) | 0.3370
±0.0060 | This paper |
| 287 | CATv2-sup | 0.3310
±0.0050 | This paper |
| 291 | CAT-semi | 0.3280
±0.0060 | This paper |
| 297 | CATv2-unsup (10) | 0.3240
±0.0050 | This paper |
| 303 | CATv2-semi | 0.3190
±0.0050 | This paper |
Heterophily Benchmark
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | Dir-Poly | 0.9451
±0.0022 | |
| 2 | D-CDE | 0.9387
±0.0041 | |
| 3 | LargeScaleNet | 0.9358
±0.0024 | |
| 26 | GraphSAGE | 0.9106
±0.0027 | |
| 83 | GAT | 0.8145
±0.0009 best reported | best at pub: Graph Neural Networks for Graphs with Heterophily: A Survey (2022) best today: Gumbel-MPNN: Graph Rewiring with Gumbel-Softmax (2025) |
| 135 | MLP | 0.6665
±0.0047 | |
| 148 | CAT-sup | 0.6440
±0.0020 | This paper |
| 155 | CATv2-sup | 0.6340
±0.0020 | This paper |
| 156 | CATv2-semi | 0.6300
±0.0020 | This paper |
| 163 | CAT-semi | 0.6190
±0.0020 | This paper |
| 179 | GATv2 | 0.5650
±0.0080 | This paper |
