EyeCLIP: A visual-language foundation model for multi-modal ophthalmic image analysis

Danli Shi, Weiyi Zhang, Jiancheng Yang, Siyu Huang, Xiaolan Chen, Mayinuer Yusufu, Kai Jin, Shan Lin, Shunming Liu, Qing Zhang, Mingguang HearXiv 2024 · DOI

Abstract

EyeCLIP is a first-of-its-kind visual-language foundation model for ophthalmology that aligns 11 different imaging modalities—including fundus photography and Optical Coherence Tomography (OCT)—with clinical text. By combining multi-modal contrastive learning with masked image reconstruction, EyeCLIP achieves state-of-the-art performance in zero-shot disease diagnosis, cross-modal retrieval, and the prediction of systemic health issues such as stroke and dementia from ocular scans.

Introduction

In clinical ophthalmology, diagnosis often relies on the synthesis of information across multiple imaging modalities. For instance, Color Fundus Photography (CFP) provides surface views of the retina, while Optical Coherence Tomography (OCT) reveals cross-sectional layers. Despite this, most medical AI models remain "single-modality specialists." Furthermore, rare eye diseases often suffer from a lack of labeled data, creating a "long-tail" problem for supervised learning.

EyeCLIP addresses these challenges by establishing a foundation model that harnesses multi-modal consistency and leverages rich clinical text. This approach allows the model to perform "zero-shot" tasks, identifying conditions it was not explicitly trained to classify by using language as a semantic bridge.

Methods

The EyeCLIP architecture extends the Contrastive Language-Image Pre-training (CLIP) framework through three primary innovations:

  1. Multi-Modal Contrastive Learning: Unlike standard CLIP, EyeCLIP employs an "image-image" contrastive loss to align different modalities (e.g., FFA and CFP) from the same patient, teaching the model that diverse visual representations can describe the same pathology.
  2. Masked Image Modeling (MAE): An image decoder is added to the CLIP encoder. By reconstructing masked portions of images, the model learns deep structural features from vast unlabeled datasets.
  3. Hierarchical Text Alignment: Using a custom medical dictionary, the researchers extracted hierarchical keywords from clinical reports, enabling the model to relate specific symptoms to broader disease categories.
Overview of EyeCLIP development, pretraining architecture, and downstream evaluation tasks.

Datasets and Evaluation

EyeCLIP was pre-trained on a massive dataset comprising 2,777,593 multi-modal images and 11,180 reports from 128,554 patients across 227 hospitals in China. The model's versatility was validated across 14 multi-country datasets, including public benchmarks like IDRiD and APTOS2019, as well as the UK Biobank for systemic health prediction.

Results and Key Insights

EyeCLIP consistently outperformed general-domain models (CLIP) and specialized medical models (BioMedCLIP, RETFound) across several benchmarks:

  • Zero-Shot Diagnosis: EyeCLIP achieved AUCs between 0.68 and 0.80, significantly outperforming baselines.
  • Systemic Disease Prediction: Leveraging the eye as a "window to the body," the model predicted stroke (AUC 0.641) and myocardial infarction (AUC 0.596) with superior accuracy.
  • Cross-Modal Retrieval: The model demonstrated a high capacity for semantic understanding, achieving a mean recall of 44.1% for text-to-image retrieval on the AngioReport dataset.
Qualitative examples of EyeCLIP's cross-modal retrieval capabilities, including text-to-image and image-to-text tasks.

Discussion and Limitations

The success of EyeCLIP highlights the power of multi-view synergy and language-based supervision in medical AI. However, several hurdles remain for clinical deployment. Performance is heavily dependent on the quality and standardization of clinical reports. Additionally, the "black box" nature of deep learning models necessitates improved interpretability for healthcare providers. Future work will focus on standardizing reporting templates and addressing the ethical considerations of AI-driven systemic health screening.

Summary updated

BibTeX
@misc{shi2024eyeclip,
  author = {Danli Shi and Weiyi Zhang and Jiancheng Yang and Siyu Huang and Xiaolan Chen and Mayinuer Yusufu and Kai Jin and Shan Lin and Shunming Liu and Qing Zhang and Mingguang He},
  title = {{EyeCLIP: A visual-language foundation model for multi-modal ophthalmic image analysis}},
  year = {2024},
  eprint = {2409.06644},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.06644},
}
Figure