Skip to content
Open access

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

Sep 2026 · Diagnostics · Vol 16 · 0 citations · 51 references
Medicine

TL;DR

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.

Abstract

Background/Objectives: Diabetic retinopathy is a major cause of preventable vision loss worldwide, making early and accurate disease grading crucial for timely treatment. Although convolutional neural network (CNN)- and transformer-based architectures have demonstrated promising performance for retinal image analysis, comprehensive comparisons within a unified experimental framework remain limited. This study systematically compares representative standard and lightweight CNN- and transformer-based architectures for multi-class DR grading. Methods: Six ImageNet-pretrained deep-learning models, including ResNet50, EfficientNet-B0, MobileNetV2, Vision Transformer (ViT), Swin-Tiny, and Swin Transformer, were evaluated on the APTOS 2019 retinal fundus image dataset under a unified experimental configuration with consistent preprocessing, data augmentation, training, and evaluation settings. All models were fine-tuned and evaluated independently over five runs with different random seeds. Their performance was assessed using accuracy, precision, recall, F1-score, area under the receiver operating characteristic curve (AUC), Quadratic Weighted Kappa (QWK), per-class analysis, computational efficiency, and statistical analysis. Results: Transformer-based models generally achieved higher mean classification performance than the evaluated CNN-based models. Swin-Tiny achieved the highest mean accuracy (82.3%), macro F1-score (64.4%), weighted F1-score (82.1%), and QWK (89.8%) across the five runs. Among the CNN-based models, EfficientNet-B0 achieved the strongest overall classification performance, whereas MobileNetV2 provided the lowest computational complexity. The results also highlighted differences in learning behavior and computational requirements across the evaluated architectures. Repeated experiments demonstrated stable performance across different random seeds, supporting the reliability of the proposed evaluation. Conclusions: Overall, this study provides a comprehensive comparison of representative CNN- and transformer-based architectures under consistent experimental settings and offers practical guidance for selecting suitable deep learning models for automated diabetic retinopathy screening.

Read PDF

Similar papers

Open access Aug 2026

RESOURCE-EFFICIENT DEEP LEARNING FOR FIVE-STAGE DIABETIC RETINOPATHY CLASSIFICATION: COMPARATIVE EVALUATION, MODEL OPTIMISATION, AND EDGE DEPLOYMENT

Diabetic retinopathy (DR) is a major cause of preventable vision impairment, particularly in regions where access to ophthalmologists and computational infrastructure is limited. This study investigates resource-efficient deep learning for automated five-stage DR classification from retinal fundus images, with emphasis...

Megha Pandeya, Dinesh Mishra · 0 citations
Conference Aug 2026

A Deep Learning Framework for Multi-Level Diabetic Retinopathy Classification Using Fundus Images

Diabetic retinopathy is a major cause of visual impairment in the world and thus a proper diagnosis must be carried out early and correctly to be treated. The paper presents a deep learning-based system of multi-level diabetic retinopathy classification using retinal fundus images. The model uses convolutional neural n...

G. Lingeshwari, A. S, Muthu Prakash M et al. · 0 citations
Conference Aug 2026

Multi-Disease Classification in Retinal Oct Using Deep Transfer Learning: A Comparative Study

Timely and precise detection of retinal diseases is essential for preventing permanent vision loss. However, the analysis of Optical Coherence Tomography (OCT) images is often time-taking and subject to inter-clinician variability. This paper presents deep learning architectures for multi-disease classification of OCT...

V. A. Balakrishna Jakka, P. V. Naganjaneyulu, Narra Dhana Lakshmi et al. · 0 citations
Open access Aug 2026

Lightweight Hybrid CNN-Transformer Architecture for Diabetic Retinopa-thy Grading from Fundus Images: A Feature Fusion Approach with Dual Explainability

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.

Rasha Jamal Hindi · 0 citations
Sep 2026

An explainable deep learning approach for automated detection and grading of diabetic retinopathy from fundus images.

Diabetic Retinopathy (DR) is a leading cause of preventable blindness, and it is important to accurately detect it as early as possible, as well as to measure the severity to provide early clinical indicators. Fundus image assessment in the manual mode is subjective and labor-intensive, and is hard to scale, which has...

Muradul Islam, Marisa Parvez Oishy, Ferdaus Anam Jibon et al. · 0 citations
Review Open access Sep 2026

Multi-Task Deep Learning Framework for Simultaneous Diabetic Retinopathy Grading and Lesion Segmentation Using CNN-Transformer Hybrid Architecture: A Review

This paper shows how joint optimization of segmentation masks and grading outputs greatly enhances feature representation and clinical explainability and assesses how typical convolutional networks' intrinsic shortcomings in detecting tiny, size-variant micro pathologies might be solved by harmonizing the dualism of gl...

Priya Mourya, Adarsh Soni, A. Tamrakar · 0 citations

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