Explainable Vision Transformer for Diabetic Retinopathy Detection

Authors

  • Chanda Ravi Tejan Reddy Department of Computer Science and Engineering, Vardhaman College of Engineering, Hyderabad, India
  • Malchalam Nikitha Department of Computer Science and Engineering, Vardhaman College of Engineering, Hyderabad, India
  • Pendlimadugu Hanish Reddy Department of Computer Science and Engineering, Vardhaman College of Engineering, Hyderabad, India
  • Namani Deepika Rani Department of Computer Science and Engineering, Vardhaman College of Engineering, Hyderabad, India

DOI:

https://doi.org/10.65890/dmp-lncse.ICICCS26.218

Keywords:

Diabetic Retinopathy, Vision Transformer, Explainable AI, Medical Image Analysis, Deep Learning, Attention Mechanism, Fundus Imaging

Abstract

Diabetic Retinopathy (DR) is a major cause of vision loss all over the world, and if diagnosed early, it can be prevented. In this paper, we propose an automated retinal image classifier using an Explainable Vision Transformer (ViT) model to classify Diabetic Retinopathy (DR) on the APTOS 2019 retinal image dataset. It leverages the transformer's attention mechanism to focus on clinically relevant regions in retinal fundus images, demonstrating high interpretability and strong predictive performance. Pre-processing techniques to enhance model generalisation include image resizing, image normalisation, and image augmentation. ViT models have been trained to achieve about 95 per cent accuracy on the validation set for predicting five levels of DR severity. Moreover, attention maps visually illustrate regions that significantly impact the model's decision-making process and, in addition, provide interpretable outputs for medical experts. The proposed strategy highlights the opportunities afforded by transformer-based architectures for medical imaging, with their high-performance enabling safety and reliability in DR screening.

Downloads

Published

27-07-2026

Conference Proceedings Volume

Section

Articles

How to Cite

Ravi Tejan Reddy, C. ., Nikitha, M. ., Hanish Reddy, P. ., & Deepika Rani, N. . (2026). Explainable Vision Transformer for Diabetic Retinopathy Detection. DMPedia Lecture Notes in Computer Science & Engineering, ICICCS26, 370-377. https://doi.org/10.65890/dmp-lncse.ICICCS26.218