Abstract
A common problem in computer vision—particularly in medical applications—is a lack of sufficiently diverse, large sets of training data. These datasets often suffer from severe class imbalance. As a result, networks often overfit and are unable to generalize to novel examples. Generative Adversarial Networks (GANs) offer a novel method of synthetic data augmentation. In this work, we evaluate the use of GAN-based data augmentation to artificially expand the CheXpert dataset of chest radiographs. We compare performance to traditional augmentation and find that GAN-based augmentation leads to higher downstream performance for underrepresented classes. Furthermore, we see that this result is pronounced in low data regimens. This suggests that GAN-based augmentation is a promising area of research to improve network performance when data collection is prohibitively expensive.
Introduction
Deep learning models, particularly Convolutional Neural Networks (CNNs), have demonstrated remarkable potential in medical diagnostics. However, their performance is often hampered by the "data hunger" of these architectures. Medical datasets are notoriously difficult to curate due to high costs, privacy concerns, and the time required for expert labeling. A significant hurdle is class imbalance: while common conditions are well-represented, rare but critical pathologies like specific fractures or lesions are scarce. This leads to models that overfit to majority classes and fail to generalize. This study investigates whether Generative Adversarial Networks (GANs) can mitigate these issues by synthesizing images of rare pathologies to balance datasets, particularly in data-constrained environments.
Methodology
The researchers implemented a two-stage pipeline focusing on data generation and subsequent classification using the CheXpert dataset, which contains over 224,000 radiographs.
Data Generation via Conditional GAN
A Conditional GAN, progressively pretrained on a large corpus of chest X-rays, was utilized to produce realistic synthetic radiographs. By providing specific label vectors, the GAN was directed to generate images containing underrepresented pathologies—specifically Lung Lesion, Pleural Other, and Fracture—while maintaining the natural co-occurrence of other conditions. The goal was to ensure these rare classes comprised at least 15% of the final training set.
Classification and Evaluation
A DenseNet-121 architecture served as the primary classifier. To evaluate the impact of GAN-based augmentation, the model was tested against two baselines:
- No Augmentation: Training on the original imbalanced data.
- Standard Augmentation: Applying random horizontal and vertical flips.
The experiments were conducted across varying data availability regimens (1%, 10%, 50%, and 100% of the dataset) to identify the conditions under which synthetic data provides the most benefit.
Results and Discussion
The study revealed a clear relationship between the volume of available real data and the efficacy of GAN-based augmentation.
Performance in Low-Data Regimens
The most significant improvements were observed in the 1% data regimen. Compared to the no-augmentation baseline, GAN augmentation increased ROC-AUC scores for all targeted rare pathologies:
- Lung Lesions: 0.727 to 0.758 (+0.031)
- Pleural Other: 0.566 to 0.594 (+0.028)
- Fractures: 0.583 to 0.656 (+0.073)
In the 10% regimen, GAN augmentation consistently outperformed both standard and no-augmentation baselines across all three rare pathologies.
Diminishing Returns and Standard Augmentation Pitfalls
As the amount of real data increased to 50% and 100%, the advantages of synthetic augmentation diminished, with performance aligning closely with the no-augmentation baseline. Interestingly, standard augmentation (flipping) was found to be detrimental in larger regimens. This is likely due to the inherent asymmetry of human anatomy (e.g., the heart's position), where flipping creates anatomically incorrect training examples that confuse the model.
Analysis of Class Activation Maps (CAMs) confirmed that the classifier focused on identical anatomical regions in both real and synthetic images, validating that the GAN successfully captured meaningful diagnostic features rather than superficial artifacts.
Conclusion
GAN-based data augmentation is a powerful strategy for improving diagnostic accuracy when real-world data is scarce or highly imbalanced. However, the reliance on a GAN pretrained on a large dataset presents a "pretraining paradox" for truly data-poor environments. Future research should explore the feasibility of training GANs on smaller datasets and investigate alternative standard augmentation techniques, such as color jittering or blurring, which may be more appropriate for asymmetrical medical images than simple flipping.
Summary updated