Skip to content
Open access

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.

Read PDF

Similar papers

Open access Sep 2026

Comparative Analysis of CNN and Transformer Models for Multi-Class Diabetic Retinopathy Grading Using Fundus Images

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.

Maha A. Thafar · 0 citations
Open access Sep 2026

MergeNeXt: a hybrid CNN–transformer model for retinal OCT image classification

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. · 0 citations
Open access Sep 2026

Progressive Transfer Learning in Hybrid CNN-Transformer Architectures for Robust Diabetic Retinopathy Grading

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. · 0 citations
Open access Sep 2026

Lesion-semantic token guided transformer fusion for stage-adaptive diabetic retinopathy grading and screening

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 · 0 citations
Open access Aug 2026

Adaptive Feature Integration in CNN–Transformer Networks for Efficient and Interpretable Visual Classification

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 · 0 citations
Open access Aug 2026

TransCat: a hybrid CNN-transformer network with KAN for medical image segmentation

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. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.