RetinaLogos: Fine-Grained Synthesis of High-Resolution Retinal Images Through Captions

Junzhi Ning, Cheng Tang, Kaijing Zhou, Diping Song, Lihao Liu +10 more
5/19/2025
8 citations
eess.IVcs.CV

Official code: uni-medical/retina-text2cfp (24 stars, Python, last commit 2026-07-07).

Abstract

The scarcity of high-quality, labelled retinal imaging data, which presents a significant challenge in the development of machine learning models for ophthalmology, hinders progress in the field. Existing methods for synthesising Colour Fundus Photographs (CFPs) largely rely on predefined disease labels, which restricts their ability to generate images that reflect fine-grained anatomical variations, subtle disease stages, and diverse pathological features beyond coarse class categories.

Show full abstract

To overcome these challenges, we first introduce an innovative pipeline that creates a large-scale, captioned retinal dataset comprising 1.4 million entries, called RetinaLogos-1400k. Specifically, RetinaLogos-1400k uses the visual language model(VLM) to describe retinal conditions and key structures, such as optic disc configuration, vascular distribution, nerve fibre layers, and pathological features. Building on this dataset, we employ a novel three-step training framework, RetinaLogos, which enables fine-grained semantic control over retinal images and accurately captures different stages of disease progression, subtle anatomical variations, and specific lesion types. Through extensive experiments, our method demonstrates superior performance across multiple datasets, with 62.07% of text-driven synthetic CFPs indistinguishable from real ones by ophthalmologists. Moreover, the synthetic data improves accuracy by 5%-10% in diabetic retinopathy grading and glaucoma detection. Codes are available at https://github.com/uni-medical/retina-text2cfp.

View on arXivView PDF

Code Implementations(1)

[MICCAI 2025] Official implementation of RetinaLogos, a caption-guided framework for high-resolution retinal image synthesis. Enables fine-grained control over retinal anatomy, disease stages, and pathological features using a 1.4M-scale captioned fundus dataset.

245Python, ShellJun 26, 20254 months ago
conditional-generationfundus-photographygenerative-modelsmedical-image-generationmedical-imaging+7 more

Similar Papers

Cite this paper

@article{ning2025retinalogos,
  title  = {RetinaLogos: Fine-Grained Synthesis of High-Resolution Retinal Images Through Captions},
  author = {Junzhi Ning and Cheng Tang and Kaijing Zhou and Diping Song and Lihao Liu and Ming Hu and Wei Li and Huihui Xu and Yanzhou Su and Tianbin Li and Jiyao Liu and Jin Ye and Sheng Zhang and Yuanfeng Ji and Junjun He},
  year   = {2025},
  eprint = {2505.12887},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.12887v3}
}

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/2505.12887.svg)](https://codeofpaper.com/paper/2505.12887)

Discussion