Can language-guided unsupervised adaptation improve medical image classification using unpaired images and texts?

Umaima Rahman, Raza Imam, Mohammad Yaqub, Boulbaba Ben Amor, Dwarikanath Mahapatra
9/3/2024
cs.CV

Official code: rumaima/meduna (1 star, last commit 2025-09-02).

Abstract

In medical image classification, supervised learning is challenging due to the scarcity of labeled medical images. To address this, we leverage the visual-textual alignment within Vision-Language Models (VLMs) to enable unsupervised learning of a medical image classifier. In this work, we propose \underline{Med}ical \underline{Un}supervised \underline{A}daptation (\texttt{MedUnA}) of VLMs, where the LLM-generated descriptions for each class are encoded into text embeddings and matched with class labels via a cross-modal adapter. This adapter attaches to a visual encoder of \texttt{MedCLIP} and aligns the visual embeddings through unsupervised learning, driven by a contrastive entropy-based loss and prompt tuning. Thereby, improving performance in scenarios where textual information is more abundant than labeled images, particularly in the healthcare domain. Unlike traditional VLMs, \texttt{MedUnA} uses \textbf{unpaired images and text} for learning representations and enhances the potential of VLMs beyond traditional constraints. We evaluate the performance on three chest X-ray datasets and two multi-class datasets (diabetic retinopathy and skin lesions), showing significant accuracy gains over the zero-shot baseline. Our code is available at https://github.com/rumaima/meduna.

View on arXivView PDF

Code Implementations(1)

rumaima/medunaOfficial100%
10Shell, PythonJan 12, 20251 years ago

Similar Papers

Cite this paper

@article{rahman2024languageguided,
  title  = {Can language-guided unsupervised adaptation improve medical image classification using unpaired images and texts?},
  author = {Umaima Rahman and Raza Imam and Mohammad Yaqub and Boulbaba Ben Amor and Dwarikanath Mahapatra},
  year   = {2024},
  eprint = {2409.02729},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.02729v2}
}

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/2409.02729.svg)](https://codeofpaper.com/paper/2409.02729)

Discussion