Hybrid Deep Learning Ensemble for Ophthalmic Disease Classification: Integrating CNNs and Vision Transformers

Standalone Convolutional Neural Networks (CNNs) and Vision Transformers (ViTs) exhibit representational trade-offs between capturing localized microvascular lesions and global contextual dependencies in retinal fundus imaging. To address this limitation, this study presents a novel tri-branch hybrid deep learning ensemble framework for multi-class classification across ten distinct ocular conditions. Retinal fundus photographs (16,242 images across 10 categories) were enhanced using a dual-stage pipeline incorporating CLAHE color space transformation and Fourier domain high-pass filtering. The proposed framework fuses extracted features from two CNN backbones (EfficientNet-B0 and VGG16) and a Vision Transformer (ViT-Base) into a 6,144-dimensional representation. The network was trained using a strategic two-phase transfer learning regimen with differential learning rates and class-weighted cross-entropy loss. Grad-CAM visualizations were utilized for qualitative explainability against clinical landmarks. The hybrid ensemble achieved an overall accuracy of 88.99%, macro-sensitivity of 92.36%, macro-specificity of 98.72%, macro F1-score of 90.95%, and Matthews Correlation Coefficient (MCC) of 0.8718. This demonstrates a 10.04% accuracy improvement over standalone deep CNNs and a 34.36% increase over handcrafted feature baselines (GLCM/HOG + SVM). Grad-CAM heatmaps confirmed strong alignment with clinically verified pathological features. Combining local texture representations with global contextual self-attention offers high diagnostic reliability and explainability, establishing a robust decision-support system for broad-coverage ocular screening in resource-constrained settings.

Authors

Institutions

Publication Details

Journal
Research Square
Published
2026-11-25
DOI
https://doi.org/10.21203/rs.3.rs-11746949/v1
Primary Topic
Retinal Imaging and Analysis
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Hybrid Deep Learning Ensemble for Ophthalmic Disease Classification: Integrating CNNs and Vision Transformers

Md. Tayyab Ameri Turan, Md. Al – Imran, Nasrin Sultana, Tawhid Hasan Santo
Research Square
Retinal Imaging and Analysis
preprint

Hybrid Deep Learning Ensemble for Ophthalmic Disease Classification: Integrating CNNs and Vision Transformers

Md. Tayyab Ameri Turan, Md. Al – Imran, Nasrin Sultana, Tawhid Hasan Santo
preprint en

Abstract

Standalone Convolutional Neural Networks (CNNs) and Vision Transformers (ViTs) exhibit representational trade-offs between capturing localized microvascular lesions and global contextual dependencies in retinal fundus imaging. To address this limitation, this study presents a novel tri-branch hybrid deep learning ensemble framework for multi-class classification across ten distinct ocular conditions. Retinal fundus photographs (16,242 images across 10 categories) were enhanced using a dual-stage pipeline incorporating CLAHE color space transformation and Fourier domain high-pass filtering. The proposed framework fuses extracted features from two CNN backbones (EfficientNet-B0 and VGG16) and a Vision Transformer (ViT-Base) into a 6,144-dimensional representation. The network was trained using a strategic two-phase transfer learning regimen with differential learning rates and class-weighted cross-entropy loss. Grad-CAM visualizations were utilized for qualitative explainability against clinical landmarks. The hybrid ensemble achieved an overall accuracy of 88.99%, macro-sensitivity of 92.36%, macro-specificity of 98.72%, macro F1-score of 90.95%, and Matthews Correlation Coefficient (MCC) of 0.8718. This demonstrates a 10.04% accuracy improvement over standalone deep CNNs and a 34.36% increase over handcrafted feature baselines (GLCM/HOG + SVM). Grad-CAM heatmaps confirmed strong alignment with clinically verified pathological features. Combining local texture representations with global contextual self-attention offers high diagnostic reliability and explainability, establishing a robust decision-support system for broad-coverage ocular screening in resource-constrained settings.

Research Square
Hajee Mohammad Danesh Science and Technology University (BD)
Retinal Imaging and Analysis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon