Lesion detection and Grading of Diabetic Retinopathy via Two-stages Deep\n Convolutional Neural Networks

Yehui Yang, Tao Li, Wensi Li, Haishan Wu, Wei Fan, Wensheng Zhang · DOI

Abstract

We propose an automatic diabetic retinopathy (DR) analysis algorithm based on two-stage deep convolutional neural networks (DCNN). Compared to existing DCNN-based DR detection methods, the proposed algorithm offers two primary advantages: (1) it identifies the location and type of lesions in fundus images while simultaneously providing severity grades, and (2) it introduces an imbalanced weighting map that directs the model's attention toward lesion patches for grading. By integrating local and global networks, the system learns more complete features for DR analysis. Experimental results on a re-annotated subset of the Kaggle dataset show that the local lesion detection network achieves performance comparable to human observers, and the weighting scheme significantly improves grading accuracy.

Introduction

Diabetic Retinopathy (DR) is a leading cause of blindness worldwide. While deep learning has shown significant promise in grading DR severity, two major hurdles remain for clinical adoption. First is the "Black Box" problem: most models provide a severity grade without pointing to the specific hemorrhages or exudates that justify the conclusion, leading to a lack of transparency. Second is the scale mismatch: fundus images are high-resolution, yet the earliest signs of DR—such as microaneurysms (MAs)—are incredibly tiny. In standard end-to-end networks, these critical features are often lost or blurred during the downsampling process.

Methodology: The Two-Stage Pipeline

To address these challenges, the researchers developed a "local-to-global" framework that ensures tiny clinical features are preserved and prioritized.

The main workflow of the proposed algorithm, transitioning from local lesion detection to global DR grading.

Stage 1: Local Lesion Detection

The input image is first divided into overlapping patches. A "Local Network" (DCNN) classifies these patches into four categories: normal, microaneurysm, hemorrhage, or exudate. The use of overlapping grids is a critical design choice; it prevents small lesions from being bisected by grid lines, which would otherwise lead to detection failures.

Stage 2: Global DR Grading and the Weighting Innovation

The core innovation of this paper is the Imbalanced Weighting Map. Instead of treating all parts of the eye equally, the output of the Local Network is used to create a map that highlights areas where lesions were detected. This map is multiplied by the original image to create a "Weighted Lesion Map."

Detailed view of the weighting mechanism: the label map and probabilistic map are combined to generate a weighted lesion map for the global network.

This weighted map is then fed into a deeper "Global Network." By using this scheme, the Global Network is mathematically forced to pay more "attention" to pathological regions when deciding the final severity grade (Stages 0-3 of Non-proliferative DR).

Datasets and Re-annotation

The study utilized the Kaggle Diabetic Retinopathy Dataset. Recognizing that the original labels were often noisy, the authors had licensed ophthalmologists re-annotate a high-quality subset. This included 23,595 images for grading and 12,206 specific lesion patches for detection, providing a robust ground truth for training and validation.

Key Results

The impact of the weighting map was substantial. The Global Network utilizing the weighting map achieved an AUC of 0.9590, whereas the same network operating as a standard end-to-end model (without weighting) only achieved an AUC of 0.7986.

For lesion detection, the Local Network achieved an AUC of 0.9687. While the model showed high recall for larger lesions like exudates (90.79%) and hemorrhages (84.26%), microaneurysms remained the most challenging to detect (70.29%) due to their extreme subtlety. Overall, the system provides a level of clinical interpretability by showing clinicians exactly where it "saw" the disease.

Conclusion and Future Work

This two-stage approach successfully bridges the gap between local clinical features and global disease context. However, the study primarily focused on Non-proliferative DR (NPDR). Future work is required to address Proliferative DR (PDR) features like neovascularization, as well as other pathologies like venous beading or Diabetic Macular Edema (DME). Additionally, the method's reliance on granular, patch-level annotations presents a higher data acquisition cost compared to simpler image-level labeling approaches.

Summary updated

BibTeX
@inproceedings{yang2017lesion,
  author = {Yehui Yang and Tao Li and Wensi Li and Haishan Wu and Wei Fan and Wensheng Zhang},
  title = {{Lesion detection and Grading of Diabetic Retinopathy via Two-stages Deep\textbackslash\{\}n Convolutional Neural Networks}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2017},
  url = {https://openreview.net/forum?id=g2xlJy7vT4},
}
Figure