$$\rightleftharpoonup{xx}$$
$$\longleftharp{xx}$$,
$$\longrightharp{xx}$$,
DR is a microvascular complication of diabetes mellitus and remains one of the leading causes of avoidable visual impairment worldwide1. Chronic hyperglycemia induces damage to retinal capillaries, leading to increased vascular permeability, microaneurysm formation, hemorrhages, exudates, and in advanced stages, neovascular proliferation. Without timely intervention, these changes may progress to vitreous haemorrhage, tractional retinal detachment, and irreversible vision loss1,2. Epidemiological studies estimate that approximately 35 percent of individuals with diabetes exhibit some degree of DR, with nearly 10 percent developing vision-threatening retinopathy each year2. Global trends indicate that the prevalence of DR has risen substantially over the past two decades. A landmark meta-analysis reported an increase in DR prevalence from 13.6 percent in the early 2000s to over 20 percent by 20202. Similarly, the incidence of sight-threatening DR and diabetic macular edema has demonstrated an upward trajectory, particularly in low and middle-income regions3. Limited access to ophthalmic screening services in rural and economically disadvantaged areas contributes to delayed diagnosis and treatment5.
Early detection of DR is critical, as interventions during non-proliferative stages, such as focal or pan-retinal laser photocoagulation, intravitreal anti-vascular endothelial growth factor (anti-VEGF) therapy, and vitrectomy, can effectively prevent progression to visual loss6. Nevertheless, conventional screening programs often rely on manual grading of color fundus photographs by trained specialists, a resource-intensive process that constrains scalability and timely coverage5. Teleophthalmology initiatives have partially addressed these gaps, yet they still depend on limited expert availability and standardized imaging protocols 7. Advances in artificial intelligence (AI), particularly deep learning (DL), have introduced automated solutions capable of detecting and grading DR from fundus images with high accuracy and speed. CNNs extract hierarchical features such as microaneurysms, hemorrhages, and exudates and have achieved sensitivities and specificities exceeding 90 percent on benchmark datasets8,9. Landmark studies by Gulshan et al., and Ting et al. demonstrated that DL algorithms can match or surpass expert graders in identifying referable DR, paving the way for regulatory approvals of autonomous screening systems8,9. Subsequent work has explored transfer learning, ensemble modelling, and hybrid CNNrecurrent neural network architectures to improve generalizability across diverse imaging conditions and patient populations10,11.
Despite these promising results, several challenges hinder the clinical translation of DLbased DR screening. First, robust performance requires large, well-annotated datasets that capture variability in imaging devices, ethnicities, and disease presentations12. Annotation inconsistency among graders further complicates model training and evaluation. Second, image preprocessing steps such as contrast enhancement via CLAHE, noise reduction, and color normalization significantly affect the visibility of subtle lesions and, consequently, the reliability of feature extraction13. Third, model interpretability remains an active area of research; clinicians require transparent decisionsupport tools that highlight salient image regions driving algorithmic predictions14. Finally, regulatory frameworks and cost-effectiveness analyses are needed to guide integration of AI tools into existing screening pathways, particularly in resource-limited settings15. The present study addresses these challenges by proposing a comprehensive DL framework for early DR detection that integrates optimized preprocessing of fundus images, stateoftheart CNN architectures, and transferlearning strategies. We employ CLAHE and automated artifact removal to enhance lesion contrast, followed by fine-tuning of pretrained CNN backbones to leverage large-scale natural image features. Accordingly, this work proposes an explainable deep learning framework for early DR detection that integrates optimized fundus image preprocessing with efficient ensemble CNN architectures (Figure 1). The key contributions of this study include a systematic evaluation of preprocessing strategies, the design of a computationally efficient hybrid ensemble, and the incorporation of visual explainability to support clinical interpretation. By addressing accuracy, transparency, and deployability together, this study seeks to advance the practical applicability of AI-assisted DR screening. DR progresses through five clinically defined stages: No DR, Mild, Moderate, Severe non-proliferative DR, and Proliferative DR. Early stages are characterized by microaneurysms and mild hemorrhages, while advanced stages involve extensive vascular damage, neovascularization, and risk of vision loss. Symptoms often remain asymptomatic until late stages, making automated screening critical for early intervention.

Figure 1: Graphical representation of the work presented in the manuscript Please click here to view a larger version of this figure.
To address these challenges, this study presents a structured deep learning protocol for DR detection that integrates standardized fundus image preprocessing, optimized convolutional neural network training, and interpretable model outputs within a unified workflow. The protocol is designed to improve reproducibility and methodological transparency by explicitly detailing preprocessing strategies, model architecture, and training configurations. By emphasizing a computationally efficient lightweight ensemble and incorporating Grad-CAM-based visual explanations, the proposed method defines a practical and interpretable framework intended for consistent evaluation across heterogeneous, multicenter retinal imaging datasets.