cs.LGMay 16, 2025

Understanding and Mitigating Under-Confidence in GNNs from the Final Layer

Authors: Jincheng Huang, Jie Xu, Xiaoshuang Shi, Ping Hu, Lei Feng, Xiaofeng Zhu

Organizations: School of Computer Science and Engineering, University of Electronic Science and Technology of China · Southeast University

Abstract

Graph Neural Networks (GNNs) have demonstrated remarkable effectiveness on graph-based tasks. However, their predictive confidence is often miscalibrated, typically exhibiting under-confidence, which harms the reliability of their decisions. Existing calibration methods for GNNs normally introduce additional calibration components, which fail to capture the intrinsic relationship between the model and the prediction confidence, resulting in limited theoretical guarantees and increased computational overhead. To address this issue, we propose a simple yet efficient graph calibration method. We establish a unified theoretical framework revealing that model confidence is jointly governed by class-centroid-level and node-level calibration at the final layer. Based on this insight, we theoretically show that reducing the weight decay of the final-layer parameters alleviates GNN under-confidence by acting on the class-centroid level, while node-level calibration acts as a finer-grained complement to class-centroid-level calibration, which encourages each test node to be closer to its predicted class prototype in the final-layer representations. Extensive experiments validate the superiority of our method. The code is released at https://github.com/huangJC0429/SCAR.

Figures & tables

Appendix figures & tables7 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. The Confidence Trap: Calibration Attacks for Graph Neural Networks

    Jun 7, 2026Cuong Dang, Jiahao Zhang, Hieu Ta Quang +3Graph Neural NetworksAdversarial Training

  2. When does distribution shift break graph neural networks calibration?

    Jul 12, 2026Abderaouf BahiGraph Neural NetworksDistribution Shifts