DR-GAN: Conditional Generative Adversarial Network for Fine-Grained Lesion Synthesis on Diabetic Retinopathy Images

Yi Zhou, Boyang Wang, Xiaodong He, Shanshan Cui, Ling Shao · DOI

Abstract

Diabetic Retinopathy (DR) is a major cause of vision loss, yet automated diagnostic models often suffer from severe data imbalance, particularly for advanced disease stages. This paper introduces DR-GAN, a conditional generative adversarial network capable of synthesizing high-resolution (1280×1280) fundus images with controllable severity levels and precise lesion placement. By leveraging a two-stage generator, adaptive grading manipulation, and multi-scale attention, DR-GAN produces diverse, realistic images that significantly improve the performance of DR grading classifiers when used as data augmentation.

Introduction

Automated screening for Diabetic Retinopathy (DR) requires large-scale, balanced datasets to train robust deep learning models. However, clinical datasets like EyePACS are heavily skewed toward "normal" cases, with severe stages (Levels 3 and 4) representing less than 5% of the data. Traditional augmentation techniques fail to capture the complex morphological diversity of lesions such as hemorrhages and exudates. DR-GAN addresses this by providing a controllable "retina generator" that synthesizes high-fidelity images tailored to specific severity grades and vascular structures.

Methodology

The DR-GAN architecture is designed to handle the challenges of high-resolution medical image synthesis through several key innovations:

  1. Two-Stage Retina Generator: To maintain stability at high resolutions, the model employs a progressive approach. A base generator ($G_m$) produces an initial 640×640 image, which is subsequently refined by a second-stage generator ($G_l$) to reach the final 1280×1280 resolution.
  2. Adaptive Grading Manipulation (AGM): Instead of discrete labels, the model learns a continuous "latent grading space" from real fundus images. Sampling from this space allows for fine-grained control over the synthesized severity level.
  3. Multi-scale Spatial and Channel Attention (SCA): Given that critical DR lesions (e.g., microaneurysms) are often minute, the SCA module enables the generator to focus on fine details by modeling dependencies across spatial locations and feature channels.
  4. Multi-scale Discriminators: Three discriminators operate at varying resolutions to ensure the model captures both global anatomical structures and local lesion textures.
Figure 1: Overview of the DR-GAN architecture, including the two-stage generator, adaptive grading manipulation, and multi-scale discriminators.

The generator is conditioned on structural masks (vessels, optic disk) and lesion masks, allowing for the precise "painting" of pathology onto specific retinal backgrounds.

Results

The model was trained and evaluated using the EyePACS, FGADR, DRIVE, and IDRID datasets.

High Fidelity Synthesis: In blind evaluations by professional ophthalmologists, DR-GAN images achieved a "realness" score of 7.97/10, closely approaching the 8.89/10 score of real images. The high resolution (1280×1280) represents a significant advancement over previous medical GANs typically limited to 512×512.

Grading Performance: The primary utility of DR-GAN is as a data augmentation tool. By synthesizing 10,000 images per DR grade to create a balanced training set, the accuracy of a standard ResNet-50 classifier on the EyePACS test set improved from 86.24% to 88.06%. Gains were most pronounced in high-severity classes where real data is scarcest.

Figure 5: Synthesized fundus images across DR grades 0 to 4, demonstrating the model's ability to control lesion density and severity while maintaining realistic global structure.

Conclusion

DR-GAN demonstrates that controllable synthesis is a powerful method for mitigating data imbalance in medical imaging. While the model shows high fidelity, future work will focus on improving fovea realism and incorporating masks for rarer advanced features like neovascularization. By mapping severity to a latent space rather than hard labels, DR-GAN captures the natural variance of diabetic retinopathy, providing a robust pipeline for generating high-quality synthetic medical data.

Summary updated

BibTeX
@article{zhou2019dr,
  author = {Yi Zhou and Boyang Wang and Xiaodong He and Shanshan Cui and Ling Shao},
  title = {{DR-GAN: Conditional Generative Adversarial Network for Fine-Grained Lesion Synthesis on Diabetic Retinopathy Images}},
  journal = {IEEE J. Biomed. Health Informatics},
  year = {2019},
  doi = {10.1109/jbhi.2020.3045475},
}
Figure