Meta-Calibration: Learning of Model Calibration Using Differentiable Expected Calibration Error

Ondrej Bohdal, Yongxin Yang, Timothy Hospedales
6/17/2021
cs.LGstat.ML

Official code: ondrejbohdal/meta-calibration (38 stars, Python, MIT, last commit 2023-08-25).

Abstract

Calibration of neural networks is a topical problem that is becoming more and more important as neural networks increasingly underpin real-world applications. The problem is especially noticeable when using modern neural networks, for which there is a significant difference between the confidence of the model and the probability of correct prediction.

Show full abstract

Various strategies have been proposed to improve calibration, yet accurate calibration remains challenging. We propose a novel framework with two contributions: introducing a new differentiable surrogate for expected calibration error (DECE) that allows calibration quality to be directly optimised, and a meta-learning framework that uses DECE to optimise for validation set calibration with respect to model hyper-parameters. The results show that we achieve competitive performance with existing calibration approaches. Our framework opens up a new avenue and toolset for tackling calibration, which we believe will inspire further work on this important challenge.

View on arXivView PDF

Code Implementations(1)

MIT

Official PyTorch implementation of "Meta-Calibration: Learning of Model Calibration Using Differentiable Expected Calibration Error"

385Python, ShellJun 17, 20213 years agoMIT

Similar Papers

Cite this paper

@article{bohdal2021metacalibration,
  title  = {Meta-Calibration: Learning of Model Calibration Using Differentiable Expected Calibration Error},
  author = {Ondrej Bohdal and Yongxin Yang and Timothy Hospedales},
  year   = {2021},
  eprint = {2106.09613},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.09613}
}

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/2106.09613.svg)](https://codeofpaper.com/paper/2106.09613)

Discussion