UrFound: Towards Universal Retinal Foundation Models via Knowledge-Guided Masked Modeling

Kai Yu, Yang Zhou, Yang Bai, Zhi Da Soh, Xinxing Xu, Rick Siow Mong Goh, Ching-Yu Cheng, Yong Liu · DOI

Introduction

In modern ophthalmology, clinicians rely on a diverse array of imaging modalities to diagnose and monitor sight-threatening conditions. Two of the most critical are Color Fundus Photography (CFP), which provides a 2D surface view of the retina, and Optical Coherence Tomography (OCT), which offers high-resolution 3D cross-sectional views. Despite the complementary nature of these modalities, existing artificial intelligence foundation models are typically specialized for a single imaging type. This specialization creates a "silo" effect, increasing the computational burden of maintaining multiple models and preventing the cross-pollination of features that could enhance diagnostic accuracy.

Furthermore, standard self-supervised pre-training methods, such as Masked Autoencoders (MAE), focus primarily on raw pixel reconstruction. While effective at learning visual geometry, these methods often ignore the rich domain expertise inherent in clinical practice. Categorical labels used in supervised learning are often too reductive to capture the nuances of disease progression. To address these challenges, we present UrFound, a universal retinal foundation model that integrates expert clinical knowledge through a novel knowledge-guided masked modeling strategy.

Methodology: Knowledge-Guided Masked Modeling

UrFound utilizes a modality-agnostic Vision Transformer (ViT-base) architecture designed to process both CFP and OCT images within a single framework. The core innovation lies in its dual-branch pre-training objective, which aligns visual representations with professional medical terminology.

1. Masked Image Modeling (MIM)

Following the standard MAE approach, the model masks a significant portion of the input retinal image patches. The encoder must then learn to reconstruct these missing pixels, forcing the model to understand the fundamental anatomical structures and spatial relationships within the eye.

2. Conditional Masked Language Modeling (MLM)

This branch introduces the "knowledge-guided" component. Rather than relying on simple categorical labels (e.g., "Glaucoma"), the authors convert these labels into detailed clinical descriptions. For instance, a diagnosis of drusen is expanded into a description such as "yellow deposits under the retina." During training, the model is tasked with predicting masked-out words within these descriptions, conditioned on the corresponding image features. By reconstructing both pixels and medical text simultaneously, UrFound learns a unified latent space where visual patterns are directly mapped to clinical concepts.

Experimental Setup

Pre-training Dataset

UrFound was pre-trained on a curated dataset of approximately 187,000 retinal images accompanied by expert annotations. This includes:

  • 103,786 CFP images sourced from 25 public repositories.
  • 83,484 OCT images from the OCTCELL database.

Evaluation and Benchmarking

The model's performance was evaluated across eight public datasets covering three primary diagnostic tasks: Diabetic Retinopathy (DR) grading (APTOS, IDRID, Messidor), Glaucoma detection (PAPILA, GF), and multi-disease diagnosis (JSIEC, Retina, OCTID).

Key Results and Insights

Superiority Over Large-Scale Models

One of the most significant findings is that UrFound, despite being trained on ~187k images, consistently outperforms RETFound, a prominent foundation model trained on 1.6 million unlabeled images. For example, on the IDRID dataset, UrFound achieved an AUROC of 85.22, compared to RETFound's 83.33. This suggests that the quality and depth of supervision—provided by clinical descriptions—are more impactful than the sheer volume of unlabeled data.

Data Efficiency and Few-Shot Learning

UrFound demonstrates remarkable robustness in "few-shot" scenarios. When fine-tuned on only a small fraction of available data, UrFound maintains a significant performance lead over its competitors. This efficiency is particularly valuable for rare ophthalmic diseases where large, labeled datasets are difficult to obtain.

Universal Modality Encoding

The research confirms that a single encoder can effectively bridge the gap between 2D fundus photos and 3D-style OCT slices. Interestingly, joint training on both modalities improved performance compared to training on either modality in isolation. This indicates that the model successfully learns a "universal" representation of retinal health that transcends specific imaging hardware.

Conclusion and Future Directions

UrFound represents a shift toward more intelligent and efficient foundation models in medical imaging. By moving beyond pixel-level reconstruction and incorporating descriptive clinical knowledge, the model achieves state-of-the-art performance with a fraction of the data required by traditional self-supervised methods.

While UrFound currently masters CFP and OCT, future work will aim to incorporate additional modalities such as Fundus Fluorescence Angiography (FFA). Furthermore, the authors plan to scale this knowledge-guided approach by integrating diverse, real-world clinical reports, potentially further refining the model's ability to interpret complex ocular pathologies.

Summary updated

BibTeX
@inproceedings{yu2024urfound,
  author = {Kai Yu and Yang Zhou and Yang Bai and Zhi Da Soh and Xinxing Xu and Rick Siow Mong Goh and Ching-Yu Cheng and Yong Liu},
  title = {{UrFound: Towards Universal Retinal Foundation Models via Knowledge-Guided Masked Modeling}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2024},
  doi = {10.1007/978-3-031-72390-2\_70},
}
Figure