Papers › Better Uncertainty Calibration via Proper Scores for Classification and Beyond

Better Uncertainty Calibration via Proper Scores for Classification and Beyond

15 Mar 2022arXiv:2203.07835archive 2025-07-28

Sebastian G. Gruber, Florian Buettner

With model trustworthiness being crucial for sensitive real-world applications, practitioners are putting more and more focus on improving the uncertainty calibration of deep neural networks. Calibration errors are designed to quantify the reliability of probabilistic predictions but their estimators are usually biased and inconsistent. In this work, we introduce the framework of proper calibration errors, which relates every calibration error to a proper score and provides a respective upper bound with optimal estimation properties. This relationship can be used to reliably quantify the model calibration improvement. We theoretically and empirically demonstrate the shortcomings of commonly used estimators compared to our approach. Due to the wide applicability of proper scores, this gives a natural extension of recalibration beyond classification.

PaperPDFCodeCode 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="2203.07835")

Code

Syntology Ran 17 of 20 code samples harvested from 2 repositories linked to this paper; 3 have no recorded run. Of those that ran: 5 ran · honoured contract; 4 ran · violated contract; 1 ran · our draft was wrong; 7 ran · fixture could not drive it.

By repository: official repository: 20 samples from 2 repositories, 17 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

MLO-lab/better_uncertainty_calibration officialmentioned in papermentioned on GitHubpytorch 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

20 samples harvested; 17 ran; 5 honoured the contract we drafted; 3 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.

5ran · honoured contract
4ran · violated contract
1ran · our draft was wrong
7ran · fixture could not drive it
3unverified

Licence: 20 of the 20 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 2 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.

_get_ce MLO-lab/better_uncertainty_calibration_via_proper_scores_for_classification_and_beyond/errors.py official repository ran · fixture could not drive it no licence file found · pointer only · 5cb88fe9e94e02fa · report
bin MLO-lab/better_uncertainty_calibration_via_proper_scores_for_classification_and_beyond/errors.py official repository ran · fixture could not drive it no licence file found · pointer only · 2a8f482dde16d6b6 · report
difference_mean MLO-lab/better_uncertainty_calibration_via_proper_scores_for_classification_and_beyond/errors.py official repository ran · violated contract no licence file found · pointer only · e5f6a1151a9a4358 · report
enough_duplicates MLO-lab/better_uncertainty_calibration_via_proper_scores_for_classification_and_beyond/errors.py official repository ran · violated contract fingerprinted no licence file found · pointer only · 8c68d185cdf60b2f · report
equal_mass_bins mlo-lab/better_uncertainty_calibration/errors.py official repository ran · fixture could not drive it fingerprinted no licence file found · pointer only · 64ff9694bed38352 · report
equal_width_bins mlo-lab/better_uncertainty_calibration/errors.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 6414bbc08df09a48 · report
fast_bin MLO-lab/better_uncertainty_calibration_via_proper_scores_for_classification_and_beyond/errors.py official repository ran · fixture could not drive it fingerprinted no licence file found · pointer only · c57c1af0da2c94a6 · report
get_bin_probs MLO-lab/better_uncertainty_calibration_via_proper_scores_for_classification_and_beyond/errors.py official repository ran · honoured contract no licence file found · pointer only · 0f3d6c736e79c06a · report
get_discrete_bins MLO-lab/better_uncertainty_calibration_via_proper_scores_for_classification_and_beyond/errors.py official repository ran · honoured contract fingerprinted no licence file found · pointer only · c8a933ef5fbe6075 · report
get_labels_one_hot MLO-lab/better_uncertainty_calibration_via_proper_scores_for_classification_and_beyond/errors.py official repository ran · fixture could not drive it no licence file found · pointer only · e78ed8a6a8a30bb9 · report
get_top_predictions MLO-lab/better_uncertainty_calibration_via_proper_scores_for_classification_and_beyond/errors.py official repository ran · honoured contract fingerprinted no licence file found · pointer only · 2f700262ea09042a · report
get_top_probs MLO-lab/better_uncertainty_calibration_via_proper_scores_for_classification_and_beyond/errors.py official repository ran · violated contract fingerprinted no licence file found · pointer only · c6d37bf5556bca2d · report
is_discrete MLO-lab/better_uncertainty_calibration_via_proper_scores_for_classification_and_beyond/errors.py official repository ran · violated contract fingerprinted no licence file found · pointer only · eb163b70613783c5 · report
plugin_ce MLO-lab/better_uncertainty_calibration_via_proper_scores_for_classification_and_beyond/errors.py official repository ran · fixture could not drive it no licence file found · pointer only · a94f02b8109c002a · report
split mlo-lab/better_uncertainty_calibration/errors.py official repository ran · fixture could not drive it fingerprinted no licence file found · pointer only · 815e55dabb053689 · report
unbiased_l2_ce MLO-lab/better_uncertainty_calibration_via_proper_scores_for_classification_and_beyond/errors.py official repository ran · honoured contract no licence file found · pointer only · eecd90591e3b3066 · report
unbiased_square_ce MLO-lab/better_uncertainty_calibration_via_proper_scores_for_classification_and_beyond/errors.py official repository ran · honoured contract no licence file found · pointer only · 065c035e0ef047af · report
get_binning_ce MLO-lab/better_uncertainty_calibration_via_proper_scores_for_classification_and_beyond/errors.py official repository unverified no licence file found · pointer only · 8b2382c2062304bf · report
get_calibration_error MLO-lab/better_uncertainty_calibration_via_proper_scores_for_classification_and_beyond/errors.py official repository unverified no licence file found · pointer only · 5c8ada24afd93532 · report
lower_bound_scaling_ce MLO-lab/better_uncertainty_calibration_via_proper_scores_for_classification_and_beyond/errors.py official repository unverified no licence file found · pointer only · bd678d4acf335009 · 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