Skip to main content

Advertisement

Log in

Contrastive self-supervised learning for diabetic retinopathy early detection

  • Original Article
  • Published:
Medical & Biological Engineering & Computing Aims and scope Submit manuscript

Abstract

Diabetic Retinopathy (DR) is the major cause of blindness, which seriously threatens the world’s vision health. Limited medical resources make early diagnosis and a large-scale screening of DR difficult. Most of the current automatic diagnostic methods are mostly based on deep learning and large-scale labeled data. However, the insufficiency of manual annotations for medical images still is a great challenge of training deep neural networks. Self-supervised learning methods are proposed to learn general features from dataset without manual annotations. Inspired by this, we proposed a deep learning based DR classification model (SimCLR-DR). In this paper, we first use contrastive self-learning algorithm to pre-train the encoder based on convolution network with unlabeled retinal images, then retrain the encoder with classifier on a small annotated training data to detect referable DR. The experimental results on Kaggle dataset show that this proposed method can overcome the training data insufficiency problem and performs better than transfer learning. SimCLR-DR is a good beginning for other deep learning based medical image detection approaches facing the challenge of insufficient annotated data.

Graphical abstract

Figure presents an overview of the proposed framework, which contains three main steps: (i) Data preprocessing; (ii) Pretext task of SimCLR-DR based on contrastive learning; (iii) Downstream Task of SimCLRDR based on CNN.

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

Similar content being viewed by others

Data Availability

Data will be made available on reasonable request.

References

  1. Wu B, Zhu W, Shi F, Zhu S, Chen X (2017) Automatic detection of microaneurysms in retinal fundus images. Comput Med Imaging Graph 55:106–112

    Article  PubMed  Google Scholar 

  2. Atlas D, et al (2015) International diabetes federation. IDF Diabetes Atlas, 7th edn. Brussels, Belgium: International Diabetes Federation

  3. Zhang G, Chen H, Chen W, Zhang M (2017) Prevalence and risk factors for diabetic retinopathy in China: a multi-hospital-based cross-sectional study. Br J Ophthalmol 101(12):1591–1595

    Article  PubMed  Google Scholar 

  4. Araújo T, Aresta G, Mendonça L, Penas S, Maia C, Carneiro Â, Mendonça AM, Campilho A (2020) Dr|graduate: Uncertainty-aware deep learning-based diabetic retinopathy grading in eye fundus images. Med Image Anal 63:101715

    Article  PubMed  Google Scholar 

  5. Altaf F, Islam SM, Akhtar N, Janjua NK (2019) Going deep in medical image analysis: concepts, methods, challenges, and future directions. IEEE Access 7:99540–99572

    Article  Google Scholar 

  6. Shen D, Wu G, Suk H-I (2017) Deep learning in medical image analysis. Annu Rev Biomed Eng 19:221–248

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  7. Karthik SS, Kamath K (2021) A deep neural network model for content-based medical image retrieval with multi-view classification. Vis Comput 37:1837–1850

    Article  Google Scholar 

  8. Esteva A, Kuprel B, Novoa RA, Ko J, Swetter SM, Blau HM, Thrun S (2017) Dermatologist-level classification of skin cancer with deep neural networks. Nature 542(7639):115–118

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  9. Ma W, Yu S, Ma K, Wang J, Ding X, Zheng Y (2019) Multi-task neural networks with spatial activation for retinal vessel segmentation and artery/vein classification. In: International conference on medical image computing and computer-assisted intervention. Springer, pp 769–778

  10. Shi Z, Zeng G, Zhang L, Zhuang X, Li L, Yang G, Zheng G (2018) Bayesian VoxDRN: A probabilistic deep voxelwise dilated residual network for whole heart segmentation from 3D MR images. In: International conference on medical image computing and computer-assisted intervention. Springer, pp 569–577

  11. Ahmad N, Asghar S, Gillani AS (2022) Transfer learning-assisted multi-resolution breast cancer histopathological images classification. Vis Comput 38:2751–2770

    Article  Google Scholar 

  12. Imran A, Li J, Pei Y, Akhtar F, Mahmood T, Zhang L (2021) Fundus image-based cataract classification using a hybrid convolutional and recurrent neural network. Vis Comput 37:2407–2417

    Article  Google Scholar 

  13. Jing L, Tian Y (2020) Self-supervised visual feature learning with deep neural networks: A survey. IEEE Transactions on Pattern Analysis and Machine Intelligence

  14. Shahin EM, Taha TE, Al-Nuaimy W, El Rabaie S, Zahran OF, Abd El-Samie FE (2012) Automated detection of diabetic retinopathy in blurred digital fundus images. In: 2012 8th international computer engineering conference (ICENCO). IEEE, pp 20–25

  15. Acharya UR, Lim CM, Ng EYK, Chee C, Tamura T (2009) Computer-based detection of diabetes retinopathy stages using digital fundus images. Proc Inst Mech Eng H J Eng Med 223(5):545–553

    Article  CAS  Google Scholar 

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

    Article  PubMed  Google Scholar 

  17. Saranya P, Prabakaran S, Kumar R, Das E (2022) Blood vessel segmentation in retinal fundus images for proliferative diabetic retinopathy screening using deep learning. Vis Comput 38:977–992

    Article  Google Scholar 

  18. 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(2):2402–2410

    Article  PubMed  Google Scholar 

  19. Ahmad M, Kasukurthi N, Pande H (2019) Deep learning for weak supervision of diabetic retinopathy abnormalities. In: 2019 IEEE 16th international symposium on biomedical imaging (ISBI 2019). IEEE, pp 573–577

  20. Kaggle: diabetic retinopathy detection. https://www.kaggle.com/c/diabetic-retinopathydetection. Accessed 01 May 2019

  21. 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 

  22. Wang Z, Yin Y, Shi J, Fang W, Li H, Wang X (2017) Zoom-in-Net: Deep mining lesions for diabetic retinopathy detection. In: International conference on medical image computing and computer-assisted intervention. Springer, pp 267–275

  23. Bravo MA, Arbeláez PA (2017) Automatic diabetic retinopathy classification. In: 13th international conference on medical information processing and analysis, vol 10572. International Society for Optics and Photonics, p 105721

  24. Zhao Z, Zhang K, Hao X, Tian J, Chua MCH, Chen L, Xu X (2019) BiRA-Net: Bilinear attention net for diabetic retinopathy grading. In: 2019 IEEE international conference on image processing (ICIP). IEEE, pp 1385–1389

  25. Chakravarthy SN, Singhal H, RP NY (2019) DR-NET: A stacked convolutional classifier framework for detection of diabetic retinopathy. In: 2019 international joint conference on neural networks (IJCNN). IEEE, pp 1–7

  26. de Moura J, Novo J, Ortega M (2019) Deep feature analysis in a transfer learning-based approach for the automatic identification of diabetic macular edema. In: 2019 international joint conference on neural networks (IJCNN). IEEE, pp 1–8

  27. ElTanboly A, Eladawi N, Elmogy M, Ghazal M, Fraiwan L, Aboelfetouh A, Riad A, Keynton R, El-Azab M, Schaal S, et al (2018) Diabetic retinopathy early detection based on OCT and OCTA feature fusion. In: 2018 IEEE international symposium on signal processing and information technology (ISSPIT). IEEE, pp 607–611

  28. Zhang Y, Li M, Ji Z, Fan W, Yuan S, Liu Q, Chen Q (2021) Twin self-supervision based semi-supervised learning (TS-SSL): Retinal anomaly classification in SD-OCT images. Neurocomputing 462:491–505

    Article  Google Scholar 

  29. Zhou Y, He X, Huang L, Liu L, Zhu F, Cui S, Shao L (2019) Collaborative learning of semi-supervised segmentation and classification for medical images. In: Proceedings of the IEEE/CVF conference on computer vision and pattern recognition. pp 2079–2088

  30. Li X, Hu X, Yu L, Zhu L, Fu C-W, Heng P-A (2019) CANet: cross-disease attention network for joint diabetic retinopathy and diabetic macular edema grading. IEEE Trans Med Imaging 39(5):1483–1493

    Article  PubMed  Google Scholar 

  31. Wang Z, Yang, J (2018) Diabetic retinopathy detection via deep convolutional networks for discriminative localization and visual explanation. In: Workshops at the 32nd AAAI conference on artificial intelligence

  32. Jiang H, Yang K, Gao M, Zhang D, Ma H, Qian W (2019) An interpretable ensemble deep learning model for diabetic retinopathy disease classification. In: 2019 41st annual international conference of the IEEE engineering in medicine and biology society (EMBC). IEEE, pp 2045–2048

  33. Chen T, Kornblith S, Norouzi M, Hinton G (2020) A simple framework for contrastive learning of visual representations. In: International conference on machine learning. PMLR, pp 1597–1607

  34. Chen T, Kornblith S, Swersky K, Norouzi M, Hinton G (2020) Big self-supervised models are strong semi-supervised learners

  35. He K, Fan H, Wu Y, Xie S, Girshick R (2020) Momentum contrast for unsupervised visual representation learning. In: Proceedings of the IEEE/CVF conference on computer vision and pattern recognition. pp 9729–9738

  36. Chen X, Fan H, Girshick R, He K (2020) Improved baselines with momentum contrastive learning. arXiv e-prints, 2003

  37. Larsson G, Maire M, Shakhnarovich G (2017) Colorization as a proxy task for visual understanding. In: Proceedings of the IEEE conference on computer vision and pattern recognition. pp 6874–6883

  38. Pathak D, Krahenbuhl P, Donahue J, Darrell T, Efros AA (2016) Context encoders: Feature learning by inpainting. In: Proceedings of the IEEE conference on computer vision and pattern recognition. pp 2536–2544

  39. Caron M, Bojanowski P, Joulin A, Douze M (2018) Deep clustering for unsupervised learning of visual features. In: Proceedings of the European conference on computer vision (ECCV). pp 132–149

  40. Noroozi M, Favaro P (2016) Unsupervised learning of visual representations by solving jigsaw puzzles. In: European conference on computer vision. Springer, pp 69–84

  41. Li Y, Paluri M, Rehg JM, Dollár P (2016) Unsupervised learning of edges. In: Proceedings of the IEEE conference on computer vision and pattern recognition. pp 1619–1627

  42. Jiang H, Larsson G, Shakhnarovich MMG, Learned-Miller E (2018) Self-supervised relative depth learning for urban scene understanding. In: Proceedings of the European conference on computer vision (ECCV). pp 19–35

  43. Arandjelović R, Zisserman A (2017) Look, listen and learn. IEEE

  44. Zhai X, Oliver A, Kolesnikov A, Beyer L (2019) S4L: Self-supervised semi-supervised learning. In: Proceedings of the IEEE/CVF international conference on computer vision. pp 1476–1485

  45. Graham B (2015) Kaggle diabetic retinopathy detection competition report. University of Warwick

  46. He K, Zhang X, Ren S, Sun J (2016) Deep residual learning for image recognition. In: Proceedings of the IEEE conference on computer vision and pattern recognition. pp 770–778

  47. Krizhevsky A, Sutskever I, Hinton GE (2012) ImageNet classification with deep convolutional neural networks. Adv Neural Inf Process Syst 25:1097–1105

    Google Scholar 

Download references

Acknowledgements

We would like to acknowledge support for this project from the National Natural Science Foundation of China(NSFC) (No. 61876071, No. 62006094), the Scientific and Technological Developing Scheme of Jilin Province of China (No. 20180201003SF, No. 20190701031GH) and the Energy Administration of Jilin Province (No.3D516L921421).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Siguang Liu.

Ethics declarations

Competing interest

The authors have no competing interests to declare that are relevant to the content of this article.

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

Ouyang, J., Mao, D., Guo, Z. et al. Contrastive self-supervised learning for diabetic retinopathy early detection. Med Biol Eng Comput 61, 2441–2452 (2023). https://doi.org/10.1007/s11517-023-02810-5

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11517-023-02810-5

Keywords

Navigation