UncertainSAM: Fast and Efficient Uncertainty Quantification of the Segment Anything Model

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Kaiser, Timo, Norrenbrock, Thomas, Rosenhahn, Bodo
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909709743685632
author Kaiser, Timo
Norrenbrock, Thomas
Rosenhahn, Bodo
author_facet Kaiser, Timo
Norrenbrock, Thomas
Rosenhahn, Bodo
contents The introduction of the Segment Anything Model (SAM) has paved the way for numerous semantic segmentation applications. For several tasks, quantifying the uncertainty of SAM is of particular interest. However, the ambiguous nature of the class-agnostic foundation model SAM challenges current uncertainty quantification (UQ) approaches. This paper presents a theoretically motivated uncertainty quantification model based on a Bayesian entropy formulation jointly respecting aleatoric, epistemic, and the newly introduced task uncertainty. We use this formulation to train USAM, a lightweight post-hoc UQ method. Our model traces the root of uncertainty back to under-parameterised models, insufficient prompts or image ambiguities. Our proposed deterministic USAM demonstrates superior predictive capabilities on the SA-V, MOSE, ADE20k, DAVIS, and COCO datasets, offering a computationally cheap and easy-to-use UQ alternative that can support user-prompting, enhance semi-supervised pipelines, or balance the tradeoff between accuracy and cost efficiency.
format Preprint
id arxiv_https___arxiv_org_abs_2505_05049
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle UncertainSAM: Fast and Efficient Uncertainty Quantification of the Segment Anything Model
Kaiser, Timo
Norrenbrock, Thomas
Rosenhahn, Bodo
Computer Vision and Pattern Recognition
The introduction of the Segment Anything Model (SAM) has paved the way for numerous semantic segmentation applications. For several tasks, quantifying the uncertainty of SAM is of particular interest. However, the ambiguous nature of the class-agnostic foundation model SAM challenges current uncertainty quantification (UQ) approaches. This paper presents a theoretically motivated uncertainty quantification model based on a Bayesian entropy formulation jointly respecting aleatoric, epistemic, and the newly introduced task uncertainty. We use this formulation to train USAM, a lightweight post-hoc UQ method. Our model traces the root of uncertainty back to under-parameterised models, insufficient prompts or image ambiguities. Our proposed deterministic USAM demonstrates superior predictive capabilities on the SA-V, MOSE, ADE20k, DAVIS, and COCO datasets, offering a computationally cheap and easy-to-use UQ alternative that can support user-prompting, enhance semi-supervised pipelines, or balance the tradeoff between accuracy and cost efficiency.
title UncertainSAM: Fast and Efficient Uncertainty Quantification of the Segment Anything Model
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2505.05049