VR-GNN: Variational Relation Vector Graph Neural Network for Modeling both Homophily and Heterophily
About
Graph Neural Networks (GNNs) have achieved remarkable success in diverse real-world applications. Traditional GNNs are designed based on homophily, which leads to poor performance under heterophily scenarios. Current solutions deal with heterophily mainly by mixing high-order neighbors or passing signed messages. However, mixing high-order neighbors destroys the original graph structure and passing signed messages utilizes an inflexible message-passing mechanism, which is prone to producing unsatisfactory effects. To overcome the above problems, we propose a novel GNN model based on relation vector translation named Variational Relation Vector Graph Neural Network (VR-GNN). VR-GNN models relation generation and graph aggregation into an end-to-end model based on Variational Auto-Encoder. The encoder utilizes the structure, feature and label to generate a proper relation vector. The decoder achieves superior node representation by incorporating the relation translation into the message-passing framework. VR-GNN can fully capture the homophily and heterophily between nodes due to the great flexibility of relation translation in modeling neighbor relationships. We conduct extensive experiments on eight real-world datasets with different homophily-heterophily properties to verify the effectiveness of our model. The experimental results show that VR-GNN gains consistent and significant improvements against state-of-the-art GNN methods under heterophily, and competitive performance under homophily.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Node Classification | Cornell (60%/20%/20% random) | Accuracy92.7 | 95 | |
| Node Classification | Cora (60/20/20 random split) | Accuracy88.27 | 91 | |
| Node Classification | Chameleon (60%/20%/20% random) | Accuracy71.21 | 72 | |
| Node Classification | Texas (60% 20% 20% random splits) | Accuracy94.86 | 62 | |
| Node Classification | CiteSeer (60%/20%/20%) | Test Accuracy81.95 | 45 | |
| Node Classification | Film 60%/20%/20% | Test Accuracy42.16 | 44 | |
| Node Classification | Squirrel (60/20/20) | Accuracy57.5 | 17 |