Towards Integrating Uncertainty for Domain-Agnostic Segmentation

Jesse Brouwers, Xiaoyan Xing, Alexander Timans
12/29/2025
cs.CVcs.LG

No official code found. Best implementation: JesseBrouw/UncertSAM (1 star, AGPL-3.0, last commit 2026-01-04).

Abstract

Foundation models for segmentation such as the Segment Anything Model (SAM) family exhibit strong zero-shot performance, but remain vulnerable in shifted or limited-knowledge domains. This work investigates whether uncertainty quantification can mitigate such challenges and enhance model generalisability in a domain-agnostic manner. To this end, we (1) curate UncertSAM, a benchmark comprising eight datasets designed to stress-test SAM under challenging segmentation conditions including shadows, transparency, and camouflage; (2) evaluate a suite of lightweight, post-hoc uncertainty estimation methods; and (3) assess a preliminary uncertainty-guided prediction refinement step. Among evaluated approaches, a last-layer Laplace approximation yields uncertainty estimates that correlate well with segmentation errors, indicating a meaningful signal. While refinement benefits are preliminary, our findings underscore the potential of incorporating uncertainty into segmentation models to support robust, domain-agnostic performance. Our benchmark and code are made publicly available.

View on arXivView PDF

Code Implementations(1)

AGPL-3.0

Repository for "Towards Integrating Uncertainty for Domain-Agnostic Segmentation" - [NeurIPS] Frontiers in Probabilistic Inference: Learning meets Sampling

10Shell, PythonNov 30, 20259 months agoAGPL-3.0

Similar Papers

Cite this paper

@article{brouwers2025towards,
  title  = {Towards Integrating Uncertainty for Domain-Agnostic Segmentation},
  author = {Jesse Brouwers and Xiaoyan Xing and Alexander Timans},
  year   = {2025},
  eprint = {2512.23427},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.23427v1}
}

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

Discussion