arXiv:2609.06276cs.CVSep 2026

Manuscript Offprint

arXiv:2609.06276

A Comparative Study of GAN-Based Deep Learning Models for Pneumonia Detection in Chest X-Rays

Roshan Paudel, Aashish Ghimire, Pramod Acharya

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Roshan Paudel*, Aashish Ghimire*, Pramod Acharya*

*Department of Computer Science, University of South Dakota

roshan.paudel@coyotes.usd.edu, aashish.ghimire@coyotes.usd.edu,

pramod.acharya@coyotes.usd.edu

Abstract—This study evaluates pneumonia classification in chest X-rays using VGG19, MobileNetV2, ResNet50, and a custom CNN, and explores Generative Adversarial Network (GAN)-based synthetic data augmentation. MobileNetV2 achieved the highest reported accuracy of 88% with balanced class-wise performance. The custom CNN achieved pneumonia recall of 92.67% and precision of 79.43%, highlighting a precision-recall trade-off. Accuracy, F1-score, precision, recall, confusion matrices, and training curves were used to assess performance.

Synthetic pneumonia images were combined with real images to investigate whether augmentation could improve classification performance. In the reported VGG19 comparison, augmented-data training accuracy reached approximately 100%, while validation accuracy remained near 50%, below the real-data validation accuracy. This experiment therefore did not demonstrate a validation-performance benefit from GAN augmentation. The classifier comparison highlights differences in accuracy and pneumonia recall, while the augmentation experiment indicates the need for further evaluation of synthetic-image quality and training settings.

Index Terms—GAN, Data Augmentation, Pneumonia Detection, Deep Learning Models

I. INTRODUCTION

Pneumonia is a serious health problem worldwide, and its timely diagnosis is very important for effective treatment. Chest X-rays are the first line of diagnosis, but the performance of any machine-learning model is limited by the availability of labeled medical data, especially positive pneumonia cases. Traditional augmentation techniques, such as rotation and flipping of images, are usually used to artificially increase the size of a dataset. However, these methods may not capture all clinically relevant variation, motivating investigation of additional augmentation strategies [1].

Recent advances have explored the use of GANs to generate synthetic medical images, but achieving high-resolution outputs with diagnostic accuracy remains a challenge. This project investigates GAN-based generation of synthetic pneumonia chest X-rays as a possible approach to supplementing real training data. The intended benefit is to introduce additional image variation; whether this improves generalization must be assessed experimentally. SSIM and PSNR can assess aspects of image similarity, but do not by themselves establish diagnostic validity or usefulness as training data [1], [2]. Recent studies have also investigated alternative representations of

chest X-ray images for pulmonary abnormality screening. For example, Chataut et al. [3] explored shape-aware thoracic edge-map representations for pulmonary abnormality classification, demonstrating that complementary structural and texture information can be useful for chest X-ray analysis.

This study compares a custom CNN with transfer learning-based MobileNetV2, VGG19, and ResNet50 models and explores the effect of synthetic data augmentation. These architectures provide different approaches to image classification. Integrating synthetic data with real images is intended to improve training-data variation, with performance assessed using accuracy, precision, and recall. The reported experiments examine both the classification performance of the selected models and the limitations of the implemented GAN augmentation approach [4].

References (18)