Using Transfer Learning with DenseNet121 and Convolutional Block Attention Module (CBAM) for Enhanced Diabetic Retinopathy Classification

Authors

  • Mankiran Kaur Computer Science & Engineering, Chandigarh University, Gharuan, Mohali, Punjab, India & CGC College of Engineering, Chandigarh Group of Colleges, Landran, Mohali, Punjab, India
  • Puneet Kumar Computer Science & Engineering, Chandigarh University, Gharuan, Mohali, Punjab, India
  • Anuj Kumar Gupta CGC College of Engineering, Chandigarh Group of Colleges, Landran, Mohali, Punjab, India

Keywords:

Attention mechanism, CBAM, diabetic retinopathy, DenseNet121, fundus images, transfer learning

Abstract

Diabetic retinopathy (DR) is the leading cause of vision loss in the world, particularly in individuals who have had a 10 or 15 years history of diabetes. Early detection of the disease, and automated fundus image analysis techniques would decrease the possibility of vision loss. In this study, a transfer learning method was proposed, which includes a Convolutional Block Attention Module (CBAM) and optimizes the DenseNet121 architecture, resulting in better feature representations, as well as the focus on relevant retinal area discoveries. The Kaggle DR Dataset that we have tested is the one that has been utilized in this model and that is freely available. We have obtained 97% of categorization accuracy and large ablation experiments indicate that channel or spatial attention can be optimally combined. As indicated by the available experimental data, the proposed DenseNet121+CBAM outperforms both baseline DenseNet121 and VGG model regarding accuracy, precision, recall, and F1-score and can be applied in the real world in the context of DR. There are studies that have undertaken comprehensive ablation which demonstrate two attention modules. Ablation experiments do better than the single-module and baseline ones. It also shows high levels of improvement in F1-score, precision and recall with the model and this confirms the reliability and flexibility of this model in clinical practice. The findings indicated a consistent increase in the results of the DenseNet121+CBAM model as compared to the baseline DenseNet121 and its single-module variants, with significant changes in parameters. The positive results of the research on the various performance indicators as well as the information gathered in ablation studies portray the possibility of the approach to aid in early diagnosis and treatment of DR.

Downloads

Download data is not yet available.

Published

2026-06-30

How to Cite

Kaur, M., Kumar, P., & Gupta, A. K. (2026). Using Transfer Learning with DenseNet121 and Convolutional Block Attention Module (CBAM) for Enhanced Diabetic Retinopathy Classification. Computing and Informatics, 45(3). Retrieved from http://147.213.75.17/ojs/index.php/cai/article/view/8804