BiomedCoOp: Learning to Prompt for Biomedical Vision-Language Models

Taha Koleilat, Hojat Asgariandehkordi, H. Rivaz, Yiming Xiao
2/9/2026

No official code found. Best implementation: HealthX-Lab/BiomedCoOp (124 stars, MIT, last commit 2025-06-13).

Abstract

Recent advancements in vision-language models (VLMs), such as CLIP, have demonstrated substantial success in self-supervised representation learning for vision tasks. However, effectively adapting VLMs to downstream applications remains challenging, as their accuracy often depends on time-intensive and expertise-demanding prompt engineering, while full model fine-tuning is costly. This is particularly true for biomedical images, which, unlike natural images, typically suffer from limited annotated datasets, unintuitive image contrasts, and nuanced visual features. Recent prompt learning techniques, such as Context Optimization (CoOp) intend to tackle these issues, but still fall short in generalizability. Meanwhile, explorations in prompt learning for biomedical image analysis are still highly limited. In this work, we propose BiomedCoOp, a novel prompt learning framework that enables efficient adaptation of BiomedCLIP for accurate and highly generalizable few-shot biomedical image classification. Our approach achieves effective prompt context learning by leveraging semantic consistency with average prompt ensembles from Large Language Models (LLMs) and knowledge distillation with a statistics-based prompt selection strategy. We conducted comprehensive validation of our proposed framework on 11 medical datasets across 9 modalities and 10 organs against existing state-of-the-art methods, demonstrating significant improvements in both accuracy and generalizability. The code is publicly available at https://github.com/HealthX-Lab/BiomedCoOp.

View on arXivView PDF

Code Implementations(1)

MIT

[CVPR 2025] Official implementation of BiomedCoOp

12415Shell, PythonNov 15, 20241 years agoMIT

Similar Papers

Cite this paper

@article{koleilat2026biomedcoop,
  title  = {BiomedCoOp: Learning to Prompt for Biomedical Vision-Language Models},
  author = {Taha Koleilat and Hojat Asgariandehkordi and H. Rivaz and Yiming Xiao},
  year   = {2026},
  eprint = {2411.15232},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2411.15232},
  journal = {CVPR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.15232.svg)](https://codeofpaper.com/paper/2411.15232)

Discussion