Proximity-Informed Calibration for Deep Neural Networks

06/07/2023
by   Miao Xiong, et al.
0

Confidence calibration is central to providing accurate and interpretable uncertainty estimates, especially under safety-critical scenarios. However, we find that existing calibration algorithms often overlook the issue of proximity bias, a phenomenon where models tend to be more overconfident in low proximity data (i.e., lying in the sparse region of the data distribution) compared to high proximity samples, and thus suffer from inconsistent miscalibration across different proximity samples. We examine the problem over pretrained ImageNet models and observe that: 1) Proximity bias exists across a wide variety of model architectures and sizes; 2) Transformer-based models are more susceptible to proximity bias than CNN-based models; 3) Proximity bias persists even after performing popular calibration algorithms like temperature scaling; 4) Models tend to overfit more heavily on low proximity samples than on high proximity samples. Motivated by the empirical findings, we propose ProCal, a plug-and-play algorithm with a theoretical guarantee to adjust sample confidence based on proximity. To further quantify the effectiveness of calibration algorithms in mitigating proximity bias, we introduce proximity-informed expected calibration error (PIECE) with theoretical analysis. We show that ProCal is effective in addressing proximity bias and improving calibration on balanced, long-tail, and distribution-shift settings under four metrics over various model architectures.

READ FULL TEXT

page 2

page 18

research
02/25/2021

Confidence Calibration with Bounded Error Using Transformations

As machine learning techniques become widely adopted in new domains, esp...
research
05/25/2022

Revisiting Calibration for Question Answering

Model calibration aims to adjust (calibrate) models' confidence so that ...
research
08/16/2023

Dual-Branch Temperature Scaling Calibration for Long-Tailed Recognition

The calibration for deep neural networks is currently receiving widespre...
research
11/07/2021

Uncertainty Calibration for Ensemble-Based Debiasing Methods

Ensemble-based debiasing methods have been shown effective in mitigating...
research
03/05/2023

Expectation consistency for calibration of neural networks

Despite their incredible performance, it is well reported that deep neur...
research
05/26/2022

Do interests affect grant application success? The role of organizational proximity

Bias in grant allocation is a critical issue, as the expectation is that...
research
01/11/2022

Tackling Multipath and Biased Training Data for IMU-Assisted BLE Proximity Detection

Proximity detection is to determine whether an IoT receiver is within a ...

Please sign up or login with your details

Forgot password? Click here to reset