Open Access iconOpen Access

ARTICLE

GreenShield: A Lightweight and Robust Vision Transformer Framework in Retinal Disease Classification

Munthir Qasaimeh1, Mostafa Ali1, Qasem Abu Al-Haija2,*

1 Department of Computer Information Systems, Jordan University of Science and Technology, Irbid, Jordan
2 Department of Cybersecurity, Jordan University of Science and Technology, Irbid, Jordan

* Corresponding Author: Qasem Abu Al-Haija. Email: email

(This article belongs to the Special Issue: Advanced Computational Intelligence Techniques, Uncertain Knowledge Processing and Multi-Attribute Group Decision-Making Methods Applied in Modeling of Medical Diagnosis and Prognosis)

Computer Modeling in Engineering & Sciences 2026, 147(2), 42 https://doi.org/10.32604/cmes.2026.080864

Abstract

Vision Transformers (ViTs) have recently achieved high performance in retinal Optical Coherence Tomography (OCT) classification studies. However, ViT models continue to face significant challenges, including high computational cost, vulnerability to adversarial attacks, and pronounced sensitivity to preprocessing techniques. This study introduces GreenShield, a unified framework designed to produce an efficient and robust ViT model, referred to as GreenShield-ViT, which outperforms existing lightweight ViT variants in terms of adversarial robustness for retinal OCT classification. The framework integrates a gradient-based block-importance pruning strategy to compress the ViT/B-16 architecture, and adversarial training with proper ImageNet normalization and anti-saturation techniques. The robustness was evaluated using FGSM, PGD, PGD-R3, Transfer-PGD, BIM, and the proposed hybrid attack (FGSM-PGD). The proposed approach achieves an approximately 50% reduction in Floating-Point Operations (FLOPs), inference time, and carbon footprint emissions, while preserving diagnostic accuracy. Experiments conducted using GPU P100 on the OCT-c8, OCTID, and UCSD-3 datasets achieved clean accuracies of 92.5%, 94.78%, and 89.20%, respectively, alongside a significant reduction in attack success rates and improved model calibration. GreenShield-ViT outperformed lightweight ViT variants (Mobile-ViT, ViT-Tiny, ViT-Small) in terms of robustness while offering competitive efficiency. These results suggest its applicability to similar ViT-based medical tasks.

Keywords

Retinal OCT classification; green AI; adversarial training; vision transformers

Cite This Article

APA Style
Qasaimeh, M., Ali, M., Abu Al-Haija, Q. (2026). GreenShield: A Lightweight and Robust Vision Transformer Framework in Retinal Disease Classification. Computer Modeling in Engineering & Sciences, 147(2), 42. https://doi.org/10.32604/cmes.2026.080864
Vancouver Style
Qasaimeh M, Ali M, Abu Al-Haija Q. GreenShield: A Lightweight and Robust Vision Transformer Framework in Retinal Disease Classification. Comput Model Eng Sci. 2026;147(2):42. https://doi.org/10.32604/cmes.2026.080864
IEEE Style
M. Qasaimeh, M. Ali, and Q. Abu Al-Haija, “GreenShield: A Lightweight and Robust Vision Transformer Framework in Retinal Disease Classification,” Comput. Model. Eng. Sci., vol. 147, no. 2, pp. 42, 2026. https://doi.org/10.32604/cmes.2026.080864



cc Copyright © 2026 The Author(s). Published by Tech Science Press.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 703

    View

  • 203

    Download

  • 0

    Like

Share Link