A Foundation Language-Image Model of the Retina (FLAIR): Encoding Expert Knowledge in Text Supervision

Julio Silva-Rodríguez, Hadi Chakor, Riadh Kobbi, Jose Dolz, Ismail Ben Ayed
8/15/2023
cs.CV

No official code found. Best implementation: jusiro/FLAIR (187 stars, Apache-2.0, last commit 2025-11-27).

Abstract

Foundation vision-language models are currently transforming computer vision, and are on the rise in medical imaging fueled by their very promising generalization capabilities. However, the initial attempts to transfer this new paradigm to medical imaging have shown less impressive performances than those observed in other domains, due to the significant domain shift and the complex, expert domain knowledge inherent to medical-imaging tasks. Motivated by the need for domain-expert foundation models, we present FLAIR, a pre-trained vision-language model for universal retinal fundus image understanding. To this end, we compiled 38 open-access, mostly categorical fundus imaging datasets from various sources, with up to 101 different target conditions and 288,307 images. We integrate the expert's domain knowledge in the form of descriptive textual prompts, during both pre-training and zero-shot inference, enhancing the less-informative categorical supervision of the data. Such a textual expert's knowledge, which we compiled from the relevant clinical literature and community standards, describes the fine-grained features of the pathologies as well as the hierarchies and dependencies between them. We report comprehensive evaluations, which illustrate the benefit of integrating expert knowledge and the strong generalization capabilities of FLAIR under difficult scenarios with domain shifts or unseen categories. When adapted with a lightweight linear probe, FLAIR outperforms fully-trained, dataset-focused models, more so in the few-shot regimes. Interestingly, FLAIR outperforms by a wide margin larger-scale generalist image-language models and retina domain-specific self-supervised networks, which emphasizes the potential of embedding experts' domain knowledge and the limitations of generalist models in medical imaging.

View on arXivView PDF

Code Implementations(1)

jusiro/FLAIRCommunity100%
Apache-2.0

[MedIA'25] FLAIR: A Foundation LAnguage-Image model of the Retina for fundus image understanding.

18721PythonJul 17, 202310 months agoApache-2.0
foundation-modelsfundus-image-analysismedical-imagingvision-language-pretraining

Similar Papers

Cite this paper

@article{silvarodrguez2023foundation,
  title  = {A Foundation Language-Image Model of the Retina (FLAIR): Encoding Expert Knowledge in Text Supervision},
  author = {Julio Silva-Rodríguez and Hadi Chakor and Riadh Kobbi and Jose Dolz and Ismail Ben Ayed},
  year   = {2023},
  eprint = {2308.07898},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.07898v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2308.07898.svg)](https://codeofpaper.com/paper/2308.07898)

Discussion