Papers › Be Confident! Towards Trustworthy Graph Neural Networks via Confidence Calibration

Be Confident! Towards Trustworthy Graph Neural Networks via Confidence Calibration

29 Sep 2021NeurIPS 2021 12arXiv:2109.14285archive 2025-07-28

Xiao Wang, Hongrui Liu, Chuan Shi, Cheng Yang

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.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2109.14285")

Code

Syntology Ran 4 of 15 code samples harvested from 4 repositories linked to this paper; 11 have no recorded run. Of those that ran: 1 ran · violated contract; 3 ran · our draft was wrong.

By repository: community (archive-listed): 8 samples from 2 repositories, 1 ran; found in paper text by Syntology: 7 samples from 2 repositories, 3 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

BUPT-GAMMA/CaGCN mentioned on GitHubpytorchMIT report
TaurusTaurus-Rui/CaGCN mentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

15 samples harvested; 4 ran; 0 honoured the contract we drafted; 11 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · violated contract
3ran · our draft was wrong
11unverified

Licence: 0 of the 15 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 4 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

normalize_adj BUPT-GAMMA/CaGCN/utils.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 21b0199200507ff0 · report
brier_score_criterion BUPT-GAMMA/CaGCN/util_calibration.py community (archive-listed) unverified MIT (permissive) · 49985109b7aff28c · report
generate_pesudo_label BUPT-GAMMA/CaGCN/CaGCN.py community (archive-listed) unverified MIT (permissive) · bbb7de90271b2771 · report
generate_pesudo_label BUPT-GAMMA/CaGCN/baseline/co_training.py community (archive-listed) unverified MIT (permissive) · a7da17a36ae1d68d · report
generate_pesudo_label TaurusTaurus-Rui/CaGCN/baseline/self_training.py community (archive-listed) unverified MIT (permissive) · 39199ce92db5bcf5 · report
get_confidence BUPT-GAMMA/CaGCN/util_calibration.py community (archive-listed) unverified MIT (permissive) · f653820785535682 · report
irova_calibrate BUPT-GAMMA/CaGCN/util_calibration.py community (archive-listed) unverified MIT (permissive) · d35fed350a45f9fc · report
preprocess_adj BUPT-GAMMA/CaGCN/utils.py community (archive-listed) unverified MIT (permissive) · 934ca60e9bd12c56 · report
encode_onehot tkipf/pygcn/pygcn/utils.py found in paper text by Syntology ran · our draft was wrong fingerprinted MIT (permissive) · 3ab88254add4c192 · report
normalize tkipf/pygcn/pygcn/utils.py found in paper text by Syntology ran · violated contract MIT (permissive) · aa9c29936dee40a7 · report
normalize_adj Diego999/pyGAT/utils.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · d45f434d25f2e870 · report
encode_onehot Diego999/pyGAT/utils.py found in paper text by Syntology unverified MIT (permissive) · f9445ddf8653224c · report
load_data Diego999/pyGAT/utils.py found in paper text by Syntology unverified MIT (permissive) · d1ed93364d2ef7cb · report
load_data tkipf/pygcn/pygcn/utils.py found in paper text by Syntology unverified MIT (permissive) · 0503d0e1f92b51c3 · report
make_dot Diego999/pyGAT/visualize_graph.py found in paper text by Syntology unverified MIT (permissive) · bca7f86b2fb5bf67 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections