International Journal of Engineering
Trends and Technology

Research Article | Open Access | Download PDF
Volume 74 | Issue 3 | Year 2026 | Article Id. IJETT-V74I3P102 | DOI : https://doi.org/10.14445/22315381/IJETT-V74I3P102

A Deep Transfer Learning Model for Robust Pneumonia Detection from Medical Imaging


Adel Rajab

Received Revised Accepted Published
09 Dec 2025 24 Jan 2026 27 Jan 2026 28 Mar 2026

Citation :

Adel Rajab, "A Deep Transfer Learning Model for Robust Pneumonia Detection from Medical Imaging," International Journal of Engineering Trends and Technology (IJETT), vol. 74, no. 3, pp. 11-24, 2026. Crossref, https://doi.org/10.14445/22315381/IJETT-V74I3P102

Abstract

Pneumonia is a serious infection of the lungs brought about by several types of bacteria and viruses. It is usually difficult to detect and treat with chest X-rays because its visual patterns often overlap those of other pulmonary diseases. In recent years, deep learning has shown considerable success in medical image processing, such as the fully automated detection and classification of diseases with high accuracy. These models can identify complex patterns from large datasets, hence finding their perfect applications in radiology. This work proposes a deep learning-based pneumonia detection approach using transfer learning models. Images were obtained from an updated, publicly available version of the Paul Pulmonary Chest X-ray dataset. To extract meaningful features, a pretrained DenseNet121 network was utilized. Various transfer learning architectures, such as VGG16, ResNet50, InceptionV3, and DenseNet121, were trained and tested in this work. All architectures employed a unified MLP classification head to refine the extracted features and generate the final prediction. Model performance metrics include accuracy, precision, recall, F1 score, confusion matrix, AUC, and loss curves. Among them, DenseNet121 produced the highest accuracy of 89% and yielded an AUC of 0.96. The findings have shown that deep learning models, especially DenseNet121, can effectively detect pneumonia from chest X-rays, hence providing a very important tool for the radiologist and healthcare professional to improve both the speed and accuracy of diagnosis.

Keywords

Pneumonia, Chest X-ray, Transfer Learning Models, Feature Extractions.

References

[1] Shagun Sharma, and Kalpna Guleria, “A Systematic Literature Review on Deep Learning Approaches for Pneumonia Detection using Chest X-Ray Images,” Multimedia Tools and Applications, vol. 83, no. 8, pp. 24101-24151, 2024.
[
CrossRef] [Google Scholar] [Publisher Link]

[2] Abdullahi Umar Ibrahim et al., “Pneumonia Classification using Deep Learning from Chest X-Ray Images During COVID-19,” Cognitive Computation, vol. 16, no. 4, pp. 1589-1601, 2024.
[
CrossRef] [Google Scholar] [Publisher Link]

[3] Sangapu Sreenivasa Chakravarthi et al., “Pneumonia Detection using Chest X-Rays: A Comprehensive Review,” International Conference on Computational Intelligence in Data Science, Chennai, India, vol. 2, pp. 292-305, 2024.
[
CrossRef] [Google Scholar] [Publisher Link]

[4] Davide Ippolito et al., “Artificial Intelligence Applied to Chest X-ray: A Reliable Tool to Assess the Differential Diagnosis of Lung Pneumonia in the Emergency Department,” Diseases, vol. 11, no. 4, pp. 1-13, 2023.
[
CrossRef] [Google Scholar] [Publisher Link]

[5] Rezaul Haque et al., “A Scalable Solution for Pneumonia Diagnosis: Transfer Learning for Chest X-Ray Analysis,” 2024 7th International Conference on Contemporary Computing and Informatics (IC3I), Greater Noida, India, pp. 255-262, 2024.
[
CrossRef] [Google Scholar] [Publisher Link]

[6] Chanhoe Gu, and Minhyeok Lee, “Deep Transfer Learning using Real-World Image Features for Medical Image Classification, with a Case Study on Pneumonia X-Ray Images,” Bioengineering, vol. 11, no. 4, pp. 1-21, 2024.
[
CrossRef] [Google Scholar] [Publisher Link]

[7] Zaenab Alammar et al., “Deep Transfer Learning with Enhanced Feature Fusion for Detection of Abnormalities in X-Ray Images,” Cancers, vol. 15, no. 15, pp. 1-36, 2023.
[
CrossRef] [Google Scholar] [Publisher Link]

[8] Vivek Yadav, Saksham Shrivastava, and Ajay Pal Singh, “Enhanced Pneumonia Detection using Deep Learning Techniques on Chest X-Rays,” 2024 2nd International Conference on Advances in Computation, Communication and Information Technology (ICAICCIT), Faridabad, India, pp. 923-929, 2024.
[
CrossRef] [Google Scholar] [Publisher Link]

[9] Ahmad Waleed Salehi et al., “A Study of CNN and Transfer Learning in Medical Imaging: Advantages, Challenges, Future Scope,” Sustainability, vol. 15, no. 7, pp. 1-28, 2023.
[
CrossRef] [Google Scholar] [Publisher Link]

[10] Wasif Khan, Nazar Zaki, and Luqman Ali, “Intelligent Pneumonia Identification from Chest X-Rays: A Systematic Literature Review,” IEEE Access, vol. 9, pp. 51747-51771, 2021.
[
CrossRef] [Google Scholar] [Publisher Link]

[11] Rakhmonalieva Farangis Oybek Kizi, Tagne Poupi Theodore Armand, and Hee-Cheol Kim, “A Review of Deep Learning Techniques for Leukemia Cancer Classification Based on Blood Smear Images,” Applied Biosciences, vol. 4, no. 1, pp. 1-32, 2025.
[
CrossRef] [Google Scholar] [Publisher Link]

[12] Faisal Alshanketi et al., “Pneumonia Detection from Chest X-Ray Images using Deep Learning and Transfer Learning for Imbalanced Datasets,” Journal of Imaging Informatics in Medicine, vol. 38, no. 4, pp. 2021-2040, 2024.
[
CrossRef] [Google Scholar] [Publisher Link]

[13] Dejun Zhang et al., “Pneumonia Detection from Chest X-Ray Images based on Convolutional Neural Network,” Electronics, vol. 10, no. 13, pp. 1-17, 2021.
[
CrossRef] [Google Scholar] [Publisher Link]

[14] Houmem Slimi et al., “Trustworthy Pneumonia Detection in Chest X-Ray Imaging through Attention-Guided Deep Learning,” Scientific Reports, vol. 15, no. 1, pp. 1-15, 2025.
[
CrossRef] [Google Scholar] [Publisher Link]

[15] Sukhendra Singh et al., “Efficient Pneumonia Detection using Vision Transformers on Chest X-Rays,” Scientific Reports, vol. 14, no. 1, pp. 1-17, 2024.
[
CrossRef] [Google Scholar] [Publisher Link]

[16] Erdem Yanar, Fırat Hardalaç, and Kubilay Ayturan, “PELM: A Deep Learning Model for Early Detection of Pneumonia in Chest Radiography,” Applied Sciences, vol. 15, no. 12, pp. 1-28, 2025.
[
CrossRef] [Google Scholar] [Publisher Link]

[17] Benzorgat Mustapha et al., “Enhanced Pneumonia Detection in Chest X-Rays Using Hybrid Convolutional and Vision Transformer Networks,” Current Medical Imaging, vol. 21, no. 1, pp. 1-23, 2025.
[
CrossRef] [Google Scholar] [Publisher Link]

[18] Mitul Ambaliya et al., “Enhancing Pneumonia Detection Transparency: Exploring Explainable AI Model,” International Conference on Power Engineering and Intelligent Systems (PEIS), Srinagar, India, vol. 2, pp. 465-478, 2024.
[
CrossRef] [Google Scholar] [Publisher Link]

[19] Somak Saha et al., “Explainable SE-MobileNet for Pneumonia Detection Integrated with Robustness Assessment using Adversarial Examples,” Smart Health, vol. 33, 2024.
[
CrossRef] [Google Scholar] [Publisher Link]

[20] Nahid Islam et al., “COVID-19 and Pneumonia Detection and Web Deployment from CT Scan and X-Ray Images using Deep Learning,” PLOS One, vol. 19, no. 7, pp. 1-21, 2024.
[
CrossRef] [Google Scholar] [Publisher Link]

[21] Paulo Breviglieri, Pneumonia X-Ray Images, Kaggle, 2020. [Online]. Available: https://www.kaggle.com/datasets/pcbreviglieri/pneumonia-xray-images

[22] Li-Heng Chen et al., “Estimating the Resize Parameter in End-to-End Learned Image Compression,” Signal Processing: Image Communication, vol. 135, 2025.
[
CrossRef] [Google Scholar] [Publisher Link]

[23] Alhassan Mumuni, and Fuseini Mumuni, “Data Augmentation with Automated Machine Learning: Approaches and Performance Comparison with Classical Data Augmentation Methods,” Knowledge and Information Systems, vol. 67, no. 5, pp. 4035-4085, 2025.
[
CrossRef] [Google Scholar] [Publisher Link]

[24] Chittathuru Himala Praharsha, and Alwin Poulose, “CBAM VGG16: An Efficient Driver Distraction Classification using CBAM Embedded VGG16 Architecture,” Computers in Biology and Medicine, vol. 180, 2024.
[
CrossRef] [Google Scholar] [Publisher Link]

[25] Pouya Bohlol, Soleiman Hosseinpour, and Mahmoud Soltani Firouz, “Improved Food Recognition using a Refined ResNet50 Architecture with Improved Fully Connected Layers,” Current Research in Food Science, vol. 10, pp. 1-16, 2025.
[
CrossRef] [Google Scholar] [Publisher Link]

[26] Md Abu Hanif, Md Khadimul Islam Zim, and Harpreet Kaur, “ResNet vs Inception-v3 vs SVM: A Comparative Study of Deep Learning Models for Image Classification of Plant Disease Detection,” 2024 IEEE International Conference on Interdisciplinary Approaches in Technology and Management for Social Innovation (IATMSI), Gwalior, India, pp. 1-6, 2024.
[
CrossRef] [Google Scholar] [Publisher Link]

[27] M. Kavitha et al., “DenseNet-121 Architecture for Plant Leaf Disease Classification,” AIP Conference Proceedings, International Virtual Conference on Machine Learning Applications in Applied Sciences and Mathematics: IVCMASM2022, Chennai, India, vol. 2802, no. 1, 2024.
[
CrossRef] [Google Scholar] [Publisher Link]

[28] Dias Nessipkhanov et al., “Deep CNN for the Identification of Pneumonia Respiratory Disease in Chest X-Ray Imagery,” International Journal of Advanced Computer Science and Applications (IJACSA), vol. 14, no. 10, pp. 652-661, 2023.
[
CrossRef] [Google Scholar] [Publisher Link]

[29] Mudasir Ali et al., “Pneumonia Detection using Chest Radiographs with Novel EfficientNetV2L Model,” IEEE Access, vol. 12, pp. 34691-34707, 2024.
[
CrossRef] [Google Scholar] [Publisher Link]