Managing Diabetic Retinopathy with Deep Learning: A Data Centric Overview
Authors: Shramana Dey, Zahir Khan, T. A. PramodKumar, B. Uma Shankar, Ashis K. Dhara, Ramachandran Rajalakshmi, Rajiv Raman, Sushmita Mitra
Organizations: Indian Statistical Institute, Kolkata, West Bengal, India · Dr. Mohan’s Diabetes Specialties Centre, Madras Diabetes Research Foundation, Chennai, Tamil Nadu, India · Department of Electrical Engineering, National Institute of Technology, Durgapur, West Bengal, India · Department of Vitreo-Retina, Vision Research Foundation, Sankara Nethralaya, Chennai, Tamil Nadu, India
Diabetic Retinopathy (DR) is a serious microvascular complication of diabetes, and one of the leading causes of vision loss worldwide. Although automated detection and grading, with Deep Learning (DL), can reduce the burden on ophthalmologists, it is constrained by the limited availability of high-quality datasets. Existing repositories often remain geographically narrow, contain limited samples, and exhibit inconsistent annotations or variable image quality; thereby, restricting their clinical reliability. This paper presents a comprehensive review and comparative analysis of fundus image datasets used in the management of DR. The study evaluates their usability across key tasks, including binary classification, severity grading, lesion localization, and multi-disease screening. It also categorizes the datasets by size, accessibility, and annotation type (such as image-level, lesion-level, and multi-disease). Finally, a recently published dataset is presented as a case study to illustrate broader challenges in dataset curation and usage. The review consolidates current knowledge while highlighting persistent gaps such as the lack of standardized lesion-level annotations and longitudinal data. It also outlines recommendations for future dataset development to support clinically reliable and explainable solutions in DR screening.
Figures & tables
Figure 1: Sample fundus images depicting the eye pathologies in lesion formation for DR, like (a) microaneurysms (MA), hemorrhages (HE), hard exudates (HX), soft exudates (SX), intraretinal microvascular abnormalities (IRMA), among others, and (b) neovascularization (NV).
Figure 2: Representative fundus images, illustrating the severity grades of DR. (a) Healthy case, and the (b)–(e) DR-affected cases.
Figure 3: Key challenges in developing high-quality, robust and standardized datasets for DR screening.
Characteristic
Suitability for DL
Clinical Implication
Large and Diverse
- Enhances generalization across populations and imaging devices.
- Enables robust performance across diverse populations and settings.
Well-Annotated
- Enables effective supervised training.
- Supports accurate diagnosis and lesion-level decision-making.
Standardized Protocols
- Provides consistent ground truth and fair benchmarking.
- Supports multi-modal models; - Disentangles DR-specific effects from other factors.
- Adds context for prognosis and risk assessment.
Longitudinal Data
- Enables progression modeling and predictive analytics.
- Allows monitoring of disease evolution; - Supports prediction of treatment response and disease control.
Table 1: Key characteristics of DR datasets and their impact.
Figure 4: Chronological overview of major DR fundus image datasets (from 2003 to 2025), showing year of release, dataset type (image-level vs. lesion annotation), and availability.
Dataset
Origin
# Samples
# Patients
Resolution
DR Grade
Lesion Types; Annotation (Coarse/ Fine)
#Annotators
Comment
Moorfields 005 [ 43 ]
UK
5,537,798
45,824
Unknown
5
NA
-
Longitudinal data, Available meta data, (Reported as of July 2024)
DIARETDB0 [ 44 ]
Finland
130
-
1500 × 1152
5
MA, HE, HX, SX; Coarse
4
Lesions are marked with circle, ellipse, oval shapes or rarely polygon
DIARETDB1 [ 45 ]
Finland
89
-
1500 × 1152
5
MA, HE, HX, SX; Coarse
4
Lesions are marked with circle, ellipse, oval shapes or rarely polygon
Messidor [ 23 ]
France
1,200
-
1440 × 960, 2241 × 1488, 2304 × 1536
4
NA
-
Contains grade risk of DME (0, 1, 2)
Retinopathy Online Challenge (ROC) [ 46 ]
USA
100
-
768 × 576, 1058 × 1061, 1389 × 1383
-
MA
4
Annotations include MA only, The center location of MA are marked, Lesion structurally similar to MA also marked
E-ophtha [ 42 ]
France
EX: 82 MA: 351
-
1440 × 960 to 2544 × 1696
NA
MA, HX, SX; Fine
-
E-ophtha is divided into two set: E-ophtha-MA, E-ophtha-EX, E-ophtha-MA contains MA annotation, E-ophtha-EX contains exudate (EX) annotation, Multiple images per patient is available, Overlap of samples between E-ophtha-MA and E-ophtha-EX is unknown
Table 2: Details of DR datasets developed during 2003 - 2014.
Dataset
Origin
# Samples
# Patients
Resolution
DR Grade
Lesion Types; Annotation (Coarse/ Fine)
Annotators
Comment
EyePACS [ 22 ]
USA
88,702
-
433 × 289 to 5184 × 3456
5
NA
-
Both left and right eye images of each patient provided
IDRiD [ 25 ]
India
516
-
4288 × 2848
5
MA, HE, HX, SX; Fine
-
81 images have fine lesion annotation, 516 images have classification labels with coarse annotation for fovea and optic disc, Contains DME grade (0, 1)
APTOS [ 27 ]
India
5,590
-
474 × 358 to 4288 × 2848
5
NA
-
Macula centered images, Only 3,662 samples are publicly available
DDR [ 24 ]
China
13,673
9,598
702 × 706 to 5184 × 3456
5
MA, HE, HX, SX; Coarse
7
Very high variability in image resolution
ODIR [ 48 ]
China
10,000
5,000
2240 × 1488
2
NA
-
Each image categorized to 8 ocular diseases classes: Normal, DR, Glaucoma, Age-related macular degeneration, Cataract, Hyper-tension, Pathological Myopia, Others, Meta-data about gender, age, etc., Images of left and right eye for each patient
DeepDRiD [ 49 ]
China
2,128
756
1956 × 1934, 3900 × 3072
5
NA
-
Dual-view images of each eye - optic disc- and fovea-centered, Each image has grades for quality, DR has grades from 0 to 5; 0 - Normal, 1 - Mild, 2 - Moderate, 3 - Severe, 4 - PDR, 5 - Ungradable, Patient level DR grade, Only 1,702 samples are publicly available, Other Meta data
Table 3: Details of DR datasets developed during 2015 - 2025.
Figure 5: Data distribution in SaNMoD, in terms of (a) the DR severity classes (grades), and (b) samples in the different categories.
Model
Acc. ( ↑ )
B. Acc. ( ↑ )
F1-score ( ↑ )
AUC-PR ( ↑ )
No DR
DR
VGG16
0.9138
0.9117
0.9229
0.9023
0.8626
Densenet121
0.9150
0.9104
0.9255
0.9011
0.8722
InceptionNetV3
0.9138
0.9099
0.9240
0.9004
0.8682
EfficientNetB2
0.9185
0.9128
0.9292
0.9040
0.8820
ResNet50
0.9091
0.9023
0.9217
0.8917
0.8703
Table 4: Comparative performance in SaNMoD data, for binary classification of DR.
Model
Acc. ( ↑ )
B. Acc. ( ↑ )
F1-score ( ↑ )
AUC-PR ( ↑ )
Non RDR
RDR
VGG16
0.7513
0.7550
0.6412
0.8097
0.8403
Densenet121
0.7487
0.7424
0.6275
0.8104
0.8319
InceptionNetV3
0.7566
0.7614
0.6489
0.8138
0.8443
EfficientNetB2
0.7646
0.7536
0.6426
0.8245
0.8380
ResNet50
0.7328
0.7446
0.6273
0.7918
0.8349
Table 5: Comparative performance in SaNMoD data, for binary classification of RDR.
Model
Acc. ( ↑ )
B. Acc. ( ↑ )
F1-score ( ↑ )
AUC-PR ( ↑ )
No DME
DME
VGG16
0.8016
0.7805
0.8421
0.7331
0.6878
Densenet121
0.7751
0.7597
0.8156
0.7119
0.6464
InceptionNetV3
0.7884
0.7729
0.8268
0.7279
0.6646
EfficientNetB2
0.7804
0.7652
0.8200
0.7186
0.6535
ResNet50
0.7804
0.7615
0.8230
0.7108
0.6553
Table 6: Comparative performance in SaNMoD data, for binary classification of DME.
Models
Acc. (↑)
B. Acc. (↑)
F1-score (↑)
AUC-PR (↑)
No-DR
Mild
Moderate
Severe
PDR
VGG16
0.7769
0.5983
0.9253
0.4493
0.6772
0.6122
0.3377
0.4459
DenseNet121
0.6128
0.4005
0.7939
0.2105
0.5442
0.2712
0.2041
0.3458
InceptionV3
0.7863
0.6506
0.9151
0.4234
0.7206
0.4842
0.6569
0.4856
EfficientNet B2
0.7898
0.5895
0.9160
0.3913
0.7550
0.6525
0.2857
0.4569
ResNet50
0.7898
0.6759
0.9226
0.5207
0.7021
0.4651
0.6497
0.4977
Table 7: Comparative performance in SaNMoD data, for multi-class grading of the severity of DR
Figure 6: Representative Grad-CAM visualization, highlighting lesion-specific activation for (a) DR, (b) RDR, and (c) DME binary classification tasks.
Medical image benchmarks compare AI methods on curated clinical images, tasks, and evaluation protocols to measure accuracy, robustness, and clinical usefulness.
Diabetic retinopathy (DR) is a leading cause of vision impairment worldwide, and automated grading systems play a crucial role in large-scale screening programs. However, deep learning models often exhibit degraded performance when deployed across datasets acquired under different imaging conditions. This study presents a robust dual-resolution deep learning framework for DR grading that integrates attention-based feature fusion with ordinal regression to improve cross-dataset generalization. The proposed method employs two parallel EfficientNet backbones operating at different spatial resolutions to capture complementary retinal features. A learnable attention mechanism adaptively fuses multi-resolution representations, while an ordinal regression formulation based on the cumulative link model (CORAL) explicitly accounts for the ordered nature of DR severity levels. To mitigate domain discrepancies between datasets, a preprocessing strategy combining circular cropping, contrast enhancement, and histogram matching is applied. The model was trained on the APTOS 2019 dataset and evaluated on both an internal validation split and an external Messidor-2 test set. Experimental results demonstrate strong grading performance, achieving a quadratic weighted kappa (QWK) of 0.88 on the APTOS validation set and 0.68 on the unseen Messidor-2 dataset, indicating improved robustness for cross-dataset DR grading applications.
Afshan Hashmi
Tuwaiq Academy, Tuwaiq Research and Development Centre, Riyadh, Saudi Arabia
Diabetic retinopathy (DR) is a leading cause of preventable blindness, and automated fundus image grading can play an important role in large-scale screening. In this work, we investigate three CLIP-based approaches for five-class DR severity grading: (1) a zero-shot baseline using prompt engineering, (2) a hybrid FCN-CLIP model augmented with CBAM attention, and (3) a ranking-aware prompting model that encodes the ordinal structure of DR progression. We train and evaluate on a combined dataset of APTOS 2019 and Messidor-2 (n=5,406), addressing class imbalance through resampling and class-specific optimal thresholding. Our experiments show that the ranking-aware model achieves the highest overall accuracy (93.42%, AUROC 0.9845) and strong recall on clinically critical severe cases, while the hybrid FCN-CLIP model (92.49%, AUROC 0.99) excels at detecting proliferative DR. Both substantially outperform the zero-shot baseline (55.17%, AUROC 0.75). We analyze the complementary strengths of each approach and discuss their practical implications for screening contexts.
Sungjun Cho
Hong Kong University of Science and Technology (HKUST), Hong Kong, China
Diabetic Retinopathy (DR) is a major cause of vision impairment worldwide. However, manual diagnosis is often time-consuming and prone to errors, leading to delays in screening. This paper presents a lightweight automated deep learning framework for efficient assessment of DR severity from digital fundus images. We use a MobileNetV3 architecture with a Consistent Rank Logits (CORAL) head to model the ordered progression of disease while maintaining computational efficiency for resource-constrained environments. The model is trained and validated on a combined dataset of APTOS 2019 and IDRiD images using a preprocessing pipeline including circular cropping and illumination normalization. Extensive experiments including 3-fold cross-validation and ablation studies demonstrate strong performance. The model achieves a Quadratic Weighted Kappa (QWK) score of 0.9019 and an accuracy of 80.03 percent. Additionally, we address real-world deployment challenges through model calibration to reduce overconfidence and optimization for mobile devices. The proposed system provides a scalable and practical tool for early-stage diabetic retinopathy screening.
Aadi Joshi, Manav S. Sharma, Vijay Uttam Rathod +3
Vishwakarma Institute Of Technology, Computer Engineering Department, Pune , India · Vishwakarma Institute Of Technology, Computer Science and Engineering (AI & ML ) Department, Pune , India