Optimized Graph Structures for Calibrating Graph Neural Networks with Out-of-Distribution Nodes.
Weili Shi, Xueying Yang, Xujiang Zhao, Haifeng Chen, Zhiqiang Tao, Sheng Li
University of Virginia. · Santa Clara University.
Key points
From the paper's conclusion- We further design a tailored calibration-aware reward to guide the policy toward an adaptive graph structure that suppresses harmful OOD information propagation.
Abstract
Calibrating graph neural networks (GNNs) in the presence of out-of-distribution (OOD) nodes is challenging because messages propagated from OOD neighbors can distort both the predictions and confidence estimates of in-distribution (ID) nodes. Existing graph calibration methods primarily adjust model outputs through node-wise temperature scaling or reweight edges according to general predictive importance and homophily. However, they do not directly account for the adverse effects of ID-OOD connections and may therefore preserve or even amplify misleading information propagated from OOD nodes. Inspired by the ability of graph structure learning to filter noisy topological information, we empirically observe that downweighting edges between ID and OOD nodes can substantially improve calibration. Identifying these edges and assigning appropriate weights is challenging because the identities of OOD nodes are unknown. To address this challenge, we propose Graph Calibration via Structure Optimization (GCSO), a novel framework for calibrating GNNs in the presence of OOD nodes. GCSO introduces an iterative edge-sampling mechanism to capture graph topological information and formulates adaptive structure optimization as a Markov Decision Process (MDP). An actor-critic policy then dynamically adjusts edge weights based on their effects on target-node predictions. We further design a tailored calibration-aware reward to guide the policy toward an adaptive graph structure that suppresses harmful OOD information propagation. Moreover, the optimized graph structure can be seamlessly integrated with existing temperature-scaling methods for further calibration improvements. Experiments on benchmark datasets demonstrate that GCSO significantly reduces expected calibration error while maintaining competitive classification accuracy. The source code is available at https://github.com/DamoSWL/GCSO.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A Unified Uncertainty Representation for Graph Neural Networks via Doubly-Spectral Stochastic ExpansionarXiv · 2026
- Complementary Supervised and Self-Supervised Representations for Out-of-Distribution Graph LearningarXiv · 2026
- Interpretable structural temperature scaling for calibrating graph neural networks and point-cloud segmentationarXiv · 2026
- Generalizing on Diverse Shifts: A Unified Topology-Aware Reweighting Algorithm for Graphs.IEEE transactions on pattern analysis and machine intelligence · 2026
- Topology-aware dynamic co-evolution for robust graph learning.Neural networks : the official journal of the International Neural Network Society · 2026
- Curriculum-GraphLLM: Joint Optimization of Architectures, Structures and Texts for Denoised Graph Neural Architecture Search.IEEE transactions on pattern analysis and machine intelligence · 2026