OcuEvolve-Hybrid: Dual-Stream CNN-Transformer Network with Cross-Channel Attention for Explainable Diabetic Retinopathy Screening

Authors

  • G. Chinni Krishnaiah Department of Computer Science and Engineering, National Institute of Technology, Tiruchirappalli, India Author
  • R. Mohan Department of Computer Science and Engineering, National Institute of Technology, Tiruchirappalli, India Author

DOI:

https://doi.org/10.68337/cpsm.v1.i3.2026-048

Keywords:

Diabetic retinopathy, EfficientNetV2-S, Swin-V2-S, cross-channel-stream attention, Grad-CAM, binary classification, explainable AI, medical image analysis, PyTorch

Abstract

Automated screening for diabetic retinopathy (DR) is a problem with clear clinical stakes and a hard technical path. Convolutional neural networks (CNNs) find microaneurysms well but miss the macular context. Vision transformers (ViTs) read the whole retina but can overlook a single hemorrhage. OcuEvolve-Hybrid was built to handle both at once. The system runs an EfficientNetV2-S stream for local lesion features (a 1,280-dimensional vector) and a Swin-V2-S stream for global retinal context (a 768-dimensional vector) in parallel, then merges them through a cross-channel-stream attention (CCSA) module that learns two scalar stream weights for each image, constrained by a softmax so that they sum to one. The fused 1,024-dimensional representation passes through a binary head (Diabetic or Non-Diabetic). When the model predicts Diabetic, a gradient-weighted class activation mapping (Grad-CAM) pass identifies the lesion epicenter as Cartesian coordinates and writes a structured clinical report. Trained with AdamW and cosine annealing on the Fundus Image 1000 benchmark, the system reaches 97.3% accuracy, an area under the receiver operating characteristic curve (AUC) of 0.974, and 96.0% sensitivity on the held-out test set. These results are reported with 95% confidence intervals, and external validation on larger graded cohorts is required before clinical use. The stream weights are human-readable for each image, so a clinician can see at a glance whether the decision came from local texture or global topology.

References

[1] Joanne W. Y. Yau, Sophie L. Rogers, Ryo Kawasaki, Ecosse L. Lamoureux, Jonathan W. Kowalski, Toke Bek, Shih-Jen Chen, Jacqueline M. Dekker, Astrid Fletcher, Jakob Grauslund, Steven Haffner, Richard F. Hamman, M. Kamran Ikram, Takamasa Kayama, Barbara E. K. Klein, Ronald Klein, Sannapaneni Krishnaiah, Korapat Mayurasakorn, Joseph P. O'Hare, Trevor J. Orchard, Massimo Porta, Mohan Rema, Monique S. Roy, Tarun Sharma, Jonathan Shaw, Hugh Taylor, James M. Tielsch, Rohit Varma, Jie Jin Wang, Ningli Wang, Sheila West, Liang Xu, Miho Yasuda, Xinzhi Zhang, Paul Mitchell, and Tien Y. Wong, "Global prevalence and major risk factors of diabetic retinopathy," Diabetes Care, vol. 35, no. 3, pp. 556-564, 2012, doi: 10.2337/dc11-1909.

[2] Rupert R. A. Bourne, Seth R. Flaxman, Tasanee Braithwaite, Maria V. Cicinelli, Aditi Das, Jost B. Jonas, Jill Keeffe, John H. Kempen, Janet Leasher, Hans Limburg, Kovin Naidoo, Konrad Pesudovs, Serge Resnikoff, Alex Silvester, Gretchen A. Stevens, Nina Tahhan, Tien Y. Wong, and Hugh R. Taylor, "Magnitude, temporal trends, and projections of the global prevalence of blindness and distance and near vision impairment: A systematic review and meta-analysis," Lancet Glob. Health, vol. 5, no. 9, pp. e888-e897, 2017, doi: 10.1016/S2214-109X(17)30293-0.

[3] Yuhao Niu, Lin Gu, Yitian Zhao, and Feng Lu, "Explainable diabetic retinopathy detection and retinal image generation," IEEE J. Biomed. Health Inform., vol. 26, no. 1, pp. 44-55, 2022, doi: 10.1109/JBHI.2021.3110593.

[4] Shiqi Huang, Jianan Li, Yuze Xiao, Ning Shen, and Tingfa Xu, "RTNet: Relation transformer network for diabetic retinopathy multi-lesion segmentation," IEEE Trans. Med. Imaging, vol. 41, no. 6, pp. 1596-1607, 2022, doi: 10.1109/TMI.2022.3143833.

[5] Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, Jakob Uszkoreit, and Neil Houlsby, "An image is worth 16x16 words: Transformers for image recognition at scale," in Proc. Int. Conf. Learn. Represent. (ICLR), 2021, doi: 10.48550/arXiv.2010.11929.

[6] Jianfang Wu, Ruo Hu, Zhenghong Xiao, Jiaxu Chen, and Jingwei Liu, "Vision Transformer-based recognition of diabetic retinopathy grade," Med. Phys., vol. 48, no. 12, pp. 7850-7863, 2021, doi: 10.1002/mp.15312.

[7] Shuiqing Zhao, Yanan Wu, Mengmeng Tong, Yudong Yao, Wei Qian, and Shouliang Qi, "CoT-XNet: Contextual transformer with Xception network for diabetic retinopathy grading," Phys. Med. Biol., vol. 67, no. 24, Art. no. 245003, 2022, doi: 10.1088/1361-6560/ac9fa0.

[8] Zhiliang Peng, Wei Huang, Shanzhi Gu, Lingxi Xie, Yaowei Wang, Jianbin Jiao, and Qixiang Ye, "Conformer: Local features coupling global representations for visual recognition," in Proc. IEEE/CVF Int. Conf. Comput. Vis. (ICCV), 2021, pp. 357-366, doi: 10.1109/ICCV48922.2021.00042.

[9] Ze Liu, Yutong Lin, Yue Cao, Han Hu, Yixuan Wei, Zheng Zhang, Stephen Lin, and Baining Guo, "Swin Transformer: Hierarchical vision transformer using shifted windows," in Proc. IEEE/CVF Int. Conf. Comput. Vis. (ICCV), 2021, pp. 9992-10002, doi: 10.1109/ICCV48922.2021.00986.

[10] Ze Liu, Han Hu, Yutong Lin, Zhuliang Yao, Zhenda Xie, Yixuan Wei, Jia Ning, Yue Cao, Zheng Zhang, Li Dong, Furu Wei, and Baining Guo, "Swin Transformer V2: Scaling up capacity and resolution," in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), 2022, pp. 11999-12009, doi: 10.1109/CVPR52688.2022.01170.

[11] Hu Cao, Yueyue Wang, Joy Chen, Dongsheng Jiang, Xiaopeng Zhang, Qi Tian, and Manning Wang, "Swin-Unet: Unet-like pure transformer for medical image segmentation," in Computer Vision, ECCV 2022 Workshops (Lecture Notes in Computer Science, vol. 13803). Cham, Switzerland: Springer, 2023, pp. 205-218, doi: 10.1007/978-3-031-25066-8_9.

[12] Jieneng Chen, Yongyi Lu, Qihang Yu, Xiangde Luo, Ehsan Adeli, Yan Wang, Le Lu, Alan L. Yuille, and Yuyin Zhou, "TransUNet: Transformers make strong encoders for medical image segmentation," arXiv:2102.04306, 2021, doi: 10.48550/arXiv.2102.04306.

[13] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Łukasz Kaiser, and Illia Polosukhin, "Attention is all you need," in Adv. Neural Inf. Process. Syst. (NeurIPS), vol. 30, 2017, pp. 5998-6008, doi: 10.48550/arXiv.1706.03762.

[14] Bas H. M. van der Velden, Hugo J. Kuijf, Kenneth G. A. Gilhuijs, and Max A. Viergever, "Explainable artificial intelligence (XAI) in deep learning-based medical image analysis," Med. Image Anal., vol. 79, Art. no. 102470, 2022, doi: 10.1016/j.media.2022.102470.

[15] Ramprasaath R. Selvaraju, Michael Cogswell, Abhishek Das, Ramakrishna Vedantam, Devi Parikh, and Dhruv Batra, "Grad-CAM: Visual explanations from deep networks via gradient-based localization," in Proc. IEEE Int. Conf. Comput. Vis. (ICCV), 2017, pp. 618-626, doi: 10.1109/ICCV.2017.74.

[16] Mingxing Tan and Quoc V. Le, "EfficientNetV2: Smaller models and faster training," in Proc. 38th Int. Conf. Mach. Learn. (ICML), PMLR vol. 139, 2021, pp. 10096-10106, doi: 10.48550/arXiv.2104.00298.

[17] Joint Shantou International Eye Centre, "1000 fundus images with 39 categories," Kaggle dataset linchundan/fundusimage1000, 2019. [Online]. Available: https://www.kaggle.com/datasets/linchundan/fundusimage1000

[18] Kaggle and EyePACS, "Diabetic retinopathy detection," Kaggle competition, 2015. [Online]. Available: https://www.kaggle.com/c/diabetic-retinopathy-detection

Downloads

Published

2026-11-30

Data Availability Statement

This study used the publicly available 1000 Fundus Images with 39 Categories dataset of the Joint Shantou International Eye Centre, published on Kaggle as linchundan/fundusimage1000. Further data supporting the findings are available from the corresponding author upon reasonable request.

How to Cite

OcuEvolve-Hybrid: Dual-Stream CNN-Transformer Network with Cross-Channel Attention for Explainable Diabetic Retinopathy Screening. (2026). Conference Proceedings in Science and Management, 1(3), 6-13. https://doi.org/10.68337/cpsm.v1.i3.2026-048