Papers › Confidence Calibration of Classifiers with Many Classes

Confidence Calibration of Classifiers with Many Classes

5 Nov 2024arXiv:2411.02988archive 2025-07-28

Adrien LeCoz, Stéphane Herbin, Faouzi Adjed

For classification models based on neural networks, the maximum predicted class probability is often used as a confidence score. This score rarely predicts well the probability of making a correct prediction and requires a post-processing calibration step. However, many confidence calibration methods fail for problems with many classes. To address this issue, we transform the problem of calibrating a multiclass classifier into calibrating a single surrogate binary classifier. This approach allows for more efficient use of standard calibration methods. We evaluate our approach on numerous neural networks used for image or text classification and show that it significantly enhances existing calibration methods.

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="2411.02988")

Code

Syntology Ran 5 of 18 code samples harvested from 3 repositories linked to this paper; 13 have no recorded run. Of those that ran: 2 ran · our draft was wrong; 3 ran · fixture could not drive it.

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

allglc/tva-calibration officialmentioned in paperpytorch 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

18 samples harvested; 5 ran; 0 honoured the contract we drafted; 13 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.

2ran · our draft was wrong
3ran · fixture could not drive it
13unverified

Licence: 9 of the 18 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 3 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.

AUROC allglc/tva-calibration/evaluation.py official repository ran · fixture could not drive it fingerprinted no licence file found · pointer only · 97600a3445a5f8c5 · report
ECE_calc allglc/tva-calibration/evaluation.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · a3002e7b9386d6dd · report
fit_scaling_model allglc/tva-calibration/calibrators.py official repository ran · fixture could not drive it no licence file found · pointer only · 96ab79467959b134 · report
ece_equal_interval lifan-yuan/PLMCalibration/metric.py found in paper text by Syntology ran · our draft was wrong fingerprinted MIT (permissive) · 47774a4ca35cf0e3 · report
ece_equal_mass lifan-yuan/PLMCalibration/metric.py found in paper text by Syntology ran · fixture could not drive it fingerprinted MIT (permissive) · 4427a224ec9b8f4f · report
chunk_size_helper mominabbass/LinC/utils.py found in paper text by Syntology unverified no licence file found · pointer only · e775486237d19cbf · report
compute_hidden lifan-yuan/PLMCalibration/utils/calibration_methods.py found in paper text by Syntology unverified MIT (permissive) · e115d79cf282ebb9 · report
eval_accuracy mominabbass/LinC/run_classification.py found in paper text by Syntology unverified no licence file found · pointer only · 4db3f48d30d8c5af · report
evaluate lifan-yuan/PLMCalibration/prompt-dynamics.py found in paper text by Syntology unverified MIT (permissive) · e2ecbd7ff12e83d5 · report
evaluation lifan-yuan/PLMCalibration/prompt-ood.py found in paper text by Syntology unverified MIT (permissive) · 5439c7c6310eaacf · report
evaluation lifan-yuan/PLMCalibration/prompt-emergent.py found in paper text by Syntology unverified MIT (permissive) · 85faff7a2af04107 · report
expected_calibration_error mominabbass/LinC/utils.py found in paper text by Syntology unverified no licence file found · pointer only · dc60c15158733e34 · report
get_label_probs mominabbass/LinC/run_classification.py found in paper text by Syntology unverified no licence file found · pointer only · 77347b697708c203 · report
get_p_content_free mominabbass/LinC/run_classification.py found in paper text by Syntology unverified no licence file found · pointer only · f1916eb36c894684 · report
preprocess lifan-yuan/PLMCalibration/train-bow-tf_idf.py found in paper text by Syntology unverified MIT (permissive) · 2b34620ed2edab90 · report
random_sampling mominabbass/LinC/utils.py found in paper text by Syntology unverified no licence file found · pointer only · c6b46764733c312e · report
vectorize lifan-yuan/PLMCalibration/train-bow-tf_idf.py found in paper text by Syntology unverified MIT (permissive) · 6824958e0d4a8b02 · report
wrap_feature_based_testloader lifan-yuan/PLMCalibration/utils/calibration_methods.py found in paper text by Syntology unverified MIT (permissive) · 69772baf34349d01 · report

Tasks

Text Classificationtext-classification

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