CBAM-enhanced MaxViT-Tiny for gastrointestinal endoscopy image classification: Robustness, explainability, and external validation
S. A. Prince, I. F. Shorna, M. M. Hasan, M. A. Akif, A. M. Mishu, g. m. sakib
Key points
From the paper's conclusion- High accuracy on clean images, even with attention augmentation, therefore does not imply high accuracy on adversarial images or reliable explanations, and the model needs further verification on independent datasets and multi-centre validation before clinical use.
Abstract
Automated classification of the huge number of images generated during gastrointestinal (GI) endoscopy is required for reliable and interpretable diagnosis, but there is concern about the vulnerability of deep models to adversarial perturbations. In the current study, a MaxViT-Tiny backbone with a Convolutional Block Attention Module (CBAM) head is used for 8-class classification of the Kvasir endoscopic images. After deleting duplicate images, 3,996 images remained, which were split into a training set (70%), a validation set (15%) and a test set (15%); the model was compared with five backbones using the same CBAM head under three random seeds. The proposed model obtained the highest test accuracy of 94.33%, a macro F1 score of 0.9431, and a macro area under the receiver operating characteristic curve (AUC) of 0.9975, with a mean accuracy of 93.72 {+/-} 1.06% across all seeds. White-box FGSM, PGD, CW-L2, and MI-FGSM attacks greatly reduced the accuracy: after adversarial fine-tuning, the accuracy under FGSM was 74.17%, while the accuracy under PGD and MI-FGSM was below 4%, showing poor cross-attack generalization. A preliminary attack detector obtained an AUC of 0.857. Grad-CAM++, Score-CAM, and GradientSHAP sometimes identified clinically relevant regions, but also sometimes focused on non-anatomical artefacts. High accuracy on clean images, even with attention augmentation, therefore does not imply high accuracy on adversarial images or reliable explanations, and the model needs further verification on independent datasets and multi-centre validation before clinical use.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Accuracy Is Not Enough: An Efficiency- and Statistics-Aware Benchmark of ResNet50 and Vision Transformer for Explainable Multi-Class Gastrointestinal Diseases ClassificationarXiv · 2026
- Evaluating the robustness of explainable AI in medical image recognition under natural and adversarial data corruptionMachine Learning · 2025
- HierTAC-Net: a robust and explainable hierarchical attention network for multi-configuration gastrointestinal endoscopic image classificationScientific Reports · 2026
- SA ‐Net‐Stego‐Medical: Explainable and Adversarially Robust Medical Image Steganalysis Using Self‐Attention NetworksSECURITY AND PRIVACY · 2026
- Similarity‐Aware Evaluation, Probability Calibration, and Independent Replication for Reliable Gastrointestinal Image ClassificationInternational Journal of Imaging Systems and Technology · 2026
- An Explainable Deep Learning Framework for Medical Imaging Diagnostics: Integrating Grad-CAM, SHAP, and Attention MechanismsEPJ Web of Conferences · 2026