Vision-Language Modelling For Radiological Imaging and Reports In The Low Data Regime

Rhydian Windsor, Amir Jamaludin, Timor Kadir, Andrew Zisserman · OpenReview

Abstract

This paper explores training medical vision-language models (VLMs) -- where the visual and language inputs are embedded into a common space -- with a particular focus on scenarios where training data is limited, as is often the case in clinical datasets. We explore several candidate methods to improve low-data performance, including: (i) adapting generic pre-trained models to novel image and text domains (i.e. medical imaging and reports) via unimodal self-supervision; (ii) using local (e.g. GLoRIA) & global (e.g. InfoNCE) contrastive loss functions as well as a combination of the two; (iii) extra supervision during VLM training, via: (a) image- and text-only self-supervision, and (b) creating additional positive image-text pairs for training through augmentation and nearest-neighbour search. Using text-to-image retrieval as a benchmark, we evaluate the performance of these methods with variable sized training datasets of paired chest X-rays and radiological reports. Combined, they significantly improve retrieval compared to fine-tuning CLIP, roughly equivalent to training with 10x the data. A similar pattern is found in the downstream task classification of CXR-related conditions with our method outperforming CLIP and also BioVIL, a strong CXR VLM benchmark, in the zero-shot and linear probing settings. We conclude with a set of recommendations for researchers aiming to train vision-language models on other medical imaging modalities when training data is scarce.

Introduction

Vision-Language Models (VLMs) like CLIP have revolutionized artificial intelligence by learning shared representations between images and text. However, these models are notoriously "data-hungry," typically requiring hundreds of millions of image-caption pairs scraped from the internet to achieve state-of-the-art performance.

In the medical domain, researchers face a "Low Data Regime." While hospitals generate millions of scans, curated datasets for specific modalities are often small due to privacy regulations, the high cost of expert annotation, and the rarity of certain clinical conditions. This paper addresses a critical question for clinical AI: How can we build powerful medical VLMs when we only have a few thousand paired images and reports?

Methodology

The authors propose a two-stage pipeline designed to maximize data efficiency by leveraging both unpaired and paired data effectively.

Stage 1: Domain Adaptation

Before the models are exposed to paired image-report data, they undergo a "warm-up" phase using unimodal self-supervision on unpaired data. This ensures the encoders are already familiar with the specific characteristics of medical data.

  • Image Encoder: Pre-trained using SimCLR, where the model learns to identify consistent features by matching different augmented views of the same chest X-ray.
  • Text Encoder: Uses a specialized CXR-BERT. Beyond standard masked language modeling, it is trained to match a report’s "findings" section to its "impressions" (summary) section, forcing the model to capture clinical semantics and the relationship between detailed observations and diagnostic conclusions.

Stage 2: Enhanced VLM Training

Once initialized, the models are trained on paired data using three key enhancements to boost performance in low-data scenarios:

  1. Local vs. Global Losses: Standard models often compare one global embedding for the image and text (e.g., InfoNCE). This work incorporates GLoRIA, which matches local image patches with specific words in the report. This is crucial in radiology, where a diagnosis often depends on a small, localized pathology like a tiny nodule.
  2. DeCLIP Framework: This framework provides "extra supervision" by generating multiple positive pairs for every actual pair. It utilizes heavy data augmentation and a nearest-neighbor search in a text embedding queue to find semantically similar reports, providing additional training signals from the existing data.
  3. Concurrent Self-Supervision: To prevent the encoders from "forgetting" domain-specific features, unimodal tasks (SimCLR and Masked Language Modeling) are kept running alongside the multimodal contrastive training.
Figure 4: The enhanced VLM training pipeline incorporating the DeCLIP framework, SimCLR, and Masked Language Modeling (MLM) for improved data efficiency.

Experimental Setup

The study utilizes the MIMIC-CXR-JPG dataset, containing over 180,000 chest X-ray studies. To simulate the low-data regime, the authors subsample the training set into fractions of 1%, 5%, 10%, 20%, and 50%. The 1% split represents a realistic "scarce" scenario with only approximately 1,400 image-text pairs. Evaluation is performed on text-to-image retrieval and zero-shot classification of 12 clinical conditions using CheXpert labels.

Results and Discussion

The most significant finding is the 10x efficiency gain achieved by the optimized pipeline. The model trained on just 1% of the data performs roughly as well as a standard fine-tuned CLIP model trained on 10% of the data.

Figure 6: Test set AUROC across varying training dataset sizes. The proposed methods (e.g., DeCLIP + GLoRIA) significantly outperform the CLIP baseline, especially in low-data scenarios.

Key Insights

  • Initialization is Critical: In low-data settings, starting with a model pre-trained on medical data (even if unpaired) is far superior to starting with general-purpose CLIP weights.
  • Local Matching Matters: Medical reports are often lists of distinct observations. Using local loss functions (GLoRIA) allows the model to associate specific image regions with specific phrases, which is more effective than global pooling.
  • Nearest Neighbors as Supervision: By using a FIFO queue to find similar reports during training, the model learns a more robust manifold, effectively "hallucinating" more data than it actually has.

In downstream classification tasks, the model trained on 1% of the data achieved 70.1% accuracy in linear probing, beating a standard CLIP model trained on 10% of the data (69.9%). Furthermore, in zero-shot settings, the proposed model outperformed BioVIL, a well-known benchmark VLM for chest X-rays.

Conclusion

This research demonstrates that high-performing medical VLMs can be developed even with limited paired data by employing domain adaptation and enhanced supervision strategies. While the results on chest X-rays are impressive, future work is needed to determine if these recommendations hold for other modalities like MRI or Ultrasound, where the "low data" problem is even more acute. Additionally, while the DeCLIP framework and local loss functions improve performance, they come with higher computational costs, which remains a consideration for resource-constrained environments.

Summary updated

BibTeX
@inproceedings{windsor2023vision,
  author = {Rhydian Windsor and Amir Jamaludin and Timor Kadir and Andrew Zisserman},
  title = {{Vision-Language Modelling For Radiological Imaging and Reports In The Low Data Regime}},
  booktitle = {MIDL},
  year = {2023},
  url = {https://openreview.net/forum?id=9xMSDjZPtY},
}
Figure