Expectation consistency for calibration of neural networks

03/05/2023
by   Lucas Clarté, et al.
0

Despite their incredible performance, it is well reported that deep neural networks tend to be overoptimistic about their prediction confidence. Finding effective and efficient calibration methods for neural networks is therefore an important endeavour towards better uncertainty quantification in deep learning. In this manuscript, we introduce a novel calibration technique named expectation consistency (EC), consisting of a post-training rescaling of the last layer weights by enforcing that the average validation confidence coincides with the average proportion of correct labels. First, we show that the EC method achieves similar calibration performance to temperature scaling (TS) across different neural network architectures and data sets, all while requiring similar validation samples and computational resources. However, we argue that EC provides a principled method grounded on a Bayesian optimality principle known as the Nishimori identity. Next, we provide an asymptotic characterization of both TS and EC in a synthetic setting and show that their performance crucially depends on the target function. In particular, we discuss examples where EC significantly outperforms TS.

READ FULL TEXT
research
08/30/2019

Bin-wise Temperature Scaling (BTS): Improvement in Confidence Calibration Performance through Simple Scaling Techniques

The prediction reliability of neural networks is important in many appli...
research
05/25/2022

Revisiting Calibration for Question Answering

Model calibration aims to adjust (calibrate) models' confidence so that ...
research
09/23/2022

Neural Clamping: Joint Input Perturbation and Temperature Scaling for Neural Network Calibration

Neural network calibration is an essential task in deep learning to ensu...
research
06/01/2023

A Uniform Confidence Phenomenon in Deep Learning and its Implications for Calibration

Despite the impressive generalization capabilities of deep neural networ...
research
03/13/2023

Validation of uncertainty quantification metrics: a primer based on the consistency and adaptivity concepts

The practice of uncertainty quantification (UQ) validation, notably in m...
research
06/07/2023

Proximity-Informed Calibration for Deep Neural Networks

Confidence calibration is central to providing accurate and interpretabl...

Please sign up or login with your details

Forgot password? Click here to reset