Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

From Adaptation to Generalization: Adaptive Visual Prompting for Medical Image Segmentation

About

Visual prompting has emerged as a powerful method for adapting pre-trained models to new domains without updating model parameters. However, existing prompting methods typically optimize a single prompt per domain and apply it uniformly to all inputs, limiting their ability to generalize under intra and inter-domain variability, which is especially critical in the medical field. To address this, we propose APEX, an Adaptive Prompt EXtraction framework that retrieves input-specific prompts from a learnable prompt memory. The memory stores diverse, domain-discriminative prompt representations and is queried via domain features extracted from the Fourier spectrum. To learn robust and discriminative domain features, we introduce a novel Low-Frequency Feature Contrastive (LFC) learning framework that clusters representations from the same domain while separating those from different domains. Extensive experiments on two medical segmentation tasks demonstrate that APEX significantly improves generalization across both seen and unseen domains. Furthermore, it complements any existing backbones and consistently enhances performance, confirming its effectiveness as a plug-and-play prompting solution in medical fields. The code is available at https://github.com/cetinkayaevren/apex/

Evren \c{C}etinkaya, Sangmin Lee, Jung Uk Kim, Hong Joo Lee, Nassir Navab• 2026

Related benchmarks

TaskDatasetResultRank
OC/OD SegmentationREFUGE Domain A (test)
DICE89.82
24
OC/OD SegmentationREFUGE Domain B (val)
Dice Score0.8726
24
OC/OD SegmentationDrishti-GS Domain C (unseen)
DICE Score91.13
24
OC/OD SegmentationRIM-ONE r3 Domain D (unseen)
Dice Score84.69
24
Polyp SegmentationCVC-ClinicDB Domain A (test)
Dice Score79.37
18
Polyp SegmentationKvasir-Seg Domain B (test)
DICE88.13
18
Polyp SegmentationETIS-LaribPolypDB Domain C (test)
DICE68.56
18
Polyp SegmentationCVC-ColonDB Domain D (test)
DICE67.11
18
Polyp SegmentationAverage Across Domains A-D (test)
DICE71.77
18
Showing 9 of 9 rows

Other info

Follow for update