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

Rhydian Windsor, Amir Jamaludin, Timor Kadir, Andrew Zisserman

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. Combined, they significantly improve retrieval compared to fine-tuning CLIP, roughly equivalent to training with $10\times$ 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

In the general computer vision world, models like CLIP are trained on hundreds of millions of image-caption pairs. In medicine, data is scarce, expensive to annotate, and often locked behind privacy walls. While large datasets exist for Chest X-rays (CXR), most other medical modalities (like MRI or specialized CT scans) might only have a few thousand paired images and reports available. This paper addresses the fundamental question: How can we build powerful, aligned visual-language representations when we only have a tiny fraction of the data typically required?

Methodology

The researchers proposed a three-stage pipeline to squeeze maximum performance out of limited data:

  1. Unimodal Domain Adaptation: Before showing the model paired data, the encoders are "warmed up." The image encoder (ResNet50) is trained using SimCLR (self-supervised learning on images), and the text encoder is initialized with CXR-BERT, which is specialized for clinical language.
  2. Local vs. Global Loss: Standard CLIP looks at the "global" similarity between an image and a sentence. However, medical reports often describe specific regions. The authors integrated GLoRIA, a loss function that performs "local" matching between image patches and specific words/tokens.
  3. The DeCLIP Framework: To combat data scarcity, the DeCLIP framework generates additional supervision through augmentations, nearest-neighbor search for similar reports, and auxiliary self-supervised tasks like Masked Language Modelling (MLM) integrated into the main training loop.
Overview of the DeCLIP framework used for vision-language model training, illustrating the use of augmentations and auxiliary self-supervised tasks.

Results and Discussion

The study primarily uses MIMIC-CXR-JPG to simulate the "low data regime" by creating subsets containing 1% to 50% of the total data. Evaluation was performed using the CheXpert labeller for ground-truth labels.

  • The 10x Efficiency Gain: The most striking insight is that the combined method trained on 1% of the data (approx. 1,400 pairs) achieved retrieval performance comparable to a standard CLIP model trained on 10% of the data (14,000 pairs).
  • Zero-Shot and Linear Probing: On the CheXpert benchmark, the model outperformed both the standard CLIP baseline and BioVIL. When used as a fixed feature extractor (linear probing) at 1% data, it achieved 70.1% balanced accuracy, surpassing a CLIP baseline trained on 10x more data.
Retrieval performance (AUROC) on the test set across different training dataset sizes. The domain-adapted CXR-BERT models significantly outperform standard BERT and CLIP baselines in low-data scenarios.

Conclusion

Initialization is critical: starting with domain-specific weights (SimCLR and CXR-BERT) prevents the model from having to learn basic medical features from scratch. Furthermore, local matching (GLoRIA) is essential in medicine, as reports are collections of specific observations rather than simple captions. While these methods are computationally more intensive, they provide a viable path for training VLMs on rare or specialized medical modalities where data is scarce.

Reference: Windsor, R., Jamaludin, A., Kadir, T., & Zisserman, A. (2023). Vision-Language Modelling for Radiological Imaging and Reports in the Low Data Regime. Proceedings of Machine Learning Research, 227:53–73. (MIDL 2023).

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