Calibrating Graph Neural Networks from a Data-centric Perspective
Cheng Yang, Chengdong Yang, Chuan Shi, Yawen Li, Zhiqiang Zhang, Jun Zhou
Abstract
Graph neural networks (GNNs) have gained popularity in modeling various complex networks, e.g., social network and webpage network. Despite the promising accuracy, the confidences of GNNs are shown to be miscalibrated, indicating limited awareness of prediction uncertainty and harming the reliability of model decisions. Existing calibration methods primarily focus on improving GNN models, e.g., adding regularization during training or introducing temperature scaling after training. In this paper, we argue that the miscalibration of GNNs may stem from the graph data and can be alleviated through topology modification. To support this motivation, we conduct data observations by examining the impacts ofdecisive andhomophilic edges on calibration performance, where decisive edges play a critical role in GNN predictions and homophilic edges connect nodes of the same class. By assigning larger weights to these edges in the adjacency matrix, we observe an improvement in calibration performance without sacrificing classification accuracy. This suggests the potential of a data-centric approach for calibrating GNNs. Motivated by our observations, we propose Data-centric Graph Calibration (DCGC), which uses two edge weighting modules to adjust the input graph for GNN calibration. The first module learns the weights of decisive edges by parameterizing the adjacency matrix and enabling backpropagation of the prediction loss to edge weights. This emphasizes critical edges that fit the prediction needs. The second module computes weights for homophilic edges based on predicted label distributions, assigning larger weights to edges with stronger homophily. These modifications operate at the data level and can be easily integrated with temperature scaling-based methods for better calibration. Experimental results on 8 benchmark datasets demonstrate that DCGC achieves state-of-the-art calibration performance, with an average relative improvement of 36.4% in ECE, while maintaining or even slightly improving classification accuracy. Ablation studies and hyper-parameter analysis further validate the effectiveness and robustness of our proposed method DCGC. Code and data are available at https://github.com/BUPT-GAMMA/DCGC.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 4e0f26d5-c663-44be-840e-924d5b31cb39Cited by top-tier papers4
- The Confidence Trap: Calibration Attacks for Graph Neural NetworksCuong Dang, Jiahao Zhang, Hieu Ta Quang, Dung Le et al.KDD 2026
- Enhancing the Influence of Labels on Unlabeled Nodes in Graph Convolutional NetworksJincheng Huang, Yujie Mo, Xiaoshuang Shi, Lei Feng et al.ICML 2025
- Towards Precise Prediction Uncertainty in GNNs: Refining GNNs with Topology-grouping StrategyHyunjin Seo, Kyusung Seo, Joonhyung Park, Eunho YangAAAI 2025
- WATS: Wavelet-Aware Temperature Scaling for Reliable Graph Neural NetworksXiaoyang Li, Linwei Tao, Haohui Lu, Minjing Dong et al.ICLR 2026
Builds on10
- Open Graph Benchmark: Datasets for Machine Learning on GraphsWeihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong et al.NeurIPS 2020 · 3,935 citations
- DropEdge: Towards Deep Graph Convolutional Networks on Node ClassificationYu Rong, Wenbing Huang, Tingyang Xu, Junzhou HuangICLR 2020 · 1,599 citations
- Graph Neural Networks Exponentially Lose Expressive Power for Node ClassificationKenta Oono, Taiji SuzukiICLR 2020 · 864 citations
- Large Scale Learning on Non-Homophilous Graphs: New Benchmarks and Strong Simple MethodsDerek Lim, Felix Hohne, Xiuyu Li, Sijia Linda Huang et al.NeurIPS 2021 · 534 citations
- Uncertainty Aware Semi-Supervised Learning on Graph DataXujiang Zhao, Feng Chen, Shu Hu, Jin-Hee ChoNeurIPS 2020 · 178 citations
Related papers
- Be Confident! Towards Trustworthy Graph Neural Networks via Confidence CalibrationXiao Wang, Hongrui Liu, Chuan Shi, Cheng YangNeurIPS 2021 · 158 citations
- Improving GNN Calibration with Discriminative Ability: Insights and StrategiesYujie Fang, Xin Li, Qianyu Chen, Mingzhong WangAAAI 2024 · 1 citation
- What Makes Graph Neural Networks Miscalibrated?Hans Hao-Hsun Hsu, Yuesong Shen, Christian Tomani, Daniel CremersNeurIPS 2022 · 63 citations
- GETS: Ensemble Temperature Scaling for Calibration in Graph Neural NetworksDingyi Zhuang, Chonghe Jiang, Yunhan Zheng, Shenhao Wang et al.ICLR 2025
- Balanced Confidence Calibration for Graph Neural NetworksHao Yang, Min Wang, Qi Wang, Mingrui Lao et al.KDD 2024 · 3 citations
