Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Improving model calibration with accuracy versus uncertainty optimization

About

Obtaining reliable and accurate quantification of uncertainty estimates from deep neural networks is important in safety-critical applications. A well-calibrated model should be accurate when it is certain about its prediction and indicate high uncertainty when it is likely to be inaccurate. Uncertainty calibration is a challenging problem as there is no ground truth available for uncertainty estimates. We propose an optimization method that leverages the relationship between accuracy and uncertainty as an anchor for uncertainty calibration. We introduce a differentiable accuracy versus uncertainty calibration (AvUC) loss function that allows a model to learn to provide well-calibrated uncertainties, in addition to improved accuracy. We also demonstrate the same methodology can be extended to post-hoc uncertainty calibration on pretrained models. We illustrate our approach with mean-field stochastic variational inference and compare with state-of-the-art methods. Extensive experiments demonstrate our approach yields better model calibration than existing methods on large-scale image classification tasks under distributional shift.

Ranganath Krishnan, Omesh Tickoo• 2020

Related benchmarks

TaskDatasetResultRank
Image ClassificationCIFAR-10 (val)
Top-1 Accuracy91
329
Image ClassificationCIFAR-10-C
Accuracy70.2
127
Image ClassificationCIFAR-10C Severity Level 5 (test)--
62
Image ClassificationImageNet (val)
Accuracy75
23
Classification CalibrationImageNet-C severity level 5 (test)
ECE (Mean)0.054
13
Image ClassificationCIFAR-10-C (severity 1)
Accuracy83.7
5
Image ClassificationCIFAR-10-C (severity 2)
Accuracy77.5
5
Image ClassificationCIFAR-10-C (severity 3)
Accuracy70.1
5
Image ClassificationCIFAR-10-C severity 4
Accuracy61.5
5
Image ClassificationImageNet-C distribution shifted variants
Severity 1 Accuracy60
5
Showing 10 of 10 rows

Other info

Follow for update