In the rapidly evolving landscape of medical AI, foundation models—large-scale models pre-trained on vast datasets—are becoming the go-to starting point for specialized tasks. However, in ophthalmology, a high "leaderboard" score on a single dataset rarely translates to clinical reliability.
A new paper introduces FOCUS (Foundation Ophthalmic Cross-Dataset Understanding under Shift), a rigorous benchmark designed to stress-test these models across diverse geographies, hardware, and clinical tasks.
TL;DR
FOCUS is a comprehensive benchmark evaluating 532 model configurations across 10 diverse retinal fundus datasets. It reveals that while generalist vision models are surprisingly robust, current foundation models face a "task cliff" in glaucoma detection and often trade off ranking performance for demographic fairness.
What Problem Does This Paper Address?
Evaluating AI for retinal image analysis is notoriously difficult due to dataset shift. A model trained on high-quality desktop fundus photos from a European clinic might fail when deployed on mobile-phone cameras in Brazil or when faced with varying clinical definitions of "referable" disease.
Most existing benchmarks focus on a single metric (usually AUROC) on a single dataset. This ignores critical dimensions of clinical safety:
- Calibration: Does a 90% confidence score actually mean a 90% probability of disease?
- Fairness: Does the model perform equally well across different ages and sexes?
- Robustness: How does performance degrade with poor image quality?
FOCUS addresses this by harmonizing ten public datasets into a unified evaluation framework for vision-only encoders (VMs), vision-language models (VLMs), and multimodal LLMs (MLLMs).
Methods
The authors developed a "unified analysis layer" to compare models with fundamentally different architectures:
- Vision Encoders (VM): Evaluated via frozen-feature linear probing (e.g., DINOv2, RETFound).
- Vision-Language Models (VLM): Evaluated via zero-shot image-text matching and linear probing (e.g., CLIP, FLAIR).
- Multimodal LLMs (MLLM): Evaluated via zero-shot prompting and Supervised Fine-Tuning (SFT) using Low-Rank Adaptation (LoRA) (e.g., MedGemma, LLaVA-Med).
The benchmark pipeline (shown below) standardizes three binary tasks: Any Diabetic Retinopathy (DR), Referable DR, and Glaucomatous Optic Neuropathy (GON).
Datasets
FOCUS aggregates 10 public datasets spanning five countries (Brazil, India, France, China, Germany):
- DR-focused: BRSET, mBRSET (mobile), RFMiD, RFMiD 2.0, IDRiD, Messidor-2, JSIEC1000.
- Glaucoma-focused: PAPILA, REFUGE, G1020.
Notably, mBRSET is included as a key test of device shift, as it consists of mobile-phone fundus images, which are significantly different from standard clinical hardware.
Key Insights and Ideas
- Generalists are Hard to Beat: Surprisingly, general-purpose vision encoders (like DINOv2) often outperformed domain-specific ophthalmic models, particularly when dealing with the device shift in mobile-phone imagery.
- The Glaucoma "Task Cliff": There is a massive performance drop-off when moving from diabetic retinopathy to glaucoma. While models reach ~0.87 AUROC on DR, they plumet to ~0.64–0.74 on glaucoma, suggesting that structural optic disc analysis remains a major bottleneck for current foundation models.
- Specialization > Scale: For MLLMs, medical-specific instruction tuning (e.g., MedGemma) provided much larger performance gains than simply increasing the parameter count (e.g., scaling from 4B to 27B parameters).
- The Fairness Trade-off: The study found a positive correlation between high AUROC and larger fairness gaps. Models that are "better" at ranking patients often exhibit higher disparities between age subgroups.
Key Results
- Ranking vs. Calibration: Supervised Fine-Tuning (LoRA) significantly improved calibration (reducing ECE by 0.040) and accuracy (+0.033), but it did not meaningfully improve the model's ability to rank cases (AUROC only increased by 0.004). SFT essentially helps the model "pick a better threshold" rather than "learn better features."
- VLM Adaptation: Dual-encoder VLMs (like CLIP) are weak in zero-shot settings for medical tasks but become highly competitive when adapted via linear probing.
- Fairness Gaps: As shown in the figure below, there is a clear "trade-off" slope where higher mean AUROC often leads to a wider Age Equalized-Odds (EO) gap, particularly in MLLMs (r = +0.63).
Limitations and Future Work
The authors emphasize that FOCUS is a retrospective benchmark and not a clinical validation study. Key limitations include:
- Metadata Scarcity: Many public datasets lack the demographic or image-quality metadata required for full fairness and robustness audits.
- Prompt Sensitivity: MLLM performance is highly dependent on the specific prompt templates used.
- Label Noise: The benchmark inherits the inter-grader variability present in the original public datasets.
Future work will likely focus on expanding the "arena" to include more diverse modalities (like OCT) and investigating whether adaptation methods can be designed to improve performance without sacrificing demographic equity.
Summary updated