HoTS: Homophily-Aware Temperature Scaling for Graph Neural Network Calibration
Abstract
For graph node classification, calibrated class probabilities are needed when confidence scores, usually the maximum predicted class probability, are used to rank predictions, defer uncertain nodes to human review, or control risk. Existing post-hoc calibrators either apply one global temperature or use graph-aware modules without a principled structural form. We study how local graph structure should enter node-level calibration. Our first results show that a logit-only temperature rule is insufficient when nodes with identical logits but different local homophily require different optimal temperatures. We then analyze a population-concentration contextual stochastic block model with Gaussian features and a one-layer linear GCN. Under equidistant class means, the Bayes posterior over class-template scores is a temperature-scaled softmax whose inverse-temperature is governed by a homophily-dependent signal strength. In the positive-signal homophilic regime, the resulting temperature decreases approximately inversely with normalized local homophily. This law motivates Homophily-aware Temperature Scaling (HoTS), a simple post-hoc calibrator that assigns each node a positive scalar temperature from entropy-based logit concentration and estimated local homophily. HoTS has three temperature parameters, preserves the predicted class, and learns the strength of the structural correction from calibration data. Across 18 node-classification benchmarks, two GNN backbones, and eight calibration baselines, HoTS achieves the best mean Expected Calibration Error (ECE) of 4.79%, the best average rank, and the most reliable confidence ranking in selective classification. Code is available at https://github.com/inu0104/HoTS.
Create a lesson
Metadata
- Comments
- 37 pages, 9 figures. Accepted at the 40th Conference on Neural Information Processing Systems (NeurIPS 2026)
Related papers
Invertibility aware Integration of Static and Time-series data: An application to Lake Temperature Modeling
Shared title terminologycs.LGKshitij Tayal, Xiaowei Jia, Rahul Ghosh et al.
Logic Gate Graph Neural Networks with Exact Count-Preserving Rules
Shared title terminologycs.LGDehn Xu, Tim Katzke, Emmanuel Müller
Investigating the Effect of k-NN Preprocessing on Developing Graph Neural Networks: A Fairness-Based Perspective
Shared title terminologycs.LGNikolaos Zafeiropoulos, Emmanouil Mavrikos, George E. Tsekouras
Efficient Dynamic Algorithms for Graph Neural Networks with Non-Linear Propagation
Shared title terminologycs.LGKiarash Banihashem, MohammadTaghi Hajiaghayi, Mahdi JafariRaviz et al.
Geometry-Screened Refit-Aware Compression of ReLU Networks
Shared title terminologycs.LGRavi Dhiman
A Matched Filter Representation for Environment-Aware MIMO Channel Estimation
Shared title terminologycs.LGMd. Farhan Shadiq, Md Tawheedul Islam Bhuian, Kyoung-Don Kang