Skip to content

When does distribution shift break graph neural networks calibration?

Jul 2026 · arXiv.org · Vol abs/2607.10804 · 0 citations · 37 references
Computer Science

TL;DR

This work presents the first closed-form theoretical characterization of GNN calibration under distribution shift, and shows that calibration is governed by a single scalar quantity that explicitly depends on structural changes between the source and target graphs, as well as feature quality.

Abstract

Graph neural networks (GNNs) are increasingly deployed in real-world applications where distribution shift is un-avoidable. However, how such shifts affect model calibration, defined as the agreement between predictive confidence and actual accuracy, remains poorly understood, and existing graph calibration methods typically rely on labeled validation data from the deployment distribution. In this work, I present the first closed-form theoretical characterization of GNN calibration under distribution shift. I show that calibration is governed by a single scalar quantity that explicitly depends on structural changes between the source and target graphs, as well as feature quality. This characterization precisely identifies when a model becomes over-confident, under-confident, or remains calibrated, and directly yields the optimal temperature scaling strategy. I further extend the analysis to graph convolutional networks with symmetric normalization, multi-class classification, and covariate shift, and derive a theoretical upper bound on the expected calibration error. My analysis also reveals that, under homogeneous distribution shift, a single global temperature is theoretically optimal, providing a principled explanation for why more complex node-wise recalibration methods offer no additional benefit. Building on these theoretical insights, I propose STAC, a source-free, label-free calibration method. Experiments on synthetic benchmarks demonstrate substantial calibration improvements, while evaluations on five real-world graph datasets show that reliable calibration without target labels remains challenging despite the strong predictive power of the theory.

View source

Similar papers

Conference Open access Sep 2026

Mitigating Dynamic Graph Distribution Shifts via Spectral Augmentation

This paper proposes a spectral-based graph augmentation framework designed to investigate and improve generalization behavior in dynamic graphs under distribution shifts and develops a multi-encoder architecture in which each encoder targets a specific spectral shift component to generate referential representations.

Qian-Yu Song, Chao Li, Zhongying Zhao et al. · 0 citations
Conference Aug 2026

AdaCal-GNN: Adaptive Confidence Calibration for Graph Neural Networks

Graph Neural Networks (GNNs) often produce poorly calibrated predictions, where the predicted probabilities do not accurately reflect the true likelihood of correctness. Recent studies indicate that miscalibration in GNNs exhibits a heterogeneous pattern: while neighborhood aggregation induces an overall underconfidenc...

Ji-Wei Li, Hao Yang, Li-Zhen Wu et al. · 0 citations
Book Open access Aug 2026

Beyond Graph Distribution Shifts: LLMs, Adaptation, and Generalization

This tutorial presents a comprehensive overview of three emerging and synergistic directions for tackling distribution shifts in graph learning, which highlight Graph LLMs, which combine the representational power of large language models with graph structures to enable flexible, in-context, and few-shot learning on gr...

Xin Wang, Haoyang Li, Haibo Chen et al. · 0 citations
#artificial intelligence Preprint Sep 2026

A Unified Uncertainty Representation for Graph Neural Networks via Doubly-Spectral Stochastic Expansion

A capacity theorem shows that, under a full-rank feature assumption, a restricted subfamily matches the chaos coefficients of any Gaussian-latent random graph signal, with exponentially decaying truncation error under a growth condition; the task-level claims are established empirically.

Fred Xu, Thomas Markovich, Florence Regol et al. · 0 citations
Open access Aug 2026

MatUQ: a benchmark for uncertainty-aware out-of-distribution materials property prediction with graph neural networks

This work introduces MatUQ, a benchmark built on structure-aware Smooth Overlap of Atomic Positions Leave-One-Cluster-Out (SOAP-LOCO) splitting, together with a training protocol that combines Deep Evidential Regression (DER) with dropout regularization, for evaluating GNN reliability under structural distribution shif...

Liqin Tan, Xiean Wang, Yuexin Zou et al. · 1 citation
Book Open access Aug 2026

The Hidden Fragility of GNNs: How Graph Structure Amplifies Numerical Errors

This work proposes Aggregation-Aware Representation Learning (AARL) to learn numerically stable and cancellation-resistant representations without sacrificing expressiveness, and formalizes this through the cancellation ratio, proving that it is fundamentally governed by graph topology.

Jiawei Gu, Zi-Yue Qiao · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.