Saved in:
Bibliographic Details
Main Authors: Çetinkaya, Evren, Lee, Sangmin, Kim, Jung Uk, Lee, Hong Joo, Navab, Nassir
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2604.17455
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918454779445248
author Çetinkaya, Evren
Lee, Sangmin
Kim, Jung Uk
Lee, Hong Joo
Navab, Nassir
author_facet Çetinkaya, Evren
Lee, Sangmin
Kim, Jung Uk
Lee, Hong Joo
Navab, Nassir
contents 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/
format Preprint
id arxiv_https___arxiv_org_abs_2604_17455
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle From Adaptation to Generalization: Adaptive Visual Prompting for Medical Image Segmentation
Çetinkaya, Evren
Lee, Sangmin
Kim, Jung Uk
Lee, Hong Joo
Navab, Nassir
Computer Vision and Pattern Recognition
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/
title From Adaptation to Generalization: Adaptive Visual Prompting for Medical Image Segmentation
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2604.17455