Papers › Prompt Tuning for Parameter-efficient Medical Image Segmentation

Prompt Tuning for Parameter-efficient Medical Image Segmentation

16 Nov 2022arXiv:2211.09233archive 2025-07-28

Marc Fischer, Alexander Bartler, Bin Yang

Neural networks pre-trained on a self-supervision scheme have become the standard when operating in data rich environments with scarce annotations. As such, fine-tuning a model to a downstream task in a parameter-efficient but effective way, e.g. for a new set of classes in the case of semantic segmentation, is of increasing importance. In this work, we propose and investigate several contributions to achieve a parameter-efficient but effective adaptation for semantic segmentation on two medical imaging datasets. Relying on the recently popularized prompt tuning approach, we provide a prompt-able UNet (PUNet) architecture, that is frozen after pre-training, but adaptable throughout the network by class-dependent learnable prompt tokens. We pre-train this architecture with a dedicated dense self-supervision scheme based on assignments to online generated prototypes (contrastive prototype assignment, CPA) of a student teacher combination alongside a concurrent segmentation loss on a subset of classes. We demonstrate that the resulting neural network model is able to attenuate the gap between fully fine-tuned and parameter-efficiently adapted models on CT imaging datasets. As such, the difference between fully fine-tuned and prompt-tuned variants amounts to only 3.83 pp for the TCIA/BTCV dataset and 2.67 pp for the CT-ORG dataset in the mean Dice Similarity Coefficient (DSC, in %) while only prompt tokens, corresponding to 0.85% of the pre-trained backbone model with 6.8M frozen parameters, are adjusted. The code for this work is available on https://github.com/marcdcfischer/PUNet .

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="2211.09233")

Code

Syntology Ran 0 of 16 code samples harvested from 2 repositories linked to this paper; 16 have no recorded run.

By repository: official repository: 6 samples from 1 repository, 0 ran; community (archive-listed): 10 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

marcdcfischer/punet officialmentioned in papermentioned on GitHubpytorchMIT report
marcdcfischer/punetr mentioned on GitHubpytorchMIT 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

16 samples harvested; 0 ran; 0 honoured the contract we drafted; 16 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.

16unverified

Licence: 0 of the 16 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 2 repositories linked to this paper, official or community; each sample names its own and says which. “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_callback_specific_args marcdcfischer/punet/src/utils/callbacks.py official repository unverified MIT (permissive) · 55f4926388207295 · report
download_with_default_configuration marcdcfischer/punet/src/utils/aws.py official repository unverified MIT (permissive) · 11e5b48f56f056e5 · report
fetch_ckpt marcdcfischer/punet/src/utils/aws.py official repository unverified MIT (permissive) · d2e26bc2ed5c46ec · report
list_objects marcdcfischer/punet/src/utils/aws.py official repository unverified MIT (permissive) · 3162d297bfe0a0b3 · report
setup_checkpointing marcdcfischer/punet/src/utils/callbacks.py official repository unverified MIT (permissive) · b8bf5545c88f7ce3 · report
setup_loggers marcdcfischer/punet/src/utils/logging_custom.py official repository unverified MIT (permissive) · ebea7d126a7d1a2f · report
fetch_ckpt marcdcfischer/punetr/src/utils/aws.py community (archive-listed) unverified MIT (permissive) · 60d28b11dc70aefc · report
from_argparse_args marcdcfischer/punetr/src/utils/old_lightning_argparse.py community (archive-listed) unverified MIT (permissive) · fae5b0a45b8473ed · report
parse_argparser marcdcfischer/punetr/src/utils/old_lightning_argparse.py community (archive-listed) unverified MIT (permissive) · 78ad1521c16f7df8 · report
parse_env_variables marcdcfischer/punetr/src/utils/old_lightning_argparse.py community (archive-listed) unverified MIT (permissive) · 5b13add0dd978d7d · report
setup_checkpointing marcdcfischer/punetr/src/utils/callbacks.py community (archive-listed) unverified MIT (permissive) · a442905baf491e84 · report
setup_loggers marcdcfischer/punetr/src/utils/logging_custom.py community (archive-listed) unverified MIT (permissive) · d5b89e699579032c · report
stable_softmax marcdcfischer/punetr/src/utils/stable_softmax.py community (archive-listed) unverified MIT (permissive) · e38ff7174bf4d914 · report
str_to_bool marcdcfischer/punetr/src/utils/old_lightning_parsing.py community (archive-listed) unverified MIT (permissive) · e5cfe85a69313b6f · report
str_to_bool_or_int marcdcfischer/punetr/src/utils/old_lightning_parsing.py community (archive-listed) unverified MIT (permissive) · 5c7789af09eb566b · report
str_to_bool_or_str marcdcfischer/punetr/src/utils/old_lightning_parsing.py community (archive-listed) unverified MIT (permissive) · 672c119bf3562487 · report

Tasks

Image SegmentationMedical Image SegmentationSegmentationSemantic Segmentation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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