SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2512.23427 · NeurIPS · 2025

Towards Integrating Uncertainty for Domain-Agnostic Segmentation

Jesse Brouwers, Xiaoyan Xing, Alexander Timans

arXiv · PDF · Open in the Atlas

Code that ran

9 of 12 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 9 failures of our instrument; 3 no recorded run), measured 2026-11-24; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2512.23427.json · badge: /api/ran/2512.23427.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
JesseBrouw/UncertSAM canonical (classifier label)
classifier basis: census
9 ran · 3 no recorded run
FunctionStatusWhere it lives
bce_loss Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
JesseBrouw/UncertSAM/src/loss_fns.py
pointer only (licence: AGPL-3.0) · get_code("0c02d14cce318411")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, JesseBrouw/UncertSAM, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

calc_uncertainty_metrics Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
JesseBrouw/UncertSAM/src/metrics.py
pointer only (licence: AGPL-3.0) · get_code("8688cd5a7a603bf5")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, JesseBrouw/UncertSAM, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

iou_loss Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
JesseBrouw/UncertSAM/src/loss_fns.py
pointer only (licence: AGPL-3.0) · get_code("b719420230af3c51")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, JesseBrouw/UncertSAM, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

pearson_corr Ran
ran; our contract draft was wrong, not the code
JesseBrouw/UncertSAM/src/metrics.py
pointer only (licence: AGPL-3.0) · get_code("143609f490a397bd")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, JesseBrouw/UncertSAM, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

prepare_modules_for_finetuning Ran
ran; our contract draft was wrong, not the code
JesseBrouw/UncertSAM/src/utils.py
pointer only (licence: AGPL-3.0) · get_code("2e72c1f8fd2f1655")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, JesseBrouw/UncertSAM, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

prepare_prompt_inputs Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
JesseBrouw/UncertSAM/src/prompt_utils.py
pointer only (licence: AGPL-3.0) · get_code("54a74de06f941975")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, JesseBrouw/UncertSAM, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

preturb_prompts Ran
ran; our contract draft was wrong, not the code
JesseBrouw/UncertSAM/src/prompt_utils.py
pointer only (licence: AGPL-3.0) · get_code("9f051c0b08453921")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, JesseBrouw/UncertSAM, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

setup_logvar_head Ran
ran; our contract draft was wrong, not the code
JesseBrouw/UncertSAM/src/variance_network.py
pointer only (licence: AGPL-3.0) · get_code("18468a3d183636bf")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, JesseBrouw/UncertSAM, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

sigmoid_focal_loss Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
JesseBrouw/UncertSAM/src/loss_fns.py
pointer only (licence: AGPL-3.0) · get_code("f655437ab080689e")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, JesseBrouw/UncertSAM, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

build_sam2 Not yet run
unverified (harvested, no recorded run)
JesseBrouw/UncertSAM/src/uncertsam2/build_sam.py
pointer only (licence: AGPL-3.0) · get_code("da21580814b526bb")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, JesseBrouw/UncertSAM, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

calc_accuracy_metrics Not yet run
unverified (harvested, no recorded run)
JesseBrouw/UncertSAM/src/metrics.py
pointer only (licence: AGPL-3.0) · get_code("480eb47745667f44")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, JesseBrouw/UncertSAM, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

sample_point_prompts Not yet run
unverified (harvested, no recorded run)
JesseBrouw/UncertSAM/src/prompt_utils.py
pointer only (licence: AGPL-3.0) · get_code("f4fa03f42f469907")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, JesseBrouw/UncertSAM, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 12 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-24.

Repositories linked to this paper

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

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 available at https://github.com/JesseBrouw/UncertSAM.

For agents

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

get_harvested_code_for_paper("2512.23427")
get_code_for_paper("2512.23427")
have("2512.23427")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2512.23427.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2512.23427.svg)](https://syntology.ai/paper/2512.23427)

Connect an agent — have() is free.