An Explainable AI-Based Predictive Modeling Framework for Early Detection of Diabetic Retinopathy

Authors

  • Deepak Chandra Uprety Department of Artificial Intelligence and Machine Learning, Roorkee COER University, Vardhmanpuram, Roorkee, Uttrakhand, India.
  • Jyotirmay Patel Department of Computer Applications, Shri Ram Murti Smarak College of Engineering, Technology & Research, Bareilly, Uttar Pradesh, India.
  • Manju Ramrao Bhosle Department of Electronics and Communication Engineering, Government Engineering College, Bidar, Karnataka, India.
  • Navpreet Kaur Department of Artificial intelligence and Machine Learning, School of Computer Applications, Lovely Professional University, Phagwara, Punjab, India.
  • Suresh Kumar Department of Computer Science & Engineering, M.M. Engineering College, Maharishi Markandeshwar (Deemed to be University), Mullana, Ambala, Haryana, India.
  • Jamal Akhtar Khan School of Computer Applications, Lovely Professional University, Jalandhar, Punjab, India.

DOI:

https://doi.org/10.70917/ijcisim-2026-3980

Keywords:

diabetic retinopathy, explainable artificial intelligence, deep learning, Grad-CAM++, SHAP, fundus photography, EfficientNetV2, Swin Transformer, clinical decision support, teleophthalmology

Abstract

Diabetic retinopathy (DR) is the leading preventable cause of blindness in working-age adults, yet its asymptomatic early stages result in widespread diagnostic delay in resource-constrained healthcare settings. This study presents an Explainable Artificial Intelligence (XAI) framework designated RetineXAI that integrates a hybrid deep learning architecture with model-agnostic and model-specific interpretability modules to enable clinically transparent, automated five-stage DR grading from fundus photographs. RetineXAI combines a dual-branch convolutional neural network (EfficientNetV2-L encoder fused with a Swin Transformer branch) with an ensemble decision layer and post-hoc explainability via Gradient-weighted Class Activation Mapping (Grad-CAM++), SHapley Additive exPlanations (SHAP), and Local Interpretable Model-agnostic Explanations (LIME). The model was trained on 88,702 fundus images from four benchmark datasets (EyePACS, APTOS-2019, Messidor-2, IDRiD) after a rigorous multi-stage preprocessing pipeline including adaptive histogram equalization (CLAHE), optic-disc normalisation, and lesion-aware augmentation. On held-out external validation, RetineXAI achieved an overall accuracy of 96.14%, macro-averaged AUC-ROC of 0.9871, sensitivity of 95.82%, specificity of 97.43%, and F1-score of 0.9601 across five DR severity grades. For clinically critical early-stage (mild NPDR) detection, sensitivity reached 94.37% with AUC 0.9812, outperforming six state-of-the-art baselines. Grad-CAM++ saliency maps localised pathology-consistent lesion signatures (microaneurysms, hard exudates, neovascularisation) with a mean Intersection-over-Union (mIoU) of 0.831 against expert-annotated lesion masks. Ophthalmologist-in-the-loop evaluation with 12 retinal specialists confirmed that XAI-augmented clinical decision support improved diagnostic accuracy by 11.4 percentage points and reduced mean grading time from 6.3 to 3.1 minutes per image. RetineXAI demonstrates that high-accuracy, interpretable AI can be deployed as a first-line screening tool in teleophthalmology and community screening programmes.

Downloads

Download data is not yet available.

Downloads

Published

2026-07-29

How to Cite

Deepak Chandra Uprety, Jyotirmay Patel, Manju Ramrao Bhosle, Navpreet Kaur, Suresh Kumar, & Jamal Akhtar Khan. (2026). An Explainable AI-Based Predictive Modeling Framework for Early Detection of Diabetic Retinopathy. International Journal of Computer Information Systems and Industrial Management Applications, 18(12s), 1074–1082. https://doi.org/10.70917/ijcisim-2026-3980

Issue

Section

Original Articles