eess.IVApr 14, 2026

CBAM-Enhanced DenseNet121 for Multi-Class Chest X-Ray Classification with Grad-CAM Explainability

Authors: Utsho Kumar Dey

Organizations: Department of Computer Science and Engineering, Northern University of Business and Technology Khulna, Bangladesh

Abstract

Pneumonia remains a leading cause of childhood mortality worldwide, with a heavy burden in low-resource settings such as Bangladesh where radiologist availability is limited. Most existing deep learning approaches treat pneumonia detection as a binary problem, overlooking the clinically critical distinction between bacterial and viral aetiology. This paper proposes CBAM-DenseNet121, a transfer-learning framework that integrates the Convolutional Block Attention Module (CBAM) into DenseNet121 for three-class chest X-ray classification: Normal, Bacterial Pneumonia, and Viral Pneumonia. We also conduct a systematic binary-task baseline study revealing that EfficientNetB3 (73.88%) underperforms even the custom CNN baseline (78.53%) -- a practically important negative finding for medical imaging model selection. To ensure statistical reliability, all experiments were repeated three times with independent random seeds (42, 7, 123), and results are reported as mean +/- standard deviation. CBAM-DenseNet121 achieves 84.29% +/- 1.14% test accuracy with per-class AUC scores of 0.9565 +/- 0.0010, 0.9610 +/- 0.0014, and 0.9187 +/- 0.0037 for bacterial pneumonia, normal, and viral pneumonia respectively. Grad-CAM visualizations confirm that the model attends to anatomically plausible pulmonary regions for each class, supporting interpretable deployment in resource-constrained clinical environments.

Explore similar work

CardsList
  1. Beyond Accuracy: Quantifying Pulmonary Attribution in Anatomy-Guided Chest X-Ray Classification Under Domain Shift

    Aug 31, 2026Abdullah Al Mamun, Md. Nasif Osman Khansur, Md Ashraful Hossen Akash +2Chest X-Ray Classification

  2. Improving Imbalanced Multi-Label Chest X-Ray Diagnosis via CBAM-Enhanced CNN Backbones

    May 4, 2026Duy Nguyen Huu, Duy Hoang Khuong, Ngu Huynh Cong VietClass-Imbalanced LearningChest X-Ray Classification

  3. Comparative Analysis of Deep Learning Architectures for Multi-Disease Classification of Single-Label Chest X-rays

    Mar 11, 2026Ali M. Bahram, Saman Muhammad Omer, Hardi M. MohammedChest X-Ray ClassificationMedical Image Classification