CBAM-enhanced MaxViT-Tiny for gastrointestinal endoscopy image classification: Robustness, explainability, and external validation

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.

Authors

Institutions

Publication Details

Journal
bioRxiv (Cold Spring Harbor Laboratory)
Published
2026-10-26
DOI
https://doi.org/10.64898/2026.10.20.760563
Primary Topic
AI in cancer detection
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
preprint

CBAM-enhanced MaxViT-Tiny for gastrointestinal endoscopy image classification: Robustness, explainability, and external validation

Gazi Mehraj Sakib, Aziz Misher Mishu, Sadek Al Prince, Israt Fatema Shorna et al.
bioRxiv (Cold Spring Harbor Laboratory)
AI in cancer detection
preprint

CBAM-enhanced MaxViT-Tiny for gastrointestinal endoscopy image classification: Robustness, explainability, and external validation

Gazi Mehraj Sakib, Aziz Misher Mishu, Sadek Al Prince, Israt Fatema Shorna, Md Mehedi Hasan, Mohammed Ahanaf Akif
preprint en

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.

bioRxiv (Cold Spring Harbor Laboratory)
International Islamic University Chittagong (BD), Daffodil International University (BD), Independent University, Bangladesh (BD)
AI in cancer detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
CBAM-enhanced MaxViT-Tiny for gastrointestinal endoscopy image classification: Robustness, explainability, and external validation — Gazi Mehraj Sakib, Aziz Misher Mishu, et al. · bioRxiv (Cold Spring Harbor Laboratory) (2026) | TGRS Research Map | TGRS