Attention-Augmented Hybrid CNN–Transformer Network for Endoscopic Image Classification of Gastrointestinal Diseases

Vivek Duraivelu Srinivas Mulkalapalli Spandana L. Boddu Srilatha B. Suresh Kumar Kishore Dasari

Journal: International Journal of Engineering and Manufacturing @ijem

Article in issue: 6 vol.16, 2026.

Free access

Accurate classification of gastrointestinal diseases from endoscopic images is challenging because pathological evidence may involve subtle mucosal-texture variations, illumination changes, low-contrast lesions, and visually similar disease categories. This study proposes an attention-augmented hybrid CNN–Transformer network for endoscopic image classification using the Kvasir dataset. The architecture combines convolutional feature extraction for localized visual representation with patch-based Transformer encoding for contextual modeling, followed by attention-based feature refinement and classification. The proposed framework is evaluated using accuracy, Macro F1-score, AUC, five-fold cross-validation, noise perturbation analysis, and computational-complexity assessment. On the evaluated Kvasir test set, the proposed model achieves 91.0% accuracy, 0.91 Macro F1-score, and 0.96 AUC, compared with 86.4%, 0.86, and 0.92 for ResNet50, 87.8%, 0.88, and 0.93 for EfficientNet-B0, and 88.9%, 0.89, and 0.94 for DenseNet121, respectively. Five-fold evaluation produces accuracy values between 90.6% and 91.5%, while noise perturbation reduces accuracy progressively from 91.0% at σ = 0 to 80.9% at σ = 0.4. The results provide quantitative evidence of classification performance, cross-validation stability, perturbation behavior, and computational characteristics of the proposed hybrid architecture.

Gastrointestinal diseases \ Endoscopic imaging \ Early diagnosis \ Convolutional neural networks \ Segmentation \ Classification \ Transformer models \ Contextual dependencies \ Lesion localization \ Diagnostic consistency \ Class imbalance \ Overfitting \ Multi-scal

Short address: https://sciup.org/15020856

IDS: 15020856   |   DOI: 10.5815/ijem.2026.06.12