Pitfalls in Link Prediction with Graph Neural Networks: Understanding the Impact of Target-link Inclusion & Better Practices
Not on the map. Why?
Abstract (arXiv)
While Graph Neural Networks (GNNs) are remarkably successful in a variety of high-impact applications, we demonstrate that, in link prediction, the common practices of including the edges being predicted in the graph at training and/or test have outsized impact on the performance of low-degree nodes. We theoretically and empirically investigate how these practices impact node-level performance across different degrees. Specifically, we explore three issues that arise: (I1) overfitting; (I2) distribution shift; and (I3) implicit test leakage. The former two issues lead to poor generalizability to the test data, while the latter leads to overestimation of the model's performance and directly impacts the deployment of GNNs. To address these issues in a systematic way, we introduce an effective and efficient GNN training framework, SpotTarget, which leverages our insight on low-degree nodes: (1) at training time, it excludes a (training) edge to be predicted if it is incident to at least one low-degree node; and (2) at test time, it excludes all test edges to be predicted (thus, mimicking real scenarios of using GNNs, where the test data is not included in the graph). SpotTarget helps researchers and practitioners adhere to best practices for learning from graph data, which are frequently overlooked even by the most widely-used frameworks. Our experiments on various real-world datasets show that SpotTarget makes GNNs up to 15x more accurate in sparse graphs, and significantly improves their performance for low-degree nodes in dense graphs.
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Builds on 15 of its 42 references that are in the map. First posted on arXiv 1 Jun 2023.
Builds on
15 of 42 references.
References · 15
- 2017Inductive Representation Learning on Large Graphscited by 6,284
- 2019Fast Graph Representation Learning with PyTorch Geometriccited by 2,414
- 2016Variational Graph Auto-Encoderscited by 1,373
- 2018Representation Learning on Graphs with Jumping Knowledge Networkscited by 875
- 2018Link Prediction Based on Graph Neural Networkscited by 829
- 2020GPT-GNN: Generative Pre-Training of Graph Neural Networkscited by 302
- 2021Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link Predictioncited by 273
- 2017struc2vec: Learning Node Representations from Structural Identitycited by 214
- 2019Position-aware Graph Neural Networkscited by 203
- 2018Hyperspherical Variational Auto-Encoderscited by 188
- 2020Labeling Trick: A Theory of Using Graph Neural Networks for Multi-Node Representation Learningcited by 148
- 2020DistDGL: Distributed Graph Neural Network Training for Billion-Scale Graphscited by 139
Built on by
Citing papers per year: 2023: 1; 2024: 6; 2025: 4; 2026: 2.
13 papers.
Sort:
By area:
- 2024Mosaic of Modalities: A Comprehensive Benchmark for Multimodal Graph Learningcited by 28
- 2023TouchUp-G: Improving Feature Representation through Graph-Centric Finetuningcited by 12
- 2024On the Impact of Feature Heterophily on Link Prediction with Graph Neural Networkscited by 10
- 2025DISCO Balances the Scales: Adaptive Domain- and Difficulty-Aware Reinforcement Learning on Imbalanced Datacited by 6
- 2024Multi-Stage Balanced Distillation: Addressing Long-Tail Challenges in Sequence-Level Knowledge Distillationcited by 5
- 2025GraphTOP: Graph Topology-Oriented Prompting for Graph Neural Networkscited by 5
- 2025Graph Prompting for Graph Learning Models: Recent Advances and Future Directionscited by 3
- 2024Link Prediction with Physics-Inspired Graph Neural Networkscited by 1
- 2024PROXI: Challenging the GNNs for Link Predictioncited by 1
- 2024Towards Understanding Link Predictor Generalizability Under Distribution Shiftscited by 0
- 2025Graph Neural Networks for O-RAN Mobility Management: A Link Prediction Approachcited by 0
- 2026Topology Matters: A Cautionary Case Study of Graph SSL on Neuro-Inspired Benchmarkscited by 0
1 more
- 2026MUGEN: Generating Unlearnable Graph Examples for Multiple Learning Tasks1 Sep 2026
- 2026Topology Matters: A Cautionary Case Study of Graph SSL on Neuro-Inspired Benchmarks3 Feb 2026
- 2025GraphTOP: Graph Topology-Oriented Prompting for Graph Neural Networks25 Oct 2025
- 2025Graph Prompting for Graph Learning Models: Recent Advances and Future Directions10 Jun 2025
- 2025DISCO Balances the Scales: Adaptive Domain- and Difficulty-Aware Reinforcement Learning on Imbalanced Data21 May 2025
- 2025Graph Neural Networks for O-RAN Mobility Management: A Link Prediction Approach4 Feb 2025
- 2024PROXI: Challenging the GNNs for Link Prediction2 Oct 2024
- 2024On the Impact of Feature Heterophily on Link Prediction with Graph Neural Networks26 Sep 2024
- 2024Mosaic of Modalities: A Comprehensive Benchmark for Multimodal Graph Learning24 Jun 2024
- 2024Multi-Stage Balanced Distillation: Addressing Long-Tail Challenges in Sequence-Level Knowledge Distillation19 Jun 2024
- 2024Towards Understanding Link Predictor Generalizability Under Distribution Shifts13 Jun 2024
- 2024Link Prediction with Physics-Inspired Graph Neural Networks22 Feb 2024
1 more
- 2024Mosaic of Modalities: A Comprehensive Benchmark for Multimodal Graph Learningcited by 28
- 2023TouchUp-G: Improving Feature Representation through Graph-Centric Finetuningcited by 12
- 2024On the Impact of Feature Heterophily on Link Prediction with Graph Neural Networkscited by 10
- 2024Multi-Stage Balanced Distillation: Addressing Long-Tail Challenges in Sequence-Level Knowledge Distillationcited by 5
- 2025GraphTOP: Graph Topology-Oriented Prompting for Graph Neural Networkscited by 5
- 2025Graph Prompting for Graph Learning Models: Recent Advances and Future Directionscited by 3
- 2024Link Prediction with Physics-Inspired Graph Neural Networkscited by 1
- 2024PROXI: Challenging the GNNs for Link Predictioncited by 1
- 2024Towards Understanding Link Predictor Generalizability Under Distribution Shiftscited by 0
- 2025Graph Neural Networks for O-RAN Mobility Management: A Link Prediction Approachcited by 0
- 2026Topology Matters: A Cautionary Case Study of Graph SSL on Neuro-Inspired Benchmarkscited by 0
- 2026MUGEN: Generating Unlearnable Graph Examples for Multiple Learning Taskscited by 0
- 2026MUGEN: Generating Unlearnable Graph Examples for Multiple Learning Tasks1 Sep 2026
- 2026Topology Matters: A Cautionary Case Study of Graph SSL on Neuro-Inspired Benchmarks3 Feb 2026
- 2025GraphTOP: Graph Topology-Oriented Prompting for Graph Neural Networks25 Oct 2025
- 2025Graph Prompting for Graph Learning Models: Recent Advances and Future Directions10 Jun 2025
- 2025Graph Neural Networks for O-RAN Mobility Management: A Link Prediction Approach4 Feb 2025
- 2024PROXI: Challenging the GNNs for Link Prediction2 Oct 2024
- 2024On the Impact of Feature Heterophily on Link Prediction with Graph Neural Networks26 Sep 2024
- 2024Mosaic of Modalities: A Comprehensive Benchmark for Multimodal Graph Learning24 Jun 2024
- 2024Multi-Stage Balanced Distillation: Addressing Long-Tail Challenges in Sequence-Level Knowledge Distillation19 Jun 2024
- 2024Towards Understanding Link Predictor Generalizability Under Distribution Shifts13 Jun 2024
- 2024Link Prediction with Physics-Inspired Graph Neural Networks22 Feb 2024
- 2023TouchUp-G: Improving Feature Representation through Graph-Centric Finetuning25 Sep 2023