Uncertainty Calibration with Energy Based Instance-wise Scaling in the Wild Dataset

Mijoo Kim, Junseok Kwon
7/17/2024
cs.LGcs.AI

No official code found. Best implementation: mijoo308/Energy-Calibration (11 stars, MIT, last commit 2024-08-13).

Abstract

With the rapid advancement in the performance of deep neural networks (DNNs), there has been significant interest in deploying and incorporating artificial intelligence (AI) systems into real-world scenarios. However, many DNNs lack the ability to represent uncertainty, often exhibiting excessive confidence even when making incorrect predictions. To ensure the reliability of AI systems, particularly in safety-critical cases, DNNs should transparently reflect the uncertainty in their predictions. In this paper, we investigate robust post-hoc uncertainty calibration methods for DNNs within the context of multi-class classification tasks. While previous studies have made notable progress, they still face challenges in achieving robust calibration, particularly in scenarios involving out-of-distribution (OOD). We identify that previous methods lack adaptability to individual input data and struggle to accurately estimate uncertainty when processing inputs drawn from the wild dataset. To address this issue, we introduce a novel instance-wise calibration method based on an energy model. Our method incorporates energy scores instead of softmax confidence scores, allowing for adaptive consideration of DNN uncertainty for each prediction within a logit space. In experiments, we show that the proposed method consistently maintains robust performance across the spectrum, spanning from in-distribution to OOD scenarios, when compared to other state-of-the-art methods.

View on arXivView PDF

Code Implementations(1)

MIT

[ECCV 2024] Official implementation of "Uncertainty Calibration with Energy Based Instance-wise Scaling in the Wild Dataset"

110PythonJul 7, 20242 years agoMIT

Similar Papers

Cite this paper

@article{kim2024uncertainty,
  title  = {Uncertainty Calibration with Energy Based Instance-wise Scaling in the Wild Dataset},
  author = {Mijoo Kim and Junseok Kwon},
  year   = {2024},
  eprint = {2407.12330},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.12330v1},
  journal = {ECCV 2024 2024}
}

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

Discussion