Hierarchical deep learning with stability-driven normalization and regularization for accurate multi-class diabetic retinopathy diagnosis
Diabetic retinopathy (DR) is one of the major causes of vision loss worldwide; early detection can help prevent permanent vision loss. Several deep learning approaches have been developed for retinal image analysis, yet they often face practical challenges in accurately diagnosing diabetic retinopathy. Class imbalance is a common issue in DR, where disease stages share subtle visual traits, and models tend to overfit to the training data. To mitigate these issues in existing deep learning approaches, we developed a novel compact hierarchical vision encoder that combines convolutional features with tailored normalization and regularization modules. A normalization technique is applied to stabilize model training, followed by structural risk–based regularization to enhance generalization. A pooling module is embedded in the model to learn subtle retinal details for distinguishing disease severity. The model is trained and evaluated on the APTOS dataset for five-class DR classes. Model performance was evaluated using accuracy, ROC analysis, confusion matrices, and an ablation study. The proposed model achieved an accuracy of 98.91%, with micro-averaged precision, recall, and F1 of 98.91%, whereas macro-averaged measures are above 97.8%. The model achieved class wise precision and recall above 93% for positive cases and classified the no DR cases without error. The ROC analysis demonstrates perfect separability with AUC value between 0.99 and 1.00. The proposed framework demonstrated an approximately 15% improvement in accuracy compared with pretrained CNN and transformer models. The model consistently recognized the AD classes with higher recognition accuracy, with slight variations. Although the proposed model is evaluated only on the APTOS dataset, the results suggest that the framework has potential for broader applications in DR screening.
Authors
- Mohd Khalid Awang (ORCID: https://orcid.org/0000-0001-9715-5161)
- Tariq M. Ali (ORCID: https://orcid.org/0000-0003-2445-0519)
- Mohammad Hijji (ORCID: https://orcid.org/0000-0001-9279-401X)
- Ghulam Ali (ORCID: https://orcid.org/0000-0002-0726-2738)
- Muhammad Hamza (ORCID: https://orcid.org/0000-0002-0954-1781)
- Muhammad Ayaz (ORCID: https://orcid.org/0000-0002-7574-902X)
- Azqa Jafar
Institutions
- University of Okara (PK)
- Sultan Zainal Abidin University (MY)
- University of Tabuk (SA)
Publication Details
- Journal
- Ain Shams Engineering Journal
- Published
- 2026-09-21
- DOI
- https://doi.org/10.1016/j.asej.2026.104453
- Primary Topic
- Retinal Imaging and Analysis
- Type
- article
- Field-Weighted Citation Impact
- 0.00