mlsanityData to 7 Oct 2026

Pitfalls in Link Prediction with Graph Neural Networks: Understanding the Impact of Target-link Inclusion & Better Practices

arXiv 2306.00899 ↗First posted 1 Jun 2023cs.LG cs.IR cs.SIcited by 13

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

  1. 2017Inductive Representation Learning on Large Graphscited by 6,284
  2. 2019Fast Graph Representation Learning with PyTorch Geometriccited by 2,414
  3. 2016Variational Graph Auto-Encoderscited by 1,373
  4. 2018Representation Learning on Graphs with Jumping Knowledge Networkscited by 875
  5. 2018Link Prediction Based on Graph Neural Networkscited by 829
  6. 2020GPT-GNN: Generative Pre-Training of Graph Neural Networkscited by 302
  7. 2021Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link Predictioncited by 273
  8. 2017struc2vec: Learning Node Representations from Structural Identitycited by 214
  9. 2019Position-aware Graph Neural Networkscited by 203
  10. 2018Hyperspherical Variational Auto-Encoderscited by 188
  11. 2020Labeling Trick: A Theory of Using Graph Neural Networks for Multi-Node Representation Learningcited by 148
  12. 2020DistDGL: Distributed Graph Neural Network Training for Billion-Scale Graphscited by 139
3 more
  1. 2019Commonsense Knowledge Base Completion with Structural and Semantic Contextcited by 61
  2. 2022FakeEdge: Alleviate Dataset Shift in Link Predictioncited by 12
  3. 2020Repurpose Open Data to Discover Therapeutics for COVID-19 using Deep Learningcited by 9

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 1; 2024: 6; 2025: 4; 2026: 2.

13 papers.

Sort:

By area: