Papers › Unleashing the Power of Prompt-driven Nucleus Instance Segmentation

Unleashing the Power of Prompt-driven Nucleus Instance Segmentation

27 Nov 2023arXiv:2311.15939archive 2025-07-28

Zhongyi Shui, Yunlong Zhang, Kai Yao, Chenglu Zhu, Sunyi Zheng, Jingxiong Li, Honglin Li, Yuxuan Sun, Ruizhe Guo, Lin Yang

Nucleus instance segmentation in histology images is crucial for a broad spectrum of clinical applications. Current dominant algorithms rely on regression of nuclear proxy maps. Distinguishing nucleus instances from the estimated maps requires carefully curated post-processing, which is error-prone and parameter-sensitive. Recently, the Segment Anything Model (SAM) has earned huge attention in medical image segmentation, owing to its impressive generalization ability and promptable property. Nevertheless, its potential on nucleus instance segmentation remains largely underexplored. In this paper, we present a novel prompt-driven framework that consists of a nucleus prompter and SAM for automatic nucleus instance segmentation. Specifically, the prompter learns to generate a unique point prompt for each nucleus while the SAM is fine-tuned to output the corresponding mask for the prompted nucleus. Furthermore, we propose the inclusion of adjacent nuclei as negative prompts to enhance the model's capability to identify overlapping nuclei. Without complicated post-processing, our proposed method sets a new state-of-the-art performance on three challenging benchmarks. Code is available at \url{github.com/windygoo/PromptNucSeg}

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2311.15939")

Code

Syntology Ran 11 of 14 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 11 ran with no contract checked.

By repository: official repository: 14 samples from 1 repository, 11 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

windygoo/promptnucseg officialmentioned in paperpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

14 samples harvested; 11 ran; 0 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

11ran
3unverified

Licence: 14 of the 14 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from windygoo/promptnucseg. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

add_k_nearest_neg_prompt windygoo/promptnucseg/segmentor/dataset.py official repository ran no licence file found · pointer only · 2bf7181c523e6a5a · report
all_gather windygoo/promptnucseg/prompter/utils.py official repository ran no licence file found · pointer only · 345f34217e670c58 · report
average_precision windygoo/promptnucseg/prompter/eval_map.py official repository ran no licence file found · pointer only · 25b255590a9b6953 · report
build_matcher windygoo/promptnucseg/prompter/matcher.py official repository ran no licence file found · pointer only · fe36c94f386077f0 · report
get_cls_results windygoo/promptnucseg/prompter/eval_map.py official repository ran no licence file found · pointer only · 6b6d0130e0b7d88b · report
get_fast_aji windygoo/promptnucseg/segmentor/stats_utils.py official repository ran no licence file found · pointer only · 70765b7c58186014 · report
get_fast_aji_plus windygoo/promptnucseg/segmentor/stats_utils.py official repository ran no licence file found · pointer only · c0c70cc921312da1 · report
get_fast_pq windygoo/promptnucseg/segmentor/stats_utils.py official repository ran no licence file found · pointer only · 3e8b7f0f9b9b649c · report
read_from_json windygoo/promptnucseg/prompter/dataset.py official repository ran no licence file found · pointer only · 1a2dd91846e5da32 · report
reduce_across_processes windygoo/promptnucseg/prompter/utils.py official repository ran no licence file found · pointer only · 4ee45d4623a1e346 · report
reduce_dict windygoo/promptnucseg/prompter/utils.py official repository ran no licence file found · pointer only · 0f432e22853a1915 · report
load_maskfile windygoo/promptnucseg/segmentor/dataset.py official repository unverified no licence file found · pointer only · 4886db9ff74b073b · report
tpfp_default windygoo/promptnucseg/prompter/eval_map.py official repository unverified no licence file found · pointer only · 4c64f043751302c9 · report
train_one_epoch windygoo/promptnucseg/prompter/engine.py official repository unverified no licence file found · pointer only · aacd1d8b1a114829 · report

Tasks

Image SegmentationInstance SegmentationMedical Image SegmentationSegmentationSemantic Segmentation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

SAM

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections