SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2505.05049 · ICML · 2025

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

Bodo Rosenhahn, Timo Kaiser, Thomas Norrenbrock

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 3 functions out of this paper's own repositories and ran 2 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
greenautoml4fas/uncertainsam canonical 2 of 3
FunctionStatusWhere it lives
forward Ran greenautoml4fas/uncertainsam/usam/patch_sam2.py
code served (permissive licence) · get_code("d229ce7028a83f88")
predict Ran greenautoml4fas/uncertainsam/usam/patch_sam2.py
code served (permissive licence) · get_code("118a427d81acde1e")
predict_masks Not yet run greenautoml4fas/uncertainsam/usam/patch_sam2.py
code served (permissive licence) · get_code("743c0bc4cf3ffa7f")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

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 underparameterised 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.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2505.05049")
get_code_for_paper("2505.05049")
have("2505.05049")

Connect an agent — have() is free.