NeurIPS 2026QuestionsPapersAreasAboutMarkdown

HoTS: Homophily-Aware Temperature Scaling for Graph Neural Network Calibration

Inwoo Tae, Yoontae Hwang, Yongjae Lee

NeurIPS page · Open on the map

Category: Graphs, OOD Detection & Medical Imaging › Graph-Based Structured Learning and Generation · Type: new method · Keywords: graph neural network calibration, homophily-aware temperature scaling, post-hoc calibration, node classification, confidence estimation

Areas: Graph Learning › Graph Analysis Methods › Graph Neural Network Uncertainty

Summary

HoTS is a homophily-aware temperature scaling calibrator that assigns per-node temperatures based on local homophily to improve GNN calibration.

Explained to a 5-year-old

Computers draw pictures of things connected together, like friends in a social network. They guess what each thing belongs to, but sometimes they are too sure. The new idea looks at how similar the friends are to each other and changes the confidence of the guess. This makes the guesses more honest, especially for nodes that have very similar neighbors or very different ones. Now we can trust the computer's answers better.

Explained to a 5-year-old, longer

In a social network, each person is a node and the connections are edges. A graph neural network is a computer program that looks at these connections to guess what each person belongs to, like what hobby they like. Sometimes the program says it is very sure about its guess, but it might be wrong. To help with this, researchers studied how similar the friends of a person are to each other, which they call homophily. They noticed that when friends are very similar, the confidence should be higher, and when friends are different, the confidence should be lower. The new method uses this idea to adjust the confidence of each guess individually. It first measures how similar the neighbors are for each node. Then it changes the temperature of the guess based on that similarity. This makes the guesses more reliable and less overconfident. The method works without changing the original guesses, only the confidence scores. It can be used in many different graph tasks, like recommending friends or detecting fraud. By calibrating the confidence, the system can better decide when to trust its own answer or ask a human for help. Overall, the approach makes graph predictions more honest and useful.

For a technical reader

The paper addresses the overconfidence of graph neural networks when they output class probabilities. It shows that a single global temperature scaling does not work well because nodes with the same logits but different local homophily need different calibration. The authors derive a relationship between local homophily and the optimal temperature using a stochastic block model, then propose a per-node temperature that is estimated from entropy and homophily. This calibration improves Expected Calibration Error and confidence ranking without altering the underlying predictions. The method is simple, adds only three parameters, and can be applied to any GNN on a graph.

Problem

Graph neural networks often produce overconfident predictions, and standard post-hoc calibration methods that use a single global temperature fail to account for structural heterogeneity, leading to suboptimal calibration for nodes with varying local homophily.

Method

The approach estimates each node's local homophily and derives a per-node temperature from entropy-based logit concentration, then applies temperature scaling to the logits. It learns the scaling strength from calibration data while preserving class predictions. The method uses a simple post-hoc calibrator with three parameters.

Results

The approach achieves a mean Expected Calibration Error (ECE) of 4.66%, the best average rank, and strongest confidence ranking in selective classification across the benchmarks.

Contributions

It provides a principled analysis linking local homophily to optimal temperature scaling and introduces a simple post-hoc calibrator that assigns per-node temperatures based on homophily. The method preserves class predictions and learns correction strength from calibration data.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction