Bayesian generative models can flag performance loss, bias, and out-of-distribution image content

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: López-Pérez, Miguel, Miani, Marco, Naranjo, Valery, Hauberg, Søren, Feragen, Aasa
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913751372922880
author López-Pérez, Miguel
Miani, Marco
Naranjo, Valery
Hauberg, Søren
Feragen, Aasa
author_facet López-Pérez, Miguel
Miani, Marco
Naranjo, Valery
Hauberg, Søren
Feragen, Aasa
contents Generative models are popular for medical imaging tasks such as anomaly detection, feature extraction, data visualization, or image generation. Since they are parameterized by deep learning models, they are often sensitive to distribution shifts and unreliable when applied to out-of-distribution data, creating a risk of, e.g. underrepresentation bias. This behavior can be flagged using uncertainty quantification methods for generative models, but their availability remains limited. We propose SLUG: A new UQ method for VAEs that combines recent advances in Laplace approximations with stochastic trace estimators to scale gracefully with image dimensionality. We show that our UQ score -- unlike the VAE's encoder variances -- correlates strongly with reconstruction error and racial underrepresentation bias for dermatological images. We also show how pixel-wise uncertainty can detect out-of-distribution image content such as ink, rulers, and patches, which is known to induce learning shortcuts in predictive models.
format Preprint
id arxiv_https___arxiv_org_abs_2503_17477
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Bayesian generative models can flag performance loss, bias, and out-of-distribution image content
López-Pérez, Miguel
Miani, Marco
Naranjo, Valery
Hauberg, Søren
Feragen, Aasa
Machine Learning
Computer Vision and Pattern Recognition
Generative models are popular for medical imaging tasks such as anomaly detection, feature extraction, data visualization, or image generation. Since they are parameterized by deep learning models, they are often sensitive to distribution shifts and unreliable when applied to out-of-distribution data, creating a risk of, e.g. underrepresentation bias. This behavior can be flagged using uncertainty quantification methods for generative models, but their availability remains limited. We propose SLUG: A new UQ method for VAEs that combines recent advances in Laplace approximations with stochastic trace estimators to scale gracefully with image dimensionality. We show that our UQ score -- unlike the VAE's encoder variances -- correlates strongly with reconstruction error and racial underrepresentation bias for dermatological images. We also show how pixel-wise uncertainty can detect out-of-distribution image content such as ink, rulers, and patches, which is known to induce learning shortcuts in predictive models.
title Bayesian generative models can flag performance loss, bias, and out-of-distribution image content
topic Machine Learning
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2503.17477