Skip to main content
QUICK REVIEW

[Paper Review] Classifier Calibration: A survey on how to assess and improve predicted class probabilities

Telmo M. Silva Filho, Hao Song|arXiv (Cornell University)|Dec 20, 2021
Anomaly Detection Techniques and ApplicationsComputer Science14 citations
TL;DR

This survey provides a comprehensive, up-to-date overview of classifier calibration in binary and multiclass settings, covering evaluation metrics, visualization techniques, and post-hoc calibration methods such as isotonic calibration, Platt scaling, and neural network-based calibration layers. It emphasizes proper scoring rules, unified evaluation frameworks, and introduces PyCalib, an open-source Python library for calibration assessment and model refinement, with a focus on improving predictive uncertainty quantification in critical applications.

ABSTRACT

This paper provides both an introduction to and a detailed overview of the principles and practice of classifier calibration. A well-calibrated classifier correctly quantifies the level of uncertainty or confidence associated with its instance-wise predictions. This is essential for critical applications, optimal decision making, cost-sensitive classification, and for some types of context change. Calibration research has a rich history which predates the birth of machine learning as an academic field by decades. However, a recent increase in the interest on calibration has led to new methods and the extension from binary to the multiclass setting. The space of options and issues to consider is large, and navigating it requires the right set of concepts and tools. We provide both introductory material and up-to-date technical details of the main concepts and methods, including proper scoring rules and other evaluation metrics, visualisation approaches, a comprehensive account of post-hoc calibration methods for binary and multiclass classification, and several advanced topics.

Motivation & Objective

  • To provide a unified, accessible, and technically detailed overview of classifier calibration for researchers and practitioners.
  • To clarify conceptual ambiguities in calibration, especially in the multiclass setting, including distinctions between confidence calibration and full classwise calibration.
  • To present and compare established and recent calibration methods, including isotonic, Platt, binning, beta, and neural calibration approaches.
  • To develop and release PyCalib, an open-source Python library implementing calibration metrics, visualization, and calibration pipelines.
  • To identify open problems in calibration, such as optimal binning selection, robustness to out-of-distribution inputs, and modeling second-order uncertainty.

Proposed method

  • The paper surveys classical and modern calibration techniques, emphasizing proper scoring rules as evaluation and training objectives.
  • It introduces classwise and confidence-based Expected Calibration Error (ECE) as key metrics for quantifying miscalibration.
  • Reliability diagrams are used as visual tools to diagnose miscalibration patterns across predicted probability bins.
  • Post-hoc calibration methods such as isotonic regression, Platt scaling, and binning-based approaches are systematically reviewed and compared.
  • Neural calibration layers are introduced as end-to-end solutions for multiclass calibration, extending Platt scaling to K-class problems.
  • The authors propose a pipeline: evaluate calibration with ECE and reliability diagrams, test for miscalibration, and apply post-hoc calibrators to improve performance.

Experimental results

Research questions

  • RQ1How can classifier calibration be consistently defined and evaluated in both binary and multiclass settings?
  • RQ2What are the key differences between confidence calibration and full classwise calibration, and why does this distinction matter?
  • RQ3Which post-hoc calibration methods perform best across different miscalibration patterns, and how should they be selected?
  • RQ4How can calibration be improved during training using proper scoring rules or dedicated loss functions?
  • RQ5What are the limitations of post-hoc calibration in the face of distributional shifts or out-of-distribution inputs?

Key findings

  • Proper scoring rules such as log loss are effective for both training and evaluating calibrated models, as they encourage well-calibrated probability estimates.
  • Post-hoc calibration methods like isotonic regression and Platt scaling can significantly reduce Expected Calibration Error (ECE), especially when applied to well-trained models.
  • Multiclass calibration is more complex than binary, and decomposing into one-vs-rest tasks may lead to uncalibrated normalized probabilities, necessitating native multiclass methods.
  • The PyCalib library provides a unified framework for calibration evaluation, visualization, and application, supporting a wide range of calibration techniques and metrics.
  • There is no standard method for selecting binning strategy or number of bins in ECE computation, and cross-validation may help tune these hyperparameters.
  • Current post-hoc calibration methods do not improve robustness to out-of-distribution inputs, highlighting a key open challenge in uncertainty estimation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.