On the Impact of Feature Heterophily on Link Prediction with Graph Neural Networks
Abstract
Heterophily, or the tendency of connected nodes in networks to have different class labels or dissimilar features, has been identified as challenging for many Graph Neural Network (GNN) models. While the challenges of applying GNNs for node classification when class labels display strong heterophily are well understood, it is unclear how heterophily affects GNN performance in other important graph learning tasks where class labels are not available. In this work, we focus on the link prediction task and systematically analyze the impact of heterophily in node features on GNN performance. Theoretically, we first introduce formal definitions of homophilic and heterophilic link prediction tasks, and present a theoretical framework that highlights the different optimizations needed for the respective tasks. We then analyze how different link prediction encoders and decoders adapt to varying levels of feature homophily and introduce designs for improved performance. Our empirical analysis on a variety of synthetic and real-world datasets confirms our theoretical insights and highlights the importance of adopting learnable decoders and GNN encoders with ego- and neighbor-embedding separation in message passing for link prediction tasks beyond homophily.
Benchmark Results
Tested on 2 datasets 1 baseline value reported too low
Tables show presented results in global context (best 3 papers + GCN + MLP).
OGB
| # | Model | Hits@50 ↑ | Paper |
|---|---|---|---|
| 1 | PROXI | 0.7650
±0.0027 | |
| 2 | OGB Leader | 0.7129
±0.0018 | |
| 3 | GIDN | 0.7096
±0.0055 | |
| 8 | BUDDY-SIGN | 0.6664
±0.0064 | This paper |
| 9 | GCN | 0.6621
±0.0033 | prev best: Node Identifiers: Compact, Discrete Representations for Efficient Graph Learning (ICLR 2024) |
| 12 | BUDDY-NoFeat | 0.6606
±0.0022 | This paper |
| 23 | AA | 0.6435 | This paper |
| 26 | RA | 0.6400 | This paper |
| 27 | CN | 0.6137 best reported | best at pub: Labeling Trick: A Theory of Using Graph Neural Networks for Multi-Node Representation Learning (NeurIPS 2020) best today: Weak Models Can be Good Teachers: A Case Study on Link Prediction with MLPs (2025) |
| 28 | SAGE | 0.5944
±0.0137 | |
| 79 | SAGE+MLP | 0.4864
±0.0039 | This paper |
| 94 | MLP | 0.4438
±0.0347 | |
| 101 | GPRGNN | 0.3952
±0.0128 | This paper |
| 117 | NoGNN | 0.0607
±0.0018 | This paper |
