In-n-Out: Calibrating Graph Neural Networks for Link Prediction
Not on the map. Why?
Abstract (arXiv)
Deep neural networks are notoriously miscalibrated, i.e., their outputs do not reflect the true probability of the event we aim to predict. While networks for tabular or image data are usually overconfident, recent works have shown that graph neural networks (GNNs) show the opposite behavior for node-level classification. But what happens when we are predicting links? We show that, in this case, GNNs often exhibit a mixed behavior. More specifically, they may be overconfident in negative predictions while being underconfident in positive ones. Based on this observation, we propose IN-N-OUT, the first-ever method to calibrate GNNs for link prediction. IN-N-OUT is based on two simple intuitions: i) attributing true/false labels to an edge while respecting a GNNs prediction should cause but small fluctuations in that edge's embedding; and, conversely, ii) if we label that same edge contradicting our GNN, embeddings should change more substantially. An extensive experimental campaign shows that IN-N-OUT significantly improves the calibration of GNNs in link prediction, consistently outperforming the baselines available -- which are not designed for this specific task.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 16 of its 33 references that are in the map. First posted on arXiv 7 Mar 2024.
Builds on
16 of 33 references.
References · 16
- 2017Inductive Representation Learning on Large Graphscited by 6,284
- 2017On Calibration of Modern Neural Networkscited by 4,860
- 2018How Powerful are Graph Neural Networks?cited by 4,355
- 2017Neural Message Passing for Quantum Chemistrycited by 3,460
- 2019Fast Graph Representation Learning with PyTorch Geometriccited by 2,414
- 2016Variational Graph Auto-Encoderscited by 1,373
- 2018Link Prediction Based on Graph Neural Networkscited by 829
- 2019Multi-scale Attributed Node Embeddingcited by 543
- 2021FedGNN: Federated Graph Neural Network for Privacy-Preserving Recommendationcited by 97
- 2022Equivariant and Stable Positional Encoding for More Powerful Graph Neural Networkscited by 94
- 2021Be Confident! Towards Trustworthy Graph Neural Networks via Confidence Calibrationcited by 91
- 2023Uncertainty Quantification over Graph with Conformalized Graph Neural Networkscited by 79
4 more
- 2022Message passing all the way upcited by 47
- 2022What Makes Graph Neural Networks Miscalibrated?cited by 39
- 2019Are Graph Neural Networks Miscalibrated?cited by 14
- 2021Heterogeneous Graph Neural Networks for Large-Scale Bid Keyword Matchingcited by 6
Built on by
Citing papers per year: 2024: 1; 2025: 1; 2026: 1.
3 papers.