Self-attention Dual Embedding for Graphs with Heterophily

28 May 2023  ·  Yurui Lai, Taiyan Zhang, Rui Fan ·

Graph Neural Networks (GNNs) have been highly successful for the node classification task. GNNs typically assume graphs are homophilic, i.e. neighboring nodes are likely to belong to the same class. However, a number of real-world graphs are heterophilic, and this leads to much lower classification accuracy using standard GNNs. In this work, we design a novel GNN which is effective for both heterophilic and homophilic graphs. Our work is based on three main observations. First, we show that node features and graph topology provide different amounts of informativeness in different graphs, and therefore they should be encoded independently and prioritized in an adaptive manner. Second, we show that allowing negative attention weights when propagating graph topology information improves accuracy. Finally, we show that asymmetric attention weights between nodes are helpful. We design a GNN which makes use of these observations through a novel self-attention mechanism. We evaluate our algorithm on real-world graphs containing thousands to millions of nodes and show that we achieve state-of-the-art results compared to existing GNNs. We also analyze the effectiveness of the main components of our design on different graphs.

PDF Abstract

Results from the Paper


Task Dataset Model Metric Name Metric Value Global Rank Result Benchmark
Node Classification Actor SADE-GCN Accuracy 37.91 ± 0.97 # 7
Node Classification Chameleon SADE-GCN Accuracy 75.57±1.57 # 8
Node Classification Cornell SADE-GCN Accuracy 86.21±5.59 # 10
Node Classification Squirrel SADE-GCN Accuracy 68.20±1.57 # 8
Node Classification Texas SADE-GCN Accuracy 86.49±5.12 # 15
Node Classification Wisconsin SADE-GCN Accuracy 88.63±4.54 # 7

Methods


No methods listed for this paper. Add relevant methods here