Skip to main content
Log in

Diabetic retinopathy detection and diagnosis by means of robust and explainable convolutional neural networks

  • Original Article
  • Published:
Neural Computing and Applications Aims and scope Submit manuscript

Abstract

The diabetic retinopathy is a disease affecting the retina and it is currently manually diagnosed by specialists. In order to help the clinician in this time-consuming task, we propose a method aimed at automatically identify the diabetic retinopathy presence from ocular angiography by exploiting convolutional neural networks. In particular, two models are proposed: the first one is aimed to discriminate between healthy eyes and eyes with retinopathy, while the second one is designed to distinguish between non-proliferative retinopathy and weakly and severely proliferative retinopathy. The results we obtained, i.e., an accuracy of 0.98 for the first model and an accuracy of 0.91 relative to the second model, demonstrate that the proposed models can effectively aid the clinician in diagnosis. Moreover, the proposed method is aimed to localize the disease in the angiography, providing a kind of explainability behind the model diagnosis, by taking into account two different class activation mapping algorithms showing on the images the areas symptomatic of the disease, in order to increase model trustworthiness from doctors and patients. We also introduce a similarity index aimed to evaluate the model robustness by quantifying how much the heatmaps generated by the class activation mapping algorithms of the same model differ from each other.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10

Similar content being viewed by others

Data availability

The datasets considered in the experimental evaluation are freely available from the Kaggle repository: the first one is available inFootnote 5, while the second one in.Footnote 6 Both of them are freely available for research purposes. Furthermore, the Python code we developed is also available for research purposes at the following GitHub repository.Footnote 7

Notes

  1. https://www.iss.it/.

  2. https://www.iapb.org/.

  3. https://www.kaggle.com/c/diabetic-retinopathy-detection/data/.

  4. https://www.kaggle.com/competitions/aptos2019-blindness-detection.

  5. https://www.kaggle.com/c/diabetic-retinopathy-detection/data/.

  6. https://www.kaggle.com/competitions/aptos2019-blindness-detection.

  7. https://github.com/Djack1010/tami.

References

  1. Berrocal AM, Fan KC, Al-Khersan H, Negron CI, Murray T (2022) Retinopathy of prematurity: advances in the screening and treatment of retinopathy of prematurity using a single center approach. Am J Ophthalmol 233:189–215

    Article  Google Scholar 

  2. Safi H, Safi S, Hafezi-Moghadam A, Ahmadieh H (2018) Early detection of diabetic retinopathy. Surv Ophthalmol 63(5):601–608

    Article  Google Scholar 

  3. Ong JX, Fawzi AA (2022) Perspectives on diabetic retinopathy from advanced retinal vascular imaging. Eye 1:1–9

    Google Scholar 

  4. Watkins PJ (2003) Retinopathy. BMJ 326(7395):924–926

    Article  Google Scholar 

  5. Fong DS, Aiello L, Gardner TW, King GL, Blankenship G, Cavallerano JD, Ferris FL III, Klein R, Association AD (2004) Retinopathy in diabetes. Diabetes care 27(suppl–1):84–87

    Article  Google Scholar 

  6. Engerman RL (1989) Pathogenesis of diabetic retinopathy. Diabetes 38(10):1203–1206

    Article  Google Scholar 

  7. Qummar S, Khan FG, Shah S, Khan A, Shamshirband S, Rehman ZU, Khan IA, Jadoon W (2019) A deep learning ensemble approach for diabetic retinopathy detection. IEEE Access 7:150530–150539

    Article  Google Scholar 

  8. Liu K, Zheng M, Liu Y, Yang J, Yao Y (2022) Deep autoencoder thermography for defect detection of carbon fiber composites. IEEE Transa Industr Inform 248:10015

    Google Scholar 

  9. Gao S, Dai Y, Li Y, Jiang Y, Liu Y (2022) Augmented flame image soft sensor for combustion oxygen content prediction. Meas Sci Technol 34(1):015401

    Article  Google Scholar 

  10. Liu K, Yu Q, Liu Y, Yang J, Yao Y (2022) Convolutional graph thermography for subsurface defect detection in polymer composites. IEEE Trans Instrum Meas 71:1–11

    Article  Google Scholar 

  11. Ballester P, Araujo RM (2016) On the performance of googlenet and alexnet applied to sketches. In: Thirtieth AAAI conference on artificial intelligence

  12. Mascarenhas S, Agarwal M (2021) A comparison between vgg16, vgg19 and resnet50 architecture frameworks for image classification. In: 2021 International conference on disruptive technologies for multi-disciplinary research and applications (CENTCON), vol 1, pp 96–99. IEEE

  13. Howard AG, Zhu M, Chen B, Kalenichenko D, Wang W, Weyand T, Andreetto M, Adam H (2017) Mobilenets: Efficient convolutional neural networks for mobile vision applications. arXiv preprint arXiv:1704.04861

  14. Selvaraju RR, Cogswell M, Das A, Vedantam R, Parikh D, Batra D (2017) Grad-cam: Visual explanations from deep networks via gradient-based localization. In: Proceedings of the IEEE international conference on computer vision, pp 618–626

  15. Wang H, Wang Z, Du M, Yang F, Zhang Z, Ding S, Mardziel P, Hu X (2020) Score-cam: Score-weighted visual explanations for convolutional neural networks. In: Proceedings of the IEEE/CVF conference on computer vision and pattern recognition workshops, pp 24–25

  16. Sara U, Akter M, Uddin MS (2019) Image quality assessment through FSIM, SSIM, MSE and PSNR-a comparative study. J Comput Commun 7(3):8–18

    Article  Google Scholar 

  17. Iadarola G (2022) Tool for Image-based malware code analysis. https://github.com/Djack1010/claransom. Accessed: Oct-2022

  18. Pratt H, Coenen F, Broadbent DM, Harding SP, Zheng Y (2016) Convolutional neural networks for diabetic retinopathy. Procedia Comput Sci 90:200–205

    Article  Google Scholar 

  19. Gargeya R, Leng T (2017) Automated identification of diabetic retinopathy using deep learning. Ophthalmology 124(7):962–969

    Article  Google Scholar 

  20. Gulshan V, Peng L, Coram M, Stumpe MC, Wu D, Narayanaswamy A, Venugopalan S, Widner K, Madams T, Cuadros J et al (2016) Development and validation of a deep learning algorithm for detection of diabetic retinopathy in retinal fundus photographs. JAMA 316(22):2402–2410

    Article  Google Scholar 

  21. Dutta S, Manideep B, Basha SM, Caytiles RD, Iyengar N (2018) Classification of diabetic retinopathy images by using deep learning models. Int J Grid Distrib Comput 11(1):89–106

    Article  Google Scholar 

  22. Kwasigroch A, Jarzembinski B, Grochowski M (2018) Deep CNN based decision support system for detection and assessing the stage of diabetic retinopathy. In: 2018 International interdisciplinary PhD workshop (IIPhDW), pp 111–116. IEEE

  23. García G, Gallardo J, Mauricio A, López J, Carpio CD (2017) Detection of diabetic retinopathy based on a convolutional neural network using retinal fundus images. In: International Conference on artificial neural networks, pp 635–642. Springer

  24. Nayak J, Bhat PS, Acharya U, Lim CM, Kagathi M et al (2008) Automated identification of diabetic retinopathy stages using digital fundus images. J Med Syst 32(2):107–115

    Article  Google Scholar 

  25. Hemanth DJ, Deperlioglu O, Kose U (2020) An enhanced diabetic retinopathy detection and classification approach using deep convolutional neural network. Neural Comput Appl 32(3):707–721

    Article  Google Scholar 

Download references

Acknowledgements

This work has been partially supported by EU DUCA, EU CyberSecPro, EU E-CORRIDOR projects, PNRR SERICS_SPOKE1_DISE, RdS 2022–2024 cybersecurity and SERICS (PE00000014) under the MUR National Recovery and Resilience Plan funded by the European Union - NextGenerationEU.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Francesco Mercaldo.

Ethics declarations

Conflict of interest

All authors confirm that there are not potential conflicts of interest include employment, consultancies, stock ownership, honoraria, paid expert testimony, patent applications/ registrations, grants or other funding and with the action editors.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Mercaldo, F., Di Giammarco, M., Apicella, A. et al. Diabetic retinopathy detection and diagnosis by means of robust and explainable convolutional neural networks. Neural Comput & Applic 35, 17429–17441 (2023). https://doi.org/10.1007/s00521-023-08608-8

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00521-023-08608-8

Keywords

Navigation