Skip to main content
QUICK REVIEW

[Paper Review] Evaluating and Calibrating Uncertainty Prediction in Regression Tasks

Dan Levi, Liran Gispan|arXiv (Cornell University)|May 28, 2019
Adversarial Robustness in Machine LearningComputer Science21 citations
TL;DR

This paper identifies critical flaws in the existing definition of uncertainty calibration for regression tasks, proposing a new, more robust definition based on mean squared error instead of credible intervals. It introduces a simple scaling-based calibration method that significantly improves uncertainty calibration on real-world object detection datasets like KITTI and COCO, outperforming prior methods in both accuracy and simplicity while avoiding the pitfalls of uncorrelated uncertainty predictions.

ABSTRACT

Predicting not only the target but also an accurate measure of uncertainty is important for many machine learning applications and in particular safety-critical ones. In this work we study the calibration of uncertainty prediction for regression tasks which often arise in real-world systems. We show that the existing definition for calibration of a regression uncertainty [Kuleshov et al. 2018] has severe limitations in distinguishing informative from non-informative uncertainty predictions. We propose a new definition that escapes this caveat and an evaluation method using a simple histogram-based approach. Our method clusters examples with similar uncertainty prediction and compares the prediction with the empirical uncertainty on these examples. We also propose a simple, scaling-based calibration method that preforms as well as much more complex ones. We show results on both a synthetic, controlled problem and on the object detection bounding-box regression task using the COCO and KITTI datasets.

Motivation & Objective

  • To identify fundamental flaws in the current definition of calibration for regression uncertainty, particularly the reliance on credible intervals.
  • To propose a new, more intuitive definition of calibration based on mean squared error, aligning it with the standard classification calibration concept.
  • To develop a practical evaluation metric that correctly identifies uninformative uncertainty predictions as uncalibrated.
  • To introduce a simple, scalable calibration method that performs as well as complex approaches on real-world vision datasets.
  • To demonstrate the superiority of the new method on object detection regression tasks using COCO and KITTI datasets.

Proposed method

  • Propose a new calibration definition for regression that evaluates whether predicted uncertainty matches the mean squared error per data point, analogous to classification calibration.
  • Introduce a new evaluation metric, ENCE (Expected Normalized Calibration Error), derived from the new definition, using histogram-based binning of uncertainty predictions.
  • Develop a simple scaling-based calibration method that learns a single scalar factor to adjust predicted standard deviations, minimizing negative log-likelihood on a calibration set.
  • Apply the method to a regression head in a deep learning model (R-FCN) for object detection, adding a separate uncertainty branch to predict standard deviations.
  • Use separate training, calibration, and validation sets to prevent overfitting and ensure generalization of uncertainty calibration.
  • Calibrate uncertainty by optimizing the scaling factor on a held-out re-calibration set using NLL loss, avoiding complex retraining or isotonic regression.

Experimental results

Research questions

  • RQ1Why does the existing credible interval-based calibration definition fail to distinguish informative from non-informative uncertainty predictions?
  • RQ2Can a simpler, more principled definition of regression calibration be formulated that aligns with the classification calibration paradigm?
  • RQ3Does a simple scaling method based on a single scalar parameter achieve better calibration than complex reweighting techniques?
  • RQ4Can the proposed method improve uncertainty calibration on real-world vision benchmarks like COCO and KITTI without retraining the main network?
  • RQ5How does the new evaluation metric perform in detecting uncalibrated uncertainty that is uncorrelated with true error?

Key findings

  • The existing credible interval-based calibration definition fails to detect uncorrelated uncertainty predictions, as it can be perfectly calibrated even when predictions are completely uninformative.
  • The proposed new calibration definition correctly identifies such uncorrelated uncertainty as uncalibrated, ensuring that only meaningful uncertainty estimates are considered well-calibrated.
  • On the KITTI dataset, the proposed scaling method reduced the ENCE from 25.4% to 4.7% for the ty regression task, demonstrating significant improvement.
  • The method achieved comparable or better calibration performance than the approach in [11], but with only a single learnable scalar parameter instead of complex isotonic regression.
  • The calibrated uncertainty predictions were significantly more reliable, as shown by reliability diagrams that now closely follow the ideal diagonal after calibration.
  • The method maintains the same coefficient of variation (cv) after calibration, confirming that scaling preserves relative uncertainty structure while improving absolute calibration.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.