Abstract
Artificial intelligence (AI) foundation models for color fundus photography (CFP) have shown immense potential for ocular and systemic health screening. However, high computational demands and limited clinical interpretability hinder their real-world deployment. We present HRVRL (Hierarchical Retinal Vascular Representation Learning), a lightweight, knowledge-prompted foundation model that leverages a novel hierarchical framework based on retinal biological features. By utilizing a progressive learning strategy on a small set of vascular-labeled images, HRVRL captures retinal-specific features from coarse to fine scales. HRVRL demonstrates remarkable efficiency, requiring only 0.04 GB of memory and completing pretraining within one day on a single GPU. It outperforms existing foundation models in 20 of 24 downstream tasks and offers superior clinical interpretability, including significant zero-shot lesion detection capabilities. This model provides a practical path for deploying high-performance medical AI in resource-limited clinical settings.
Introduction
Foundation models (FMs) have revolutionized medical AI by leveraging massive unlabeled datasets to overcome the scarcity of high-quality annotations. In ophthalmology, however, these models face a "triple threat" of barriers: they are data-hungry, computationally expensive, and clinically opaque. Current state-of-the-art (SOTA) models, such as RETFound, rely on generic self-supervised learning—like masking and reconstructing random pixels—across millions of images. This "black box" approach often captures irrelevant features and requires massive GPU clusters, making deployment in resource-constrained clinics nearly impossible. Furthermore, because these models lack an inherent understanding of retinal anatomy, their decision-making processes rarely align with human ophthalmological standards.
Methodology: Knowledge-Prompted Learning
HRVRL (Hierarchical Retinal Vascular Representation Learning) addresses these challenges by swapping "brute force" data scaling for "knowledge-prompted" learning. Instead of processing millions of random images, the model focuses on the retinal vasculature—a primary biomarker for both ocular and systemic health.
Hierarchical Pretraining
The model employs a two-stage progressive strategy:
- Instance-Level Contrastive Learning: The model learns to distinguish vascular from non-vascular patches at a coarse scale.
- Pixel-Level Semantic Segmentation: The model performs fine-grained analysis to learn the specific differences between arteries and veins.
Architecture and Interpretability
Moving away from standard Vision Transformers (ViTs), HRVRL utilizes a ConvNeXt backbone. This architecture leverages the efficiency of convolutional neural networks (CNNs) while maintaining the global attention capabilities of Transformers. To ensure clinical transparency, the authors developed a multi-region interpretability method combining Grad-CAM (gradient-based saliency) with Shapley values. This allows the model to quantify exactly how much specific anatomical regions—such as arteries, veins, or non-vascular tissue—contribute to a specific diagnosis.
Experimental Setup and Datasets
The model's efficiency is most evident in its training requirements. While traditional models require hundreds of thousands of images, HRVRL's pretraining uses only 267 expert-labeled images (sourced from AV-DRIVE, LES-AV, HRF, UKBB, and the MAGIC cohort). These were augmented into 158,842 multi-scale instances to provide sufficient training depth.
For evaluation, the model was benchmarked across 12 independent datasets, including the UK Biobank for systemic diseases and the IDRiD dataset for zero-shot lesion detection. This rigorous testing ensures the model's generalizability across diverse clinical conditions.
Key Results and Performance
Unmatched Resource Efficiency
HRVRL sets a new standard for efficiency in medical AI. It requires only 0.04 GB of memory and can be pretrained from scratch in less than 24 hours on a single GPU. In contrast, models like RETFound can take up to 112 days on similar hardware. Furthermore, HRVRL processes 24 images per second, making it 1.5x to 4x faster than competing models during inference.
Superior Diagnostic Accuracy
HRVRL outperformed existing foundation models in 30 out of 34 downstream tasks. This includes 20 of 24 classification tasks related to ocular and systemic disease diagnosis and all 10 interpretability assessments. By mastering vascular representation, the model naturally excels at detecting systemic conditions, such as heart failure and myocardial infarction, which manifest in the retinal circulatory system.
Clinical Alignment and Zero-Shot Detection
Because the model learns the fundamental structure of "normal" retinal anatomy, it can identify "abnormal" lesions as deviations from the norm without task-specific training. In zero-shot diabetic retinopathy (DR) analysis, HRVRL achieved an 18-fold improvement in detecting hemorrhages and a 4-fold improvement in detecting microaneurysms and exudates compared to existing models. Its diagnostic patterns showed high concordance (similarity scores > 0.65) with expert ophthalmologist annotations.
Discussion and Future Directions
HRVRL demonstrates that domain knowledge is often more valuable than raw data volume. By forcing the model to learn medically relevant features, it develops a more robust "feature bank" than generic models. However, there are avenues for further refinement. Currently, the model focuses heavily on vasculature; incorporating other structures, such as the optic nerve head or the fovea, could further enhance accuracy. Additionally, while optimized for 2D Color Fundus Photography, future iterations could integrate 3D data like Optical Coherence Tomography (OCT) or clinical text reports for a multimodal diagnostic approach.
Conclusion
HRVRL represents a significant shift toward efficient, interpretable, and clinically relevant AI. By achieving state-of-the-art performance with 3,300x less pretraining data than previous heavyweights, it proves that high-performance foundation models can be accessible and transparent, paving the way for practical deployment in diverse clinical environments.
Summary updated