On Calibration of Graph Neural Networks for Node Classification

Tong Liu, Yushan Liu, Marcel Hildebrandt, Mitchell Joblin, Hang Li +1 more
6/3/2022
cs.LG
gnn

Official code: liu-yushan/calGNN (2 stars, Python, Apache-2.0, last commit 2023-03-07).

Abstract

Graphs can model real-world, complex systems by representing entities and their interactions in terms of nodes and edges. To better exploit the graph structure, graph neural networks have been developed, which learn entity and edge embeddings for tasks such as node classification and link prediction.

Show full abstract

These models achieve good performance with respect to accuracy, but the confidence scores associated with the predictions might not be calibrated. That means that the scores might not reflect the ground-truth probabilities of the predicted events, which would be especially important for safety-critical applications. Even though graph neural networks are used for a wide range of tasks, the calibration thereof has not been sufficiently explored yet. We investigate the calibration of graph neural networks for node classification, study the effect of existing post-processing calibration methods, and analyze the influence of model capacity, graph density, and a new loss function on calibration. Further, we propose a topology-aware calibration method that takes the neighboring nodes into account and yields improved calibration compared to baseline methods.

View on arXivView PDF

Code Implementations(1)

liu-yushan/calGNNOfficial100%
Apache-2.0
22PythonMay 23, 20223 years agoApache-2.0

Similar Papers

Cite this paper

@article{liu2022calibration,
  title  = {On Calibration of Graph Neural Networks for Node Classification},
  author = {Tong Liu and Yushan Liu and Marcel Hildebrandt and Mitchell Joblin and Hang Li and Volker Tresp},
  year   = {2022},
  eprint = {2206.01570},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.01570}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2206.01570.svg)](https://codeofpaper.com/paper/2206.01570)

Discussion