Pretrained Visual Uncertainties

Michael Kirchhof, Mark Collier, Seong Joon Oh, Enkelejda Kasneci
2/26/2024
cs.CVcs.LG

Official code: mkirchhof/url (108 stars, Apache-2.0, last commit 2025-03-10).

Abstract

Accurate uncertainty estimation is vital to trustworthy machine learning, yet uncertainties typically have to be learned for each task anew. This work introduces the first pretrained uncertainty modules for vision models. Similar to standard pretraining this enables the zero-shot transfer of uncertainties learned on a large pretraining dataset to specialized downstream datasets. We enable our large-scale pretraining on ImageNet-21k by solving a gradient conflict in previous uncertainty modules and accelerating the training by up to 180x. We find that the pretrained uncertainties generalize to unseen datasets. In scrutinizing the learned uncertainties, we find that they capture aleatoric uncertainty, disentangled from epistemic components. We demonstrate that this enables safe retrieval and uncertainty-aware dataset visualization. To encourage applications to further problems and domains, we release all pretrained checkpoints and code under https://github.com/mkirchhof/url .

View on arXivView PDF

Code Implementations(1)

mkirchhof/urlOfficial100%
Apache-2.0

Uncertainty-aware representation learning (URL) benchmark

1082R, PythonJul 7, 20231 years agoApache-2.0

Cite this paper

@article{kirchhof2024pretrained,
  title  = {Pretrained Visual Uncertainties},
  author = {Michael Kirchhof and Mark Collier and Seong Joon Oh and Enkelejda Kasneci},
  year   = {2024},
  eprint = {2402.16569},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.16569v2}
}

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

Discussion