IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v13y2025i10p1557-d1652084.html
   My bibliography  Save this article

Enhanced ResNet50 for Diabetic Retinopathy Classification: External Attention and Modified Residual Branch

Author

Listed:
  • 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)

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.

Suggested Citation

  • Menglong Feng & Yixuan Cai & Shen Yan, 2025. "Enhanced ResNet50 for Diabetic Retinopathy Classification: External Attention and Modified Residual Branch," Mathematics, MDPI, vol. 13(10), pages 1-19, May.
  • Handle: RePEc:gam:jmathe:v:13:y:2025:i:10:p:1557-:d:1652084
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/13/10/1557/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/13/10/1557/
    Download Restriction: no
    ---><---

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:13:y:2025:i:10:p:1557-:d:1652084. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.