{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2605-30188","title":"CalArena: A Large-Scale Post-Hoc Calibration Benchmark","arxiv_id":"2605.30188","date":"2026-05-28","proceeding":null,"authors":["Eugène Berta","David Holzmüller","Francis Bach","Michael I. Jordan"],"abstract":"Reliable probability estimates are critical in many machine learning applications, yet modern classifiers are often poorly calibrated. Post-hoc calibration provides a simple and widely used solution, but the large number of proposed methods, combined with small-scale and inconsistent evaluations, makes it difficult to determine which approaches are truly effective in practice. We introduce a large-scale, standardized benchmark for post-hoc calibration, covering nearly 2000 experiments across tabular and computer vision tasks, including binary, multiclass, and large-scale classification settings. Our benchmark aggregates predictions from a diverse set of classical models, modern deep learning architectures, and foundation models, and provides unified, reproducible implementations of dozens of calibration methods within a common evaluation framework. We argue that Post-Hoc Improvement (PHI) in proper scoring rules offers a principled alternative to traditional calibration error estimators for comparing post-hoc methods, capturing both calibration quality and potential degradation to the model's predictive performance. Using this framework, we conduct the most comprehensive empirical study of post-hoc calibration to date. Our results reveal consistent patterns across domains: smooth calibration functions outperform binning-based approaches, dedicated multiclass methods are essential in high-dimensional settings, and generic machine learning models are not competitive without calibration-specific design. To facilitate future research, we release all data, code, and evaluation tools, providing a plug-and-play benchmark for developing and comparing calibration methods.","url_abs":"https://arxiv.org/abs/2605.30188","url_pdf":"https://arxiv.org/pdf/2605.30188","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2605.30188","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2605.30188"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/probkit/CalArena","reach":null},{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/probkit/probmetrics","reach":null}],"summary":{"ran":8,"ran_draft_wrong":1,"unverified":4},"by_repo_kind":{"found_in_text":{"samples":13,"ran":9,"repositories":2}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"2cb97643c6c332ce","entry":"CategoricalDirac","repo":"probkit/probmetrics","repo_kind":"found_in_text","path":"probmetrics/calibrators/base.py","file_url":"https://github.com/probkit/probmetrics/blob/HEAD/probmetrics/calibrators/base.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"2cb97643c6c332ce"}},{"code_sha256_prefix":"062d7e1b3c4ebf36","entry":"CategoricalProbs","repo":"probkit/probmetrics","repo_kind":"found_in_text","path":"probmetrics/calibrators/base.py","file_url":"https://github.com/probkit/probmetrics/blob/HEAD/probmetrics/calibrators/base.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"062d7e1b3c4ebf36"}},{"code_sha256_prefix":"e9b34bb29943118e","entry":"Distribution","repo":"probkit/probmetrics","repo_kind":"found_in_text","path":"probmetrics/calibrators/base.py","file_url":"https://github.com/probkit/probmetrics/blob/HEAD/probmetrics/calibrators/base.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"e9b34bb29943118e"}},{"code_sha256_prefix":"76b7f944d5978263","entry":"compute_winrates","repo":"probkit/CalArena","repo_kind":"found_in_text","path":"utils.py","file_url":"https://github.com/probkit/CalArena/blob/HEAD/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"76b7f944d5978263"}},{"code_sha256_prefix":"5fc9711474109d85","entry":"convert_cifar10_to_binary","repo":"probkit/CalArena","repo_kind":"found_in_text","path":"calibration_benchmarks/generate_cv_benchmarks.py","file_url":"https://github.com/probkit/CalArena/blob/HEAD/calibration_benchmarks/generate_cv_benchmarks.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"5fc9711474109d85"}},{"code_sha256_prefix":"743ce59ae7c6d8e9","entry":"softmax","repo":"probkit/CalArena","repo_kind":"found_in_text","path":"calibration_benchmarks/generate_cv_benchmarks.py","file_url":"https://github.com/probkit/CalArena/blob/HEAD/calibration_benchmarks/generate_cv_benchmarks.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"743ce59ae7c6d8e9"}},{"code_sha256_prefix":"be627f1e164c402e","entry":"test_calibrator","repo":"probkit/CalArena","repo_kind":"found_in_text","path":"run_benchmark.py","file_url":"https://github.com/probkit/CalArena/blob/HEAD/run_benchmark.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"be627f1e164c402e"}},{"code_sha256_prefix":"3836d7ad343a7f8b","entry":"to_one_hot","repo":"probkit/probmetrics","repo_kind":"found_in_text","path":"probmetrics/calibrators/base.py","file_url":"https://github.com/probkit/probmetrics/blob/HEAD/probmetrics/calibrators/base.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"3836d7ad343a7f8b"}},{"code_sha256_prefix":"ae46b0097de7878e","entry":"unpickle_logits","repo":"probkit/CalArena","repo_kind":"found_in_text","path":"calibration_benchmarks/generate_cv_benchmarks.py","file_url":"https://github.com/probkit/CalArena/blob/HEAD/calibration_benchmarks/generate_cv_benchmarks.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"ae46b0097de7878e"}},{"code_sha256_prefix":"82840aef3816028a","entry":"Calibrator","repo":"probkit/probmetrics","repo_kind":"found_in_text","path":"probmetrics/calibrators/base.py","file_url":"https://github.com/probkit/probmetrics/blob/HEAD/probmetrics/calibrators/base.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"82840aef3816028a"}},{"code_sha256_prefix":"251b319086af199e","entry":"find_best_config_tabarena","repo":"probkit/CalArena","repo_kind":"found_in_text","path":"calibration_benchmarks/generate_tabarena_benchmarks.py","file_url":"https://github.com/probkit/CalArena/blob/HEAD/calibration_benchmarks/generate_tabarena_benchmarks.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"251b319086af199e"}},{"code_sha256_prefix":"60e9aa8069a3bf90","entry":"load_benchmark_results","repo":"probkit/CalArena","repo_kind":"found_in_text","path":"utils.py","file_url":"https://github.com/probkit/CalArena/blob/HEAD/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"60e9aa8069a3bf90"}},{"code_sha256_prefix":"7fcc3c21ebdae872","entry":"validate_probabilities","repo":"probkit/probmetrics","repo_kind":"found_in_text","path":"probmetrics/calibrators/base.py","file_url":"https://github.com/probkit/probmetrics/blob/HEAD/probmetrics/calibrators/base.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"7fcc3c21ebdae872"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":null}