ISSN: 3048-6807 An Open‑Access, Peer‑Reviewed International Research Journal
Open Access

Adaptive Quantum Feature Encoding for Interpretable and Efficient Retinal Diagnostics

Author(s): Bonu Harish, Chebrolu Hanish, Karnam Likith Babu, Mrs. P. Padmavathi

Affiliation: Department of Information Technology, GMRIT Deemed to be University, Rajam, India,Assistant Professor, Department of Information Technology, GMRIT Deemed to be University, Rajam, India,Email: harishbonu3@gmail.com

Page No: 77-85

Volume, Issue & Publishing Year: Volume 3 Issue 11,Nov-2026

Journal: International Journal of Advanced Engineering Application (IJAEA)

ISSN NO: 3048-6807

Abstract:
Diabetic retinopathy (DR) is a leading cause of avoidable vision loss, so timely and accurate grading matters. Manual examination of retinal images is slow, needs trained specialists and is hard to arrange where resources are limited, while many automated graders overlook subtle visual patterns, work with redundant data and explain their outputs poorly. This study presents RetinaFormer, a framework for five-class DR grading that aims to be accurate, compact and easy to interpret. A Vision Transformer (ViT) extracts features from fundus images, adaptive feature selection and Principal Component Analysis (PCA) remove redundant information, and a four-qubit Variational Quantum Circuit (VQC) learns a richer representation before classification. The framework also produces visual explanations that mark the retinal regions influencing each prediction. Trained and evaluated on APTOS 2019 and FGADR images, it reached 81.95% accuracy, an 80.09% macro F1-score and a quadratic weighted kappa of 90.94% on a held-out test set of 277 images. The system is presented as a research framework and not as a clinical diagnostic tool.

Keywords: Diabetic Retinopathy, Vision Transformer, Variational Quantum Circuit, Medical Image Classification, Explainable AI.

Reference:

  • [1] V. Gulshan et al., “Development and validation of a deep learning algorithm for detection of diabetic retinopathy in retinal fundus photographs,” JAMA, vol. 316, no. 22, pp. 2402–2410, 2016, doi: 10.1001/jama.2016.17216.
  • [2] D. S. W. Ting et al., “Development and validation of a deep learning system for diabetic retinopathy and related eye diseases using retinal images from multiethnic populations with diabetes,” JAMA, vol. 318, no. 22, pp. 2211–2223, 2017, doi: 10.1001/jama.2017.18152.
  • [3] M. D. Abràmoff et al., “Automated analysis of retinal images for detection of referable diabetic retinopathy,” JAMA Ophthalmology, vol. 131, no. 3, pp. 351–357, 2013, doi: 10.1001/jamaophthalmol.2013.1743.
  • [4] Y. Zhou, B. Wang, L. Huang, S. Cui, and L. Shao, “A benchmark for studying diabetic retinopathy: Segmentation, grading, and transferability,” IEEE Transactions on Medical Imaging, vol. 40, no. 3, pp. 818–828, 2021, doi: 10.1109/TMI.2020.3037771.
  • [5] W. Nazih, A. O. Aseeri, O. Y. Atallah, and S. El-Sappagh, “Vision Transformer model for predicting the severity of diabetic retinopathy in fundus photography-based retina images,” IEEE Access, vol. 11, pp. 117546–117561, 2023, doi: 10.1109/ACCESS.2023.3326528.
  • [6] K. He, X. Zhang, S. Ren, and J. Sun, “Deep residual learning for image recognition,” in Proc. IEEE Conf. Computer Vision and Pattern Recognition (CVPR), 2016, pp. 770–778, doi: 10.1109/CVPR.2016.90.
  • [7] M. Tan and Q. V. Le, “EfficientNet: Rethinking model scaling for convolutional neural networks,” in Proc. 36th Int. Conf. Machine Learning (ICML), 2019, pp. 6105–6114.
  • [8] A. Dosovitskiy et al., “An image is worth 16×16 words: Transformers for image recognition at scale,” in Proc. Int. Conf. Learning Representations (ICLR), 2021.
  • [9] I. T. Jolliffe and J. Cadima, “Principal component analysis: A review and recent developments,” Philosophical Transactions of the Royal Society A: Mathematical, Physical and Engineering Sciences, vol. 374, no. 2065, Art. no. 20150202, 2016, doi: 10.1098/rsta.2015.0202.
  • [10] J. Biamonte et al., “Quantum machine learning,” Nature, vol. 549, pp. 195–202, 2017, doi: 10.1038/nature23474.
  • [11] M. Schuld and N. Killoran, “Quantum machine learning in feature Hilbert spaces,” Physical Review Letters, vol. 122, no. 4,Art.no.040504,2019,doi:10.1103/PhysRevLett.122.040504.
  • [12] S. Abnar and W. Zuidema, “Quantifying attention flow in transformers,” in Proc. 58th Annual Meeting of the Association for Computational Linguistics, 2020, pp. 4190–4197, doi: 10.18653/v1/2020.acl-main.385.
  • [13] R. R. Selvaraju et al., “Grad-CAM: Visual explanations from deep networks via gradient-based localization,” in Proc. IEEE Int. Conf. Computer Vision (ICCV), 2017, pp. 618–626, doi: 10.1109/ICCV.2017.74.
  • [14] A. Porwal et al., “Indian diabetic retinopathy image dataset (IDRiD): A database for diabetic retinopathy screening research,” Data, vol. 3, no. 3, Art. no. 25, 2018, doi: 10.3390/data3030025.
  • [15] M. Rahaman, M. A. Muni, S. Tasnim, S. S. Juthi, R. Islam, and K. R. Ahmed, “Explainable AI for diabetic retinopathy detection using vision transformers,” Scientific Reports, vol. 16, Art. no. 27354, 2026, doi: 10.1038/s41598-026-56569-4.
  • [16] Z. Gu et al., “Classification of diabetic retinopathy severity in fundus images using the vision transformer and residual attention,” Computational Intelligence and Neuroscience, vol. 2023, Art. no. 1305583, 2023, doi: 10.1155/2023/1305583.
  • [17] Y. Zhang et al., “Semantic-oriented visual prompt learning for diabetic retinopathy grading on fundus images,” IEEE Transactions on Medical Imaging, vol. 43, no. 8, pp. 2960–2969, 2024, doi: 10.1109/TMI.2024.3383827.
  • [18] “Comparative analysis of vision transformers and conventional convolutional neural networks in detecting referable diabetic retinopathy,” Ophthalmology Science, vol. 4, no. 6, Art. no. 100552, 2024, doi: 10.1016/j.xops.2024.100552.
  • [19] C. Liu et al., “Lesion classification and diabetic retinopathy grading by integrating softmax and pooling operators into vision transformer,” Frontiers in Public Health, vol. 12, Art. no. 1442114, 2025, doi: 10.3389/fpubh.2024.1442114.
  • [20] G. Quellec et al., “ExplAIn: Explanatory artificial intelligence for diabetic retinopathy diagnosis,” Medical Image Analysis, vol. 72, Art. no. 102118, 2021, doi: 10.1016/j.media.2021.102118.
  • [21] K. A. Alavee et al., “Enhancing early detection of diabetic retinopathy through the integration of deep learning models and explainable artificial intelligence,” IEEE Access, vol. 12, pp. 73950–73969, 2024, doi: 10.1109/ACCESS.2024.3405570.
  • [22] A. Ikram and A. Imran, “ResViT FusionNet model: An explainable AI-driven approach for automated grading of diabetic retinopathy in retinal images,” Computers in Biology and Medicine, vol. 186, Art. no. 109656, 2025, doi: 10.1016/j.compbiomed.2025.109656.
  • [23] J. Landman et al., “Quantum methods for neural networks and application to medical image classification,” Quantum, vol. 6, Art. no. 881, 2022, doi: 10.22331/q-2022-12-22-881.
  • [24] T.-H. Qiu and S.-M. Wang, “An image classification algorithm based on hybrid quantum classical convolutional neural network,” Quantum Engineering, 2022, doi: 10.1155/2022/5701479.
  • [25] T. Ngwazi, B. Ndlovu, and K. Maguraushe, “Early detection of diabetic retinopathy through explainable AI models: A systematic review,” International Journal on Informatics for Development, vol. 14, no. 2, pp. 616–628, 2025, doi: 10.14421/ijid.2025.5200.
  • [26] Asia Pacific Tele-Ophthalmology Society (APTOS), “APTOS 2019 Blindness Detection,” Kaggle, 2019. [Online]. Available: https://www.kaggle.com/c/aptos2019-blindness-detection