Lightweight Hybrid CNN-Transformer Architecture for Diabetic Retinopa-thy Grading from Fundus Images: A Feature Fusion Approach with Dual Explainability
Aug 2026· Muthanna Journal of Engineering and Technology· Vol 14, pp. 60-75· 0 citations
TL;DR
The results indicate that the proposed framework presents a concise and semantically meaningful method for DR grading and may facilitate future clinical decision-support assessments, but future prospective validation with ophthalmologists re-mains required before its implementation in a real clinical setting.
Abstract
Automated diabetic retinopathy grading using fundus images demands accurate, computationally efficient, robust, and interpretable models. Although convolutional neural networks are effective at extracting local lesion patterns, they have limited ability to model long-range spatial relationships across the retina, while standard vision transformers provide global context at a substantially higher computational cost. To address this trade-off, this study proposes a lightweight hybrid CNN–Transformer framework that combines an EfficientNet-B0 backbone for local retinal feature extraction with a compact four-layer transformer branch for global contextual modeling. The final EfficientNet-B0 feature map is con-verted into spatial tokens and processed by the transformer, after which CNN and transformer representations are inte-grated through a learned feature-fusion module. The model contains only 6.2 million parameters and achieved strong five-class DR grading performance on APTOS 2019, with a quadratic weighted kappa of 0.920 under stratified five-fold cross-validation. External testing on MESSIDOR-2 further showed promising cross-dataset generalization, achieving 94.7% binary screening accuracy and a QWK of 0.891 without fine-tuning. In addition, Grad-CAM and attention rollout were used to provide complementary local and global explanations of model predictions. The results indicate that the proposed framework presents a concise and semantically meaningful method for DR grading and may facilitate future clinical decision-support assessments, but future prospective validation with ophthalmologists re-mains required before its implementation in a real clinical setting.
This study systematically compares representative standard and lightweight CNN- and transformer-based architectures for multi-class DR grading and offers practical guidance for selecting suitable deep learning models for automated diabetic retinopathy screening.
Retinal disease recognition is a critical component of computer-aided diagnosis (CAD). Despite advancements, existing models often struggle to capture both fine-grained local details and complex global relationships in optical coherence tomography (OCT) images. This study aims to develop a high-precision deep learnin...
Jing Liu, Ye Yuan, Shao-Yi Xue et al.· Scientific Reports· 0 citations
Automated diabetic retinopathy (DR) grading requires both local feature extraction and global spatial reasoning. While Convolutional Neural Networks and Vision Transformers (ViTs) struggle individually with spatial context and data limitations respectively, we propose an optimized hybrid framework (ProGrad-DR) combinin...
Diego Alarcón-Paredes, G. Alonso-Silverio, I. P. Guzmán-Guzmán et al.· International Journal of Com...· 0 citations
Diabetic retinopathy (DR) screening from retinal fundus images is still difficult because of the heterogeneity of lesions, significant class imbalance, and low reliability of existing deep learning algorithms owing to their generic feature pooling and passive fusion mechanisms. To overcome such limitations, this study...
Murali Gujjula, K. Narayanan· International Journal of Adv...· 0 citations
A novel adaptive fusion framework that adaptively combines CNN and Transformer features through learnable gating, attention-based feature integration, and explainable-AI methods is developed, intended to improve both computational efficiency and model interpretability.
Komal Sharma, Monika Sainger· International journal of com...· 0 citations
TransCat, a hybrid CNN-Transformer architecture for medical image segmentation, is proposed and an extended deformable attention mechanism with attentive value identification is developed, to control the computational burden caused by the enlarged token set.
Jin Wang, Zheng-Hua Yang, Dong-Ming Zhou et al.· Frontiers in Bioinformatics· 0 citations
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.