FOCUS: Benchmarking Retinal Model Generalization from Foundation Vision Encoders to Multimodal LLMs

David Restrepo, Chenwei Wu, Luis Filipe Nakayama, Miguel L. Martins, Stergios Christodoulidis, Maria Vakalopoulou, Enzo FerrantearXiv 2026

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:

  1. Vision Encoders (VM): Evaluated via frozen-feature linear probing (e.g., DINOv2, RETFound).
  2. Vision-Language Models (VLM): Evaluated via zero-shot image-text matching and linear probing (e.g., CLIP, FLAIR).
  3. 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).

Figure 2: Benchmark pipeline. FOCUS connects dataset/task harmonization, model-interface- specific inference, multidimensional evaluation, LoRA adaptation tests, and arena-style reporting. The intent is to measure whether fundus-specific adaptation generalizes rather than only improving the dataset used for training.

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.
Figure 1: Multimetric arena view. Spider plots summarize the top 6 VM, VLM-encoders, and MLLM configurations across AUROC, AUPRC, accuracy, calibration, fairness diagnostics, and image-quality robustness. Colors distinguish models; LP = Linear probing, ZS = Zero-shot, ZS Prompt = Zero-shot prompting. This view makes visible that strong ranking performance need not imply strong calibration or balanced subgroup/quality behavior.

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).
Figure 3: Performance vs. reliability and fairness, by model family. Each point is one (model, method) configuration; rows index axis (top: age equalised-odds gap; bottom: ECE), columns index family (CV / VLM / MLLM). Marker colour encodes model type, marker shape encodes adaptation method (circle = linear probe, triangle = zero-shot, square = prompted). Both axes are inverted so that “up” is desirable on every panel. The dotted line in each panel is a least-squares fit on that panel’s points; red denotes a positive AUROC–gap slope (a ranking–axis trade-off) and green a negative slope (aligned). Pearson’s r is reported in each panel (*p < 0.05, **p < 0.01, ***p < 0.001).

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

BibTeX
@misc{restrepo2026focus,
  author = {David Restrepo and Chenwei Wu and Luis Filipe Nakayama and Miguel L. Martins and Stergios Christodoulidis and Maria Vakalopoulou and Enzo Ferrante},
  title = {{FOCUS: Benchmarking Retinal Model Generalization from Foundation Vision Encoders to Multimodal LLMs}},
  year = {2026},
  eprint = {2609.33158},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.33158},
}
Figure