Adaptive Temperature Scaling for Robust Calibration of Deep Neural Networks

Sergio A. Balanya, Juan Maroñas, Daniel Ramos
7/31/2022
cs.LG

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

In this paper, we study the post-hoc calibration of modern neural networks, a problem that has drawn a lot of attention in recent years. Many calibration methods of varying complexity have been proposed for the task, but there is no consensus about how expressive these should be. We focus on the task of confidence scaling, specifically on post-hoc methods that generalize Temperature Scaling, we call these the Adaptive Temperature Scaling family. We analyse expressive functions that improve calibration and propose interpretable methods. We show that when there is plenty of data complex models like neural networks yield better performance, but are prone to fail when the amount of data is limited, a common situation in certain post-hoc calibration applications like medical diagnosis. We study the functions that expressive methods learn under ideal conditions and design simpler methods but with a strong inductive bias towards these well-performing functions. Concretely, we propose Entropy-based Temperature Scaling, a simple method that scales the confidence of a prediction according to its entropy. Results show that our method obtains state-of-the-art performance when compared to others and, unlike complex models, it is robust against data scarcity. Moreover, our proposed model enables a deeper interpretation of the calibration process.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{balanya2022adaptive,
  title  = {Adaptive Temperature Scaling for Robust Calibration of Deep Neural Networks},
  author = {Sergio A. Balanya and Juan Maroñas and Daniel Ramos},
  year   = {2022},
  eprint = {2208.00461},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2208.00461v1}
}

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

Discussion