CoChat

Beyond sigmoids: How to obtain well-calibrated probabilities from binary classifiers with beta calibration

Open access
Kull, Meelis, Silva Filho, Telmo M., Flach, Peter · 2017 · Electronic Journal of Statistics

The DOI matches its Crossref record; 14 of the 16 references it cites were found in a registry or an index, and 2 are not checked yet.

Abstract

For optimal decision making under variable class distributions and misclassification costs a classifier needs to produce well-calibrated estimates of the posterior probability. Isotonic calibration is a powerful non-parametric method that is however prone to overfitting on smaller datasets; hence a parametric method based on the logistic sigmoidal curve is commonly used. While logistic calibration is designed for normally distributed per-class scores, we demonstrate experimentally that many classifiers including Naive Bayes and Adaboost suffer from a particular distortion where these score distributions are heavily skewed. In such cases logistic calibration can easily yield probability estimates that are worse than the original scores. Moreover, the logistic curve family does not include the identity function, and hence logistic calibration can easily uncalibrate a perfectly calibrated classifier. In this paper we solve all these problems with a richer class of parametric calibration maps based on the beta distribution. We derive the method from first principles and show that fitting it is as easy as fitting a logistic curve. Extensive experiments show that beta calibration is superior to logistic calibration for a wide range of classifiers: Naive Bayes, Adaboost, random forest, logistic regression, support vector machine and multi-layer perceptron. If the original classifier is already calibrated, then beta calibration learns a function close to the identity. On this we build a statistical test to recognise if the model deviates from being well-calibrated.

Overview

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1214/17-ejs1338si

Cites

14 of 16 references verified0 citation errors · 0 not checkable

Statistics

Verification

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

2 more claims about this paper

Create a free account to see every claim other papers make about this one.

See all claims — free account

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Citations

Cites

Cited by

See all 138

Metadata

Authors
Kull, M., Silva Filho, T. M., & Flach, P.
Affiliations
  • University of Tartu (EE)
  • University of Bristol (GB)
Venue
Electronic Journal of Statistics
Published
2017-01-01
Volume
11
Issue
2
Pages
5052-5080
ISSN
1935-7524 (ISSN-L)
OpenAlex
W2773235741
Cited by
111
References
15
Citations by year
2026: 22 · 2025: 16 · 2024: 11 · 2023: 16 · 2022: 10 · 2021: 17 · 2020: 11 · 2019: 7 · 2018: 1
FWCI
3.10
Type
journal article
Language
en
Open access
Licence
cc-by
Locations
  • Electronic Journal of Statistics (publishedVersion, cc-by)
  • Explore Bristol Research (submittedVersion, cc-by)
  • Project Euclid (Cornell University) (submittedVersion)
  • Bristol Research (University of Bristol) (submittedVersion, cc-by)
Funders
  • Eesti Teadusagentuur (PUT1458)
  • Conselho Nacional de Desenvolvimento Científico e Tecnológico
  • Engineering and Physical Sciences Research Council (EP/K031910/1, EP/K018728/1)
Topics
  • Physical Sciences › Computer Science › Artificial Intelligence › Imbalanced Data Classification Techniques
  • Physical Sciences › Computer Science › Artificial Intelligence › Machine Learning and Data Classification
  • Physical Sciences › Computer Science › Artificial Intelligence › Adversarial Robustness in Machine Learning
Keywords
probability calibration, binary classifiers, posterior probability estimation, isotonic calibration, naive Bayes, AdaBoost, random forest, support vector machine, multilayer perceptron, calibration tests

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.