Post-hoc Uncertainty Learning using a Dirichlet Meta-Model

Maohao Shen, Yuheng Bu, Prasanna Sattigeri, Soumya Ghosh, Subhro Das +1 more
12/14/2022
cs.LG

Official code: maohaos2/PosthocUQ (17 stars, Python, MIT, last commit 2024-06-18).

Abstract

It is known that neural networks have the problem of being over-confident when directly using the output label distribution to generate uncertainty measures. Existing methods mainly resolve this issue by retraining the entire model to impose the uncertainty quantification capability so that the learned model can achieve desired performance in accuracy and uncertainty prediction simultaneously.

Show full abstract

However, training the model from scratch is computationally expensive and may not be feasible in many situations. In this work, we consider a more practical post-hoc uncertainty learning setting, where a well-trained base model is given, and we focus on the uncertainty quantification task at the second stage of training. We propose a novel Bayesian meta-model to augment pre-trained models with better uncertainty quantification abilities, which is effective and computationally efficient. Our proposed method requires no additional training data and is flexible enough to quantify different uncertainties and easily adapt to different application settings, including out-of-domain data detection, misclassification detection, and trustworthy transfer learning. We demonstrate our proposed meta-model approach's flexibility and superior empirical performance on these applications over multiple representative image classification benchmarks.

View on arXivView PDF

Code Implementations(1)

maohaos2/PosthocUQOfficial100%
MIT
173PythonFeb 28, 20232 years agoMIT

Similar Papers

Cite this paper

@article{shen2022posthoc,
  title  = {Post-hoc Uncertainty Learning using a Dirichlet Meta-Model},
  author = {Maohao Shen and Yuheng Bu and Prasanna Sattigeri and Soumya Ghosh and Subhro Das and Gregory Wornell},
  year   = {2022},
  eprint = {2212.07359},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.07359}
}

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

Discussion