[Paper Review] Be Confident! Towards Trustworthy Graph Neural Networks via Confidence Calibration
The paper shows GNNs are typically under-confident and introduces CaGCN, a topology-aware post-hoc calibration model, plus CaGCN-st for calibrated self-training to improve both calibration and accuracy.
Despite Graph Neural Networks (GNNs) have achieved remarkable accuracy, whether the results are trustworthy is still unexplored. Previous studies suggest that many modern neural networks are over-confident on the predictions, however, surprisingly, we discover that GNNs are primarily in the opposite direction, i.e., GNNs are under-confident. Therefore, the confidence calibration for GNNs is highly desired. In this paper, we propose a novel trustworthy GNN model by designing a topology-aware post-hoc calibration function. Specifically, we first verify that the confidence distribution in a graph has homophily property, and this finding inspires us to design a calibration GNN model (CaGCN) to learn the calibration function. CaGCN is able to obtain a unique transformation from logits of GNNs to the calibrated confidence for each node, meanwhile, such transformation is able to preserve the order between classes, satisfying the accuracy-preserving property. Moreover, we apply the calibration GNN to self-training framework, showing that more trustworthy pseudo labels can be obtained with the calibrated confidence and further improve the performance. Extensive experiments demonstrate the effectiveness of our proposed model in terms of both calibration and accuracy.
Motivation & Objective
- Identify whether GNNs are well-calibrated in semi-supervised node classification.
- Demonstrate under-confidence in existing GNNs and its implications for trustworthy predictions.
- Propose CaGCN, a topology-aware, non-linear, accuracy-preserving calibration function for GCNs.
- Show that calibrated confidence improves self-training performance in GNNs.
- Demonstrate empirical gains in calibration metrics and prediction accuracy on standard datasets.
Proposed method
- Demonstrate that GCNs and GATs are under-confident using reliability diagrams and confidence distributions on Cora, Citeseer, Pubmed, and CoraFull.
- Propose CaGCN, a calibration GCN that takes logits from a classification GCN and propagates calibrated confidence along the graph topology to produce node-wise calibrated probabilities.
- Ensure accuracy preservation by designing a temperature-scales-like mechanism with node-wise temperatures learned via another GCN, keeping class order; provide proofs of isotonicity considerations.
- Formulate an optimization combining negative log-likelihood (NLL) with a confidence-calibration regularizer to encourage higher confidence on correct predictions and lower confidence on incorrect ones.
- Extend CaGCN to CaGCN-st, a self-training framework where calibrated confidences generate pseudo labels, enabling staged retraining and improved performance.
Experimental results
Research questions
- RQ1What is the calibration state of common GNNs (GCN, GAT) on semi-supervised node classification?
- RQ2Can topology-aware calibration improve confidence estimates without sacrificing accuracy?
- RQ3How can a calibration function be designed to preserve the original classifier's accuracy while improving calibration?
- RQ4Does calibrating confidence benefit self-training for unlabeled nodes in graph settings?
- RQ5What empirical gains in calibration metrics and accuracy can CaGCN and CaGCN-st achieve on standard datasets?
Key findings
- GNNs (GCN, GAT) are under-confident, with reliability diagrams showing higher accuracy than confidence across datasets.
- CaGCN improves calibration (lower ECE) and maintains or improves classification accuracy compared to uncalibrated models, TS, and MS baselines.
- CaGCN-st consistently outperforms baselines in node classification accuracy across Cora, Citeseer, Pubmed, and CoraFull at multiple label rates.
- Calibrating confidence via CaGCN enables effective self-training, yielding higher accuracy than traditional self-training methods.
- The proposed approach leverages topology-aware smoothing of confidence, achieving accuracy-preserving calibration.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.