Informative sample generation using class aware generative adversarial networks for classification of chest Xrays

Behzad Bozorgtabar, Dwarikanath Mahapatra, Hendrik von Teng, Alexander Pollinger, Lukas Ebner, Jean-Philippe Thiran, Mauricio Reyes · DOI

Abstract

Deep learning models for medical imaging often suffer from data scarcity and class imbalance. This paper presents a novel framework that integrates Active Learning (AL) with a Class-Aware Generative Adversarial Network (CAGAN). By identifying the most informative samples via a Bayesian Neural Network and generating synthetic, anatomy-preserving images for underrepresented classes, the proposed method achieves state-of-the-art performance on the NIH ChestXray-14 dataset using only 35% of the total training data.

Introduction

The development of robust deep learning models for medical diagnosis is frequently hindered by three primary challenges: the scarcity of expert-labeled data, significant class imbalance (where "Normal" cases dominate), and data redundancy. Many images in large datasets are "easy" cases that do not contribute significantly to the model's learning of complex pathological features.

To address these issues, we propose a framework that focuses on "informative" sample generation. By prioritizing samples with high model uncertainty and synthetically balancing the dataset, we reduce the labeling burden on radiologists while improving accuracy for rare diseases.

Methodology

Active Learning via Bayesian Neural Networks

The framework utilizes a Bayesian Neural Network (BNN) to estimate uncertainty. Unlike deterministic models, the BNN employs Monte Carlo Dropout during inference to provide a distribution of outputs. Images that yield high epistemic (model) or aleatoric (data) uncertainty are flagged as informative, indicating that the model requires more information to classify them accurately.

Class-Aware GAN (CAGAN)

The core of the generative component is the Class-Aware GAN (CAGAN), designed to maintain anatomical integrity—a common failure point for standard GANs in medical imaging.

The CAGAN architecture integrates a fixed U-Net for lung segmentation to preserve anatomical structure while the discriminator handles both authenticity and class categorization.

As shown in Figure 1, the CAGAN architecture incorporates:

  • Anatomy Preservation: A pre-trained, fixed U-Net provides a latent representation ($z$) of the lung segmentation, ensuring the generated images adhere to realistic lung shapes.
  • Class Translation: The model can translate an image from a source class (e.g., "Normal") to a target disease class (e.g., "Nodule") by transferring learned pathological characteristics.
  • Multi-Component Loss: The training objective combines adversarial loss, classification loss, and a content loss (comprising VGG-based feature similarity, Mean Squared Error, and Normalized Mutual Information) to ensure visual and clinical realism.

Experimental Results

Data Efficiency and Performance

The framework was evaluated on the NIH ChestXray-14 dataset (112,120 images) and the SCR database. A key finding was that the model achieved state-of-the-art Area Under the Curve (AUC) scores using only 35% of the training data. For the "Infiltration" pathology, the AL-based DenseNet reached an AUC of approximately 0.78, outperforming standard supervised learning models trained on equivalent data volumes.

Clinical Plausibility

To validate the medical relevance of the synthetic images, three experienced radiologists reviewed 90 GAN-generated samples.

Examples of synthetic images generated by the CAGAN, showing localized disease features (e.g., nodules) highlighted for clinical review.

The review (Figure 2) showed full diagnostic agreement for 61% of the cases and partial agreement for 72%. This suggests that the CAGAN successfully generates medically relevant features rather than just visual artifacts.

Discussion and Conclusion

The proposed framework demonstrates that "quality over quantity" is a viable strategy for medical imaging. By targeting augmentation toward samples the model finds confusing, the CAGAN provides a more effective training signal than traditional geometric transformations.

However, limitations remain. Radiologists noted that subtle conditions, such as small nodules, can be difficult to discern in synthetic images due to resolution constraints. Future work will explore extending this framework to 3D volumes (CT scans) and improving domain adaptation to ensure robustness across different imaging hardware and protocols.

Summary updated

BibTeX
@article{bozorgtabar2019informative,
  author = {Behzad Bozorgtabar and Dwarikanath Mahapatra and Hendrik von Teng and Alexander Pollinger and Lukas Ebner and Jean-Philippe Thiran and Mauricio Reyes},
  title = {{Informative sample generation using class aware generative adversarial networks for classification of chest Xrays}},
  journal = {Comput. Vis. Image Underst.},
  year = {2019},
  doi = {10.1016/j.cviu.2019.04.007},
}
Figure