Explainability of Diabetic Retinopathy Detection and Classification with Deep Learning Hybrid Architecture: AlterNet-K and ResNet-101 †
Abstract
1. Introduction
2. Related Works
3. Methodology
- A.
- Dataset
- B.
- Proposed Model
- A.
- Dataset:
- (a)
- Grade 0 (Healthy eye)—It represents no abnormalities in the eyes, i.e., no symptoms of diabetic retinopathy shown in the fundus images.
- (b)
- Grade 1 (Mild DR)—This grading represents the mild stage of DR, mostly occurring in type 2 diabetic patients at initial stages; however, there is no vision loss occurring at this stage. The microaneurysms may be found in this stage.
- (c)
- Grade 2 (Moderate DR)—This grading stage represents the starting stage of DR when treatment is important, and the disease can be reversible if detected in a timely manner.
- (d)
- Grade 3 (Severe DR)—In this stage, patients mostly experience complications in their vision. The new vessel formation at the retinal vasculature covers the retina. If treatment of DR has not started, then loss of vision is highly expected.
- (e)
- Grade 4 (PDR)—This level is the most advanced and worst stage of DR, when the entire retina is covered by new vessels and hemorrhage spots. In a few cases, the macula of the retina becomes affected, which causes Maculopathy.Tariq, Maria et al. [21] discussed the stages of DR signs for disease classification. The grading of retinal images is decided based on lesion shapes and symptoms of the tiny spots around the retina. The worst case of PDR is referred to as diabetic maculopathy, in which the macula (the central vision point of the eye) is damaged completely [22].
- B.
- Proposed Model AlterNet—K
4. Results and Descriptions
- A.
- Predicted Class (what the model decided)
- B.
- True Class (the correct label from your dataset)
5. Conclusions and Future Directions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Ohiagu, F.O.; Chikezie, P.C.; Chikezie, C.M. Pathophysiology of diabetes mellitus complications: Metabolic events and control. Biomed. Res. Ther. 2021, 8, 4243–4257. [Google Scholar] [CrossRef]
- Baynes, H.W. Classification, pathophysiology, diagnosis and management of diabetes mellitus. J. Diabetes Metab. 2015, 6, 1–9. [Google Scholar]
- Banday, M.Z.; Sameer, A.S.; Nissar, S. Pathophysiology of diabetes: An overview. Avicenna J. Med. 2020, 10, 174–188. [Google Scholar] [CrossRef] [PubMed]
- Wang, W.; Lo, A.C.Y. Diabetic retinopathy: Pathophysiology and treatments. Int. J. Mol. Sci. 2018, 19, 1816. [Google Scholar] [CrossRef] [PubMed]
- Kusuhara, S.; Fukushima, Y.; Ogura, S.; Inoue, N.; Uemura, A. Pathophysiology of diabetic retinopathy: The old and the new. Diabetes Metab. J. 2018, 42, 364–376. [Google Scholar] [CrossRef] [PubMed]
- Ansari, P.; Tabasumma, N.; Snigdha, N.N.; Siam, N.H.; Panduru, R.V.N.S.; Azam, S.; Hannan, J.M.; Abdel-Wahab, Y.H.A. Diabetic retinopathy: An overview on mechanisms, pathophysiology and pharmacotherapy. Diabetology 2022, 3, 159–175. [Google Scholar] [CrossRef]
- Fung, T.H.M.; Patel, B.; Wilmot, E.G.; Amoaku, W.M.K. Diabetic retinopathy for the non- ophthalmologist. Clin. Med. 2022, 22, 112. [Google Scholar] [CrossRef] [PubMed]
- Ehlers, J.P.; Jiang, A.C.; Boss, J.D.; Hu, M.; Figueiredo, N.; Babiuch, A.; Talcott, K.; Sharma, S.; Hach, J.; Le, T.; et al. Quantitative ultra-widefield angiography and diabetic retinopathy severity: An assessment of panretinal leakage index, ischemic index and microaneurysm count. Ophthalmology 2019, 126, 1527–1532. [Google Scholar] [CrossRef] [PubMed]
- Ying, L.; Shen, Y.; Zhang, Y.; Wang, Y.; Liu, Y.; Yin, J.; Wang, Y.; Yin, J.; Zhu, W.; Bao, Y.; et al. Association of advanced glycation end products with diabetic retinopathy in type 2 diabetes mellitus. Diabetes Res. Clin. Pract. 2021, 177, 108880. [Google Scholar] [CrossRef] [PubMed]
- Xu, J.; Chen, L.J.; Yu, J.; Wang, H.J.; Zhang, F.; Liu, Q.; Wu, J. Involvement of advanced glycation end products in the pathogenesis of diabetic retinopathy. Cell. Physiol. Biochem. 2018, 48, 705–717. [Google Scholar] [CrossRef] [PubMed]
- Souza Monteiro de Araújo, D.; Brito, R.; Pereira-Figueiredo, D.; dos Santos-Rodrigues, A.; De Logu, F.; Nassini, R.; Zin, A.; Calaza, K.C. Retinal toxicity induced by chemical agents. Int. J. Mol. Sci. 2022, 23, 8182. [Google Scholar] [CrossRef] [PubMed]
- Radi, R.E.; Damanhouri, E.T.; Siddiqui, M.I. Diabetic retinopathy causes, symptoms, and complications: A review. Int. J. Med. Dev. Ctries. 2021, 5, 390–394. [Google Scholar] [CrossRef]
- Dascalu, A.M.; Serban, D.; Papanas, N.; Kempler, P.; Rizzo, M.; Stana, D.; Roman, G.; Stoian, A.P. Microvascular Complications of Diabetes Mellitus: Focus on Diabetic Retinopathy (DR) and Diabetic Foot Ulcer (DFU). In Type 2 Diabetes-From Pathophysiology to Cyber Systems; IntechOpen: Rijeka, Croatia, 2021. [Google Scholar]
- Uzun, S.L. Pathogenesis of diabetic retinopathy and diabetic macular edema. In Diabetic Retinopathy and Diabetic Macular Edema; Livre de Lyon: Lyon, France, 2021; Volume 11. [Google Scholar]
- Kumar, D.; Taylor, G.W.; Wong, A. Discovery radiomics with CLEAR-DR: Interpretable computer aided diagnosis of diabetic retinopathy. IEEE Access 2019, 7, 25891–25896. [Google Scholar] [CrossRef]
- Gangwar, A.K.; Ravi, V. Diabetic retinopathy detection using transfer learning and deep learning. In Evolution in Computational Intelligence: Frontiers in Intelligent Computing: Theory and Applications (FICTA 2020); Springer: Singapore, 2021; Volume 1. [Google Scholar]
- Emon, M.U.; Zannat, R.; Khatun, T.; Rahman, M.; Keya, M.S. Performance analysis of diabetic retinopathy prediction using machine learning models. In Proceedings of the 2021 6th International Conference on Inventive Computation Technologies (ICICT), Coimbatore, India, 20–22 January 2021; IEEE: Piscataway, NJ, USA, 2021. [Google Scholar]
- Zhen, Y.; Wang, L.; Liu, H.; Zhang, J.; Pu, J. Performance assessment of the deep learning technologies in grading glaucoma severity. arXiv 2018, arXiv:1810.13376. [Google Scholar] [CrossRef]
- APTOS Dataset Source. Available online: https://www.kaggle.com/c/aptos2019-blindness-detection/data (accessed on 23 November 2025).
- Dubey, S.; Dixit, M. Recent developments on computer aided systems for diagnosis of diabetic retinopathy: A review. Multimed. Tools Appl. 2023, 82, 14471–14525. [Google Scholar] [CrossRef]
- Tariq, M.; Palade, V.; Ma, Y.; Altahhan, A. Diabetic retinopathy detection using transfer and reinforcement learning with effective image preprocessing and data augmentation techniques. In Fusion of Machine Learning Paradigms: Theory and Applications; Springer International Publishing: Cham, Switzerland, 2023; pp. 33–61. [Google Scholar]
- Rahim, S.S.; Palade, V.; Almakky, I.; Holzinger, A. Detection of diabetic retinopathy and maculopathy in eye fundus images using deep learning and image augmentation. In Proceedings of the Machine Learning and Knowledge Extraction: Third IFIP TC 5, TC 12, WG 8.4, WG 8.9, WG 12.9 International Cross-Domain Conference, CD-MAKE 2019, Canterbury, UK, 26–29 August 2019; Springer International Publishing: Berlin/Heidelberg, Germany, 2019. [Google Scholar]
- Park, N.; Kim, S. How do vision transformers work? arXiv 2022, arXiv:2202.06709. [Google Scholar] [CrossRef]
- Kumar, S.S.K.; Sri, K.S.H.; Bindu, A.; Thangavel, S.K.; Somasundaram, K.; Parthasaradhi, S.; Shunmugapriya, M.C.; Shanmugam, S.K. Explainable AI for Glaucoma Detection: Integrating Alternet-k and LIME. In Proceedings of the 2024 15th International Conference on Computing Communication and Networking Technologies (ICCCNT), Kamand, India, 24–28 June 2024; IEEE: Piscataway, NJ, USA, 2024. [Google Scholar]
- Reddy, G.T.; Bhattacharya, S.; Ramakrishnan, S.S.; Chowdhary, C.L.; Hakak, S.; Kaluri, R.; Reddy, M.P.K. An ensemble based machine learning model for diabetic retinopathy classification. In Proceedings of the 2020 International Conference On Emerging Trends in Information Technology and Engineering (IC ETITE), Vellore, India, 24–25 February 2020; IEEE: Piscataway, NJ, USA, 2020. [Google Scholar]
- Chua, J.; Sim, R.; Tan, B.; Wong, D.; Yao, X.; Liu, X.; Ting, D.S.W.; Schmidl, D.; Ang, M.; Garhöfer, G.; et al. Optical coherence tomography angiography in diabetes and diabetic retinopathy. J. Clin. Med. 2020, 9, 1723. [Google Scholar] [CrossRef]







| Model | Metrics | Classification Methods | Explainability |
|---|---|---|---|
| Devinder et al. [15] | Accuracy—73.2% | Deep Radiomic Sequencer | No |
| Gangwar et al. [16] | Accuracy for Messidor 1 and APTOS datasets are 72.33%, 82.18%, respectively. | Inception ResNet-V2 | No |
| Uddin, et al. [17] | Accuracy is only 75% and ROC curve performance is 83% | Logistic Regression | No |
| Zhen, et al. [18] | Accuracy is 75.5% | DenseNet | No |
| Proposed Model | Accuracy is 92.47% | Hybrid Method: ResNet—101 and AlterNet—k | Yes |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Gupta, L.; Gupta, R.; Agarwal, P.; Praveen, S. Explainability of Diabetic Retinopathy Detection and Classification with Deep Learning Hybrid Architecture: AlterNet-K and ResNet-101. Chem. Proc. 2025, 18, 141. https://doi.org/10.3390/ecsoc-29-26888
Gupta L, Gupta R, Agarwal P, Praveen S. Explainability of Diabetic Retinopathy Detection and Classification with Deep Learning Hybrid Architecture: AlterNet-K and ResNet-101. Chemistry Proceedings. 2025; 18(1):141. https://doi.org/10.3390/ecsoc-29-26888
Chicago/Turabian StyleGupta, Lavkush, Richa Gupta, Parul Agarwal, and Suraiya Praveen. 2025. "Explainability of Diabetic Retinopathy Detection and Classification with Deep Learning Hybrid Architecture: AlterNet-K and ResNet-101" Chemistry Proceedings 18, no. 1: 141. https://doi.org/10.3390/ecsoc-29-26888
APA StyleGupta, L., Gupta, R., Agarwal, P., & Praveen, S. (2025). Explainability of Diabetic Retinopathy Detection and Classification with Deep Learning Hybrid Architecture: AlterNet-K and ResNet-101. Chemistry Proceedings, 18(1), 141. https://doi.org/10.3390/ecsoc-29-26888

