Abstract
The acquisition of large-scale, annotated fundus images is a significant bottleneck in developing robust AI models for ophthalmology due to privacy regulations and the rarity of certain pathologies. We present FundusGAN, a hierarchical feature-aware generative framework that explicitly models the multi-scale nature of retinal anatomy—from global landmarks like the optic disc to fine-grained lesions. By integrating a Feature Pyramid Network (FPN) encoder with a modified StyleGAN generator, FundusGAN achieves superior image fidelity. Our experiments show that augmenting training sets with FundusGAN-generated images improves disease classification accuracy by up to 6.5%, demonstrating its utility as a powerful data augmentation tool.
Introduction
The "foundation model" era in ophthalmology requires vast amounts of high-quality data. However, fundus images are structurally complex, containing a hierarchy of features: large-scale landmarks (optic disc, macula), mid-scale vascular networks, and tiny, fine-grained pathologies (microaneurysms, hemorrhages). Standard Generative Adversarial Networks (GANs) often struggle to maintain global anatomical coherence while simultaneously rendering subtle, medically significant details, often producing unrealistic textures or "hallucinated" artifacts. FundusGAN addresses these challenges by treating medical images not as monolithic blocks of pixels, but as hierarchical structures.
Methods
FundusGAN introduces three primary innovations to the standard GAN architecture to ensure structural and pathological fidelity:
- Hierarchical Encoder with FPN: Utilizing a ResNet backbone with a Feature Pyramid Network (FPN), the model captures low-level global information, mid-level vascular morphology, and high-level fine-grained lesions separately.
- Latent Content Mapping: The encoder extracts 18 distinct latent vectors ($w^+$) from different levels of the feature pyramid, providing the generator with specific instructions for different structural scales.
- Optimized StyleGAN Generator: The architecture is modified with strategic upsampling (removing operations from the 8th layer onward to stabilize key regions) and dilated convolutions to integrate large-scale contextual information without increasing parameter count.
The framework is trained using a multi-part loss function comprising a Regularization Loss for latent stability and a Reconstruction Loss combining pixel-wise $L_2$ distance and perceptual (LPIPS) similarity.
Experimental Results
The model was evaluated on four major benchmarks: DDR (diabetic retinopathy grading), DRIVE (vessel segmentation), IDRiD (lesion localization), and ODIR (multi-label classification).
FundusGAN significantly outperformed state-of-the-art methods across multiple metrics. On the DDR dataset, it achieved an SSIM of 0.8863 and an FID of 54.2, surpassing previous models like Guibas et al. and Costa et al. On the DRIVE dataset, it achieved a remarkably low FID of 32.45, indicating superior preservation of vascular structures compared to StyleGAN2 (FID 122.8).
Crucially, in downstream disease classification tests on the ODIR dataset, adding 5,000 FundusGAN-generated images to the training set boosted ResNet50 accuracy from 48.26% to 54.75%, a 6.49% absolute improvement. This demonstrates that synthetic data can provide a tangible performance floor-raising effect for diagnostic AI.
Conclusion and Future Work
FundusGAN demonstrates that hierarchical feature modeling is essential for high-fidelity medical image generation. While the results are promising, some limitations remain, such as slight blurriness at lesion boundaries and occasional vascular discontinuities. Future work will focus on incorporating vascular topology priors to ensure blood vessel networks follow rigid biological branching rules, further enhancing structural coherence and medical utility.
Summary updated