Enhanced ResNet50 for Diabetic Retinopathy Classification: External Attention and Modified Residual Branch
Menglong Feng,
Yixuan Cai and
Shen Yan ()
Additional contact information
Menglong Feng: College of Mechanical and Electronic Engineering, Nanjing Forestry University, Nanjing 210037, China
Yixuan Cai: College of Mechanical and Electronic Engineering, Nanjing Forestry University, Nanjing 210037, China
Shen Yan: College of Mechanical and Electronic Engineering, Nanjing Forestry University, Nanjing 210037, China
Mathematics, 2025, vol. 13, issue 10, 1-19
Abstract:
One of the common microvascular complications in diabetic patients is diabetic retinopathy (DR), which primarily impacts the retinal blood vessels. As the course of diabetes progresses, the incidence of DR gradually increases, and, in serious situations, it can cause vision loss and even blindness. Diagnosing DR early is essential to mitigate its consequences, and deep learning models provide an effective approach. In this study, we propose an improved ResNet50 model, which replaces the 3 × 3 convolution in the residual structure by introducing an external attention mechanism, which improves the model’s awareness of global information and allows the model to grasp the characteristics of the input data more thoroughly. In addition, multiscale convolution is added to the residual branch, which further improves the ability of the model to extract local features and global features, and improves the processing accuracy of image details. In addition, the Sophia optimizer is introduced to replace the traditional Adam optimizer, which further optimizes the classification performance of the model. In this study, 3662 images from the Kaggle open dataset were used to generate 20,184 images for model training after image preprocessing and data augmentation. Experimental results show that the improved ResNet50 model achieves a classification accuracy of 96.68% on the validation set, which is 4.36% higher than the original architecture, and the Kappa value is increased by 5.45%. These improvements contribute to the early diagnosis of DR and decrease the likelihood of blindness among patients.
Keywords: diabetic retinopathy classification; deep learning; multiscale convolution; external attention; Sophia optimizer; medical image processing (search for similar items in EconPapers)
JEL-codes: C (search for similar items in EconPapers)
Date: 2025
References: View complete reference list from CitEc
Citations:
Downloads: (external link)
https://www.mdpi.com/2227-7390/13/10/1557/pdf (application/pdf)
https://www.mdpi.com/2227-7390/13/10/1557/ (text/html)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:gam:jmathe:v:13:y:2025:i:10:p:1557-:d:1652084
Access Statistics for this article
Mathematics is currently edited by Ms. Emma He
More articles in Mathematics from MDPI
Bibliographic data for series maintained by MDPI Indexing Manager ().