Meta-Cal: Well-controlled Post-hoc Calibration by Ranking

Xingchen Ma, Matthew B. Blaschko
5/10/2021
stat.MLcs.LG

Official code: maxc01/metacal (9 stars, Python, last commit 2024-02-15).

Abstract

In many applications, it is desirable that a classifier not only makes accurate predictions, but also outputs calibrated posterior probabilities. However, many existing classifiers, especially deep neural network classifiers, tend to be uncalibrated.

Show full abstract

Post-hoc calibration is a technique to recalibrate a model by learning a calibration map. Existing approaches mostly focus on constructing calibration maps with low calibration errors, however, this quality is inadequate for a calibrator being useful. In this paper, we introduce two constraints that are worth consideration in designing a calibration map for post-hoc calibration. Then we present Meta-Cal, which is built from a base calibrator and a ranking model. Under some mild assumptions, two high-probability bounds are given with respect to these constraints. Empirical results on CIFAR-10, CIFAR-100 and ImageNet and a range of popular network architectures show our proposed method significantly outperforms the current state of the art for post-hoc multi-class classification calibration.

View on arXivView PDF

Code Implementations(1)

maxc01/metacalOfficial100%

ICML2021 Meta-Cal: Well-controlled Post-hoc Calibration by Ranking.

92Python, Emacs LispMay 10, 20212 years ago

Similar Papers

Cite this paper

@article{ma2021metacal,
  title  = {Meta-Cal: Well-controlled Post-hoc Calibration by Ranking},
  author = {Xingchen Ma and Matthew B. Blaschko},
  year   = {2021},
  eprint = {2105.04290},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.04290}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2105.04290.svg)](https://codeofpaper.com/paper/2105.04290)

Discussion