FFA Sora, video generation as fundus fluorescein angiography simulator

Xinyuan Wu, Lili Wang, Ruoyu Chen, Bowen Liu, Weiyi Zhang, Xi Yang, Yifan Feng, Mingguang He, Danli ShiarXiv 2024 · DOI

Abstract

Fundus Fluorescein Angiography (FFA) is a critical diagnostic procedure in ophthalmology, yet its mastery remains a challenge for junior clinicians, and the development of AI-driven diagnostic tools is often hampered by strict data privacy regulations. This paper introduces FFA Sora, a specialized text-to-video diffusion model designed to synthesize realistic FFA videos from clinical reports. By leveraging a Wavelet-Flow Variational Autoencoder (WF-VAE) and a Diffusion Transformer (DiT) architecture, FFA Sora generates high-fidelity, temporally consistent medical videos that preserve diagnostic integrity while ensuring patient privacy. Our results demonstrate that the model produces clinically indistinguishable simulations, offering a novel pathway for medical education and privacy-preserving data synthesis.

Introduction

Fundus Fluorescein Angiography (FFA) is a dynamic imaging technique used to visualize retinal circulation by injecting a fluorescent dye into the bloodstream. It is indispensable for diagnosing retinal vascular diseases such as diabetic retinopathy and retinal vein occlusions. However, the procedure is complex to interpret, requiring significant clinical experience.

The advancement of medical AI in this field faces a "data paradox": while large-scale, diverse datasets are required to train robust diagnostic models, the sensitive nature of patient data and stringent privacy laws make data sharing difficult. Furthermore, existing generative models typically focus on static fundus images, failing to capture the temporal "flow" of dye—the very element that is diagnostically critical in an FFA exam. FFA Sora addresses these challenges by simulating the entire angiographic sequence from text-based clinical descriptions.

Methodology

Wavelet-Flow Variational Autoencoder (WF-VAE)

To capture the intricate details of retinal vasculature and the fluid dynamics of dye progression, the researchers developed the Wavelet-Flow VAE. Traditional VAEs often struggle with high-frequency details, which in medical imaging often represent critical signals like microaneurysms. The WF-VAE utilizes multi-level wavelet transforms to decompose video signals into different frequency sub-bands. This allows the model to prioritize fine-grained clinical features while efficiently managing the overall energy flow of the video. Additionally, standard 2D convolutions were replaced with CausalConv3D layers to ensure the model maintains a coherent temporal sequence across frames.

Diffusion Transformer (DiT)

Moving beyond the traditional U-Net backbone common in many diffusion models, FFA Sora employs a Diffusion Transformer (DiT). This architecture provides superior scalability and utilizes cross-modal attention mechanisms. These mechanisms ensure that the generated video frames align precisely with the specific medical pathologies and temporal descriptions provided in the input text prompts.

Data Processing

The model was trained on a retrospective dataset from a tertiary hospital in China, comprising 3,625 FFA videos and 1,814 clinical reports. The dataset includes various pathologies, such as Branch Retinal Vein Occlusion (BRVO), Central Serous Chorioretinopathy (CSC), and Diabetic Retinopathy (DR). To ensure consistency, all training videos were standardized to a 21-frame sequence using linear interpolation.

Results and Discussion

Clinical Realism and Objective Quality

FFA Sora was evaluated using both AI-driven metrics and expert human assessment. The model achieved a Fréchet Video Distance (FVD) of 329.78 and a VQAScore of 0.61, indicating strong alignment between the text prompts and the visual output. In a subjective review, three ophthalmologists rated the generated videos on a scale of 1 (best) to 5 (worst). The average score of 1.57 suggests that the synthesized videos are highly realistic and clinically plausible.

Privacy-Preserving Data Synthesis

A key innovation of this work is the use of image retrieval as a metric for privacy. By calculating the Recall@K score, the authors measured whether the model was merely memorizing training data. The mean Recall@K was found to be only 0.073, confirming that the generated videos are distinct from the original training set. This suggests that FFA Sora can "de-identify" data by generating synthetic patients that look real but do not correspond to any specific individual in the source database.

Temporal Diagnostic Integrity

Because FFA is a time-sensitive study (transitioning from early-phase arterial filling to late-phase leakage), temporal consistency is paramount. FFA Sora successfully simulates the progression of disease over time, allowing it to serve as a high-fidelity simulator for medical training without the need for live patient procedures.

Conclusion and Future Work

FFA Sora represents a significant step forward in medical video generation. By combining wavelet-based frequency decomposition with transformer-based diffusion, the model overcomes the limitations of static image generation and provides a solution to the medical data sharing bottleneck.

Future research will focus on broader clinical validation to determine the model's effectiveness in educational curricula. Additionally, the researchers aim to integrate multimodal data—such as Optical Coherence Tomography (OCT) and standard color fundus photography—to create a more comprehensive diagnostic simulation environment. Expanding the training data to include more ethnically diverse populations will also be critical for ensuring the model's global applicability.

Summary updated

BibTeX
@misc{wu2024ffa,
  author = {Xinyuan Wu and Lili Wang and Ruoyu Chen and Bowen Liu and Weiyi Zhang and Xi Yang and Yifan Feng and Mingguang He and Danli Shi},
  title = {{FFA Sora, video generation as fundus fluorescein angiography simulator}},
  year = {2024},
  eprint = {2412.17346},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.17346},
}
Figure