Visual Prompt Engineering for Vision Language Models in Radiology

Abstract

Medical image classification plays a crucial role in clinical decision-making, yet most models are constrained to a fixed set of predefined classes, limiting their adaptability to new conditions. Contrastive Language-Image Pretraining (CLIP) offers a promising solution by enabling zero-shot classification through multimodal large-scale pretraining. However, while CLIP effectively captures global image content, radiology requires a more localized focus on specific pathology regions to enhance both interpretability and diagnostic accuracy. To address this, we explore the potential of incorporating visual cues into zero-shot classification, embedding visual markers, such as arrows, bounding boxes, and circles, directly into radiological images to guide model attention. Evaluating across four public chest X-ray datasets, we demonstrate that visual markers improve AUROC by up to 0.185, highlighting their effectiveness in enhancing classification performance. Furthermore, attention map analysis confirms that visual cues help models focus on clinically relevant areas, leading to more interpretable predictions. To support further research, we use public datasets and provide our codebase and preprocessing pipeline, serving as a reference point for future work on localized classification in medical imaging.

Cite

Text

Denner et al. "Visual Prompt Engineering for Vision Language Models in Radiology." Medical Imaging with Deep Learning, 2025.

Markdown

[Denner et al. "Visual Prompt Engineering for Vision Language Models in Radiology." Medical Imaging with Deep Learning, 2025.](https://mlanthology.org/midl/2025/denner2025midl-visual/)

BibTeX

@inproceedings{denner2025midl-visual,
  title     = {{Visual Prompt Engineering for Vision Language Models in Radiology}},
  author    = {Denner, Stefan and Bujotzek, Markus Ralf and Bounias, Dimitrios and Zimmerer, David and Stock, Raphael and Maier-Hein, Klaus},
  booktitle = {Medical Imaging with Deep Learning},
  year      = {2025},
  url       = {https://mlanthology.org/midl/2025/denner2025midl-visual/}
}