Diabetic retinopathy (DR) grading from retinal fundus images remains challenging due to class imbalance, ordinal disease severity, and visual similarities between adjacent stages. This study presents an integrated artificial intelligence framework combining convolutional neural networks (CNNs), Vision Transformers, ensemble learning, explainable AI, and vision–language models (VLMs) for five-class diabetic retinopathy grading and non-diagnostic attribution reporting. Six deep learning architectures were evaluated using the APTOS 2019 dataset under stratified five-fold cross-validation. Multiple ensemble strategies, including hard voting, weighted soft voting, stacking, and hybrid class-level fusion, were investigated to improve classification robustness. ResNet-50 and ConvNeXt-Tiny demonstrated strong individual performance, while weighted soft voting achieved the most consistent ensemble results. External validation on Messidor-2 highlighted generalization challenges associated with cross-dataset distribution shifts. To improve model transparency, Grad-CAM++ visual attribution maps were combined with safety-constrained textual summaries generated by vision–language models. The study also examined computational efficiency and deployment considerations. The findings demonstrate the potential of ensemble learning and multimodal explainability for developing more transparent AI-assisted diabetic retinopathy grading systems while emphasizing the importance of external validation, uncertainty assessment, and clinical evaluation before real-world deployment.

From pixels to attribution reports: Diabetic retinopathy grading with CNN–transformer ensembles and vision–language models

Pir Bakhsh Khokhar
Conceptualization
;
Carmine Gravino
Supervision
;
Fabio Palomba
Supervision
;
2026

Abstract

Diabetic retinopathy (DR) grading from retinal fundus images remains challenging due to class imbalance, ordinal disease severity, and visual similarities between adjacent stages. This study presents an integrated artificial intelligence framework combining convolutional neural networks (CNNs), Vision Transformers, ensemble learning, explainable AI, and vision–language models (VLMs) for five-class diabetic retinopathy grading and non-diagnostic attribution reporting. Six deep learning architectures were evaluated using the APTOS 2019 dataset under stratified five-fold cross-validation. Multiple ensemble strategies, including hard voting, weighted soft voting, stacking, and hybrid class-level fusion, were investigated to improve classification robustness. ResNet-50 and ConvNeXt-Tiny demonstrated strong individual performance, while weighted soft voting achieved the most consistent ensemble results. External validation on Messidor-2 highlighted generalization challenges associated with cross-dataset distribution shifts. To improve model transparency, Grad-CAM++ visual attribution maps were combined with safety-constrained textual summaries generated by vision–language models. The study also examined computational efficiency and deployment considerations. The findings demonstrate the potential of ensemble learning and multimodal explainability for developing more transparent AI-assisted diabetic retinopathy grading systems while emphasizing the importance of external validation, uncertainty assessment, and clinical evaluation before real-world deployment.
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11386/4919828
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
social impact