CAT: A Causal Graph Attention Network for Trimming Heterophilic Graphs

Silu He, Qinyao Luo, Xinsha Fu, Ling Zhao, Ronghua Du, Haifeng Li

Main figure for 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

#ModelAccuracy ↑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
actual #211 vs paper #581 370 places worse
0.8162 ±0.0645
best reported
actual #211 vs paper #581 370 places worse
paper 0.4990 ±0.0220
paper 0.4990 ±0.0220 Δ at pub 0.3010 Δ today 0.3172
214
GATv3
0.8160 ±0.0240
This paper
258
GATv2
actual #258 vs paper #580 322 places worse
0.7929 ±0.0403
best reported
actual #258 vs paper #580 322 places worse
paper 0.5020 ±0.0220
paper 0.5020 ±0.0220 Δ at pub 0.2909
#ModelAccuracy ↑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
actual #158 vs paper #369 211 places worse
0.8190 ±0.0540
best reported
actual #158 vs paper #369 211 places worse
paper 0.6090 ±0.0340
paper 0.6090 ±0.0340 Δ at pub 0.2100
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
actual #177 vs paper #365 188 places worse
0.8033 ±0.0333
best reported
actual #177 vs paper #365 188 places worse
paper 0.6110 ±0.0360
paper 0.6110 ±0.0360 Δ at pub 0.1923
278
CAT-semi
0.7100 ±0.0320
This paper
#ModelAccuracy ↑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
actual #182 vs paper #383 201 places worse
0.3605 ±0.0035
best reported
actual #182 vs paper #383 201 places worse
paper 0.2860 ±0.0040
paper 0.2860 ±0.0040 Δ at pub 0.0745
213
CAT-sup
0.3550 ±0.0050
This paper
230
GATv2
actual #230 vs paper #385 155 places worse
0.3510 ±0.0020
best reported
actual #230 vs paper #385 155 places worse
paper 0.2850 ±0.0040
paper 0.2850 ±0.0040 Δ at pub 0.0644 Δ today 0.0660
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

#ModelAccuracy ↑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
actual #83 vs paper #180 97 places worse
0.8145 ±0.0009
best reported
actual #83 vs paper #180 97 places worse
paper 0.5420 ±0.0050
paper 0.5420 ±0.0050 Δ at pub 0.2667 Δ today 0.2725
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
SOTA performance (not significantly different from the best) Baseline / comparison (this paper) Global context (other papers) Best at pub — reported result worse than the best known when published (best reported in green)