Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 Jan 20;15(1):2554.
doi: 10.1038/s41598-025-85752-2.

Visual impairment prevention by early detection of diabetic retinopathy based on stacked auto-encoder

Affiliations

Visual impairment prevention by early detection of diabetic retinopathy based on stacked auto-encoder

Shagufta Almas et al. Sci Rep. .

Erratum in

Abstract

Diabetic retinopathy (DR) presents a significant concern among diabetic patients, often leading to vision impairment or blindness if left untreated. Traditional diagnosis methods are prone to human error, necessitating accurate alternatives. While various computer-aided systems have been developed to assist in DR detection, there remains a need for accurate and efficient methods to classify its stages. In this study, we propose a novel approach utilizing enhanced stacked auto-encoders for the detection and classification of DR stages. The classification is performed across one healthy (normal) stage and four DR stages: mild, moderate, severe, and proliferative. Unlike traditional CNN approaches, our method offers improved reliability by reducing time complexity, minimizing errors, and enhancing noise reduction. Leveraging a comprehensive dataset from KAGGLE containing 35,126 retinal fundus images representing one healthy (normal) stage and four DR stages, our proposed model demonstrates superior accuracy compared to existing deep learning algorithms. Data augmentation techniques address class imbalance, while SAEs facilitate accurate classification through layer-wise unsupervised pre-training and supervised fine-tuning. We evaluate our model's performance using rigorous quantitative measures, including accuracy, recall, precision, and F1-score, highlighting its effectiveness in early disease diagnosis and prevention of blindness. Experimental results across different training/testing ratios (50:50, 60:40, 70:30, and 75:25) showcase the model's robustness. The highest accuracy achieved during training was 93%, while testing accuracy reached 88% on a training/testing ratio of 75:25. Comparative analysis underscores the model's superiority over existing methods, positioning it as a promising tool for early-stage DR detection and blindness prevention.

Keywords: Deep learning; Diabetic retinopathy; Disability; Dropout; Stacked auto-encoder.

PubMed Disclaimer

Conflict of interest statement

Declarations. Competing interests: The authors declare no competing interests.

Figures

Fig. 1
Fig. 1
Stages of Diabetic Retinopathy. Panel (a) shows a normal retina, while panels (b) to (d) illustrate NPDR stages. Panel (e) represents PDR.
Fig. 2
Fig. 2
CNN architecture and steps involved in DR detection and stages.
Fig. 3
Fig. 3
Stages of proposed methodology.
Fig. 4
Fig. 4
Encoder 1.
Fig. 5
Fig. 5
Encoder 2.
Fig. 6
Fig. 6
Encoder 3.
Fig. 7
Fig. 7
Encoder 4.
Fig. 8
Fig. 8
Encoders are stacked.
Fig. 9
Fig. 9
A neural network without dropout approach, all neurons are connected.
Fig. 10
Fig. 10
A neural network with dropout approach, some neurons are disconnected.
Fig. 11
Fig. 11
Developed framework of diabetic retinopathy classification.
Fig. 12
Fig. 12
Accuracy of non-augmented data.
Fig. 13
Fig. 13
Accuracy without dropout.
Fig. 14
Fig. 14
Accuracy of augmented data and dropout.
Fig. 15
Fig. 15
Accuracy at 50:50.
Fig. 16
Fig. 16
Loss at 50:50.
Fig. 17
Fig. 17
Performance metrics of a balanced dataset at 50:50.
Fig. 18
Fig. 18
ROC curves of classes (0–4) at 50:50.
Fig. 19
Fig. 19
Accuracy at 60:40.
Fig. 20
Fig. 20
Loss at 60:40.
Fig. 21
Fig. 21
Performance metrics of all classes (0–4) at 60:40.
Fig. 22
Fig. 22
ROC curves of classes (0–4) at 60:40.
Fig. 23
Fig. 23
Accuracy at 70:30.
Fig. 24
Fig. 24
Loss at 70:30.
Fig. 25
Fig. 25
Performance metrics of a balanced dataset at 70:30.
Fig. 26
Fig. 26
ROC curves of classes (0–4) at 70:30.
Fig. 27
Fig. 27
Accuracy at 75:25.
Fig. 28
Fig. 28
Loss at 75:25.
Fig. 29
Fig. 29
Performance metrics of all classes (0–4) at 75:25.
Fig. 30
Fig. 30
ROC curves of classes (0–4) at 75:25.
Fig. 31
Fig. 31
Predictions Made by the Model on the External Dataset for Each Class (Healthy, Mild, Moderate, Severe, Proliferative DR).
Fig. 32
Fig. 32
Accuracy comparison with existing models.
Fig. 33
Fig. 33
Sensitivity comparison with existing models.
Fig. 34
Fig. 34
Specificity comparison with existing models.
Fig. 35
Fig. 35
Precision comparison with existing models.
Fig. 36
Fig. 36
F1-Score comparison with existing models.

Similar articles

Cited by

References

    1. Shankar, K. et al. Automated detection and classification of fundus diabetic retinopathy images using synergic deep learning model. Pattern Recogn. Lett.133, 210–216 (2020).
    1. Dutta, S., Manideep, B., Basha, S. M., Caytiles, R. D. & Iyengar, N. Classification of diabetic retinopathy images by using deep learning models. Int. J. Grid Distrib. Comput.11, 89–106 (2018).
    1. Qiao, L., Zhu, Y. & Zhou, H. Diabetic retinopathy detection using prognosis of microaneurysm and early diagnosis system for non-proliferative diabetic retinopathy based on deep learning algorithms. IEEE Access8, 104292–104302 (2020).
    1. Jagan Mohan, N., Murugan, R., Goel, T., Mirjalili, S. & Roy, P. A novel four-step feature selection technique for diabetic retinopathy grading. Phys. Eng. Sci. Medicine44, 1351–1366 (2021). - PubMed
    1. Yun, W. L. et al. Identification of different stages of diabetic retinopathy using retinal optical images. Inf. Sci.178, 106–121 (2008).

Publication types

LinkOut - more resources