Understanding Heterophily for Graph Neural Networks
Abstract
Graphs with heterophily have been regarded as challenging scenarios for Graph Neural Networks (GNNs), where nodes are connected with dissimilar neighbors through various patterns. In this paper, we present theoretical understandings of heterophily for GNNs by incorporating the graph convolution (GC) operations into fully connected networks via the proposed Heterophilous Stochastic Block Models (HSBM), a general random graph model that can accommodate diverse heterophily patterns. Our theoretical investigation comprehensively analyze the impact of heterophily from three critical aspects. Firstly, for the impact of different heterophily patterns, we show that the separability gains are determined by two factors, i.e., the Euclidean distance of the neighborhood distributions and $ [deg]$, where $ [deg]$ is the averaged node degree. Secondly, we show that the neighborhood inconsistency has a detrimental impact on separability, which is similar to degrading $ [deg]$ by a specific factor. Finally, for the impact of stacking multiple layers, we show that the separability gains are determined by the normalized distance of the $l$-powered neighborhood distributions, indicating that nodes still possess separability in various regimes, even when over-smoothing occurs. Extensive experiments on both synthetic and real-world data verify the effectiveness of our theory.
Benchmark Results
Tested on 7 datasets 4 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 | prev best: On the Equivalence of Graph Convolution and Mixup (TMLR 2023) Improvement within reported uncertainty; not highlighted. |
| 39 | SAGE | 0.8911
±0.0012 | |
| 724 | MLP | 0.7768 | prev best: From Node Interaction to Hop Interaction: New Effective and Scalable Graph Learning Paradigm (2022) Improvement within reported uncertainty; not highlighted. |
Heterophilic Graphs
| # | 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 best reported | best at pub: Heterophily-Aware Graph Attention Network (2023) |
| 68 | GraphSAGE | 0.3899
±0.0085 | |
| 135 | GCN | 0.3690 best reported | best at pub: Beyond Low-frequency Information in Graph Convolutional Networks (AAAI 2021) |
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | Hetero-S (GAT 8-layer) | 0.8693 | |
| 2 | Dir-GNN+CNA | 0.8586
±0.0180 | |
| 3 | GAT | 0.8560 | |
| 52 | GCN | 0.7033 | prev best: Spectral-Aware Augmentation for Enhanced Graph Representation Learning (2023) Improvement within reported uncertainty; not highlighted. |
| 108 | SAGE | 0.6340
±0.0300 | |
| 169 | MLP | 0.5429 | prev best: Block Modeling-Guided Graph Convolutional Neural Networks (AAAI 2021) |
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | IBG-NN | 0.7763
±0.0179 | |
| 2 | Dir-GNN+CNA | 0.7747
±0.0128 | |
| 3 | DHGNN | 0.7684
±0.0161 | |
| 46 | GCN | 0.6067 | prev best: Restructuring Graphs for Higher Homophily via Adaptive Spectral Clustering (AAAI 2022) |
| 120 | SAGE | 0.4460
±0.0130 | |
| 172 | MLP | 0.3663 | prev best: Block Modeling-Guided Graph Convolutional Neural Networks (AAAI 2021) |
Heterophily Benchmark
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | UniGAP | 0.6375
±0.0110 | |
| 2 | H2GCN + HalfHop | 0.5961
±0.0100 | |
| 3 | GraphSAGE + HalfHop | 0.5897
±0.0150 | |
| 12 | SAGE | 0.5569
±0.0023 | |
| 24 | GCN | 0.5411
±0.0034 best reported | best at pub: Graph Neural Networks for Graphs with Heterophily: A Survey (2022) |
| 84 | MLP | 0.5058 | prev best: Evolving Computation Graphs (ICML 2023) |
LINKX Benchmarks
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | LargeScaleNet | 0.6582
±0.0036 | |
| 2 | S² DirGCN | 0.6495
±0.0033 | |
| 3 | FaberNet | 0.6462
±0.0101 | |
| 31 | GCN | 0.4602
±0.0026 best reported | best at pub: Convolutional Neural Networks on Graphs with Chebyshev Approximation, Revisited (NeurIPS 2022) best today: Scale-aware Message Passing For Graph Node Classification (2024) |
| 56 | MLP | 0.3670
±0.0021 best reported | best at pub: Label-Wise Graph Convolutional Network for Heterophilic Graphs (2021) best today: Scale-aware Message Passing For Graph Node Classification (2024) Difference within reported uncertainty; not counted as underperformance. |
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | FaberNet | 0.7510
±0.0003 | |
| 2 | LargeScaleNet | 0.7505
±0.0005 | |
| 3 | DirGNN | 0.7395
±0.0005 | |
| 16 | GCN | 0.5102
±0.0006 best reported | best at pub: Non-Local Graph Neural Networks (2020) best today: Scale-aware Message Passing For Graph Node Classification (2024) |
| 32 | MLP | 0.3150 | prev best: Gradient Gating for Deep Multi-Rate Learning on Graphs (ICLR 2022) |
