Investigating the Potential of Auxiliary-Classifier Gans for Image Classification in Low Data Regimes

Amil Dravid, Florian Schiffers, Yunan Wu, Oliver Cossairt, Aggelos K. Katsaggelos

Abstract

Deep learning models typically require vast amounts of labeled data, which is often unavailable in specialized domains like medical imaging. This paper investigates the use of Auxiliary-Classifier GANs (AC-GANs) as a unified solution for both image generation and classification in low-data regimes. By implementing Wasserstein loss with gradient penalty and a novel "truncation trick" for latent space sampling, the proposed WAC-GAN-GPT framework demonstrates superior classification performance and robustness compared to standard convolutional neural networks (CNNs).

Introduction

Convolutional Neural Networks (CNNs) are the standard for image classification but are notoriously data-hungry. In fields where data is scarce, Generative Adversarial Networks (GANs) are often used to augment datasets. However, this typically involves a disjointed two-stage process: training a GAN to generate data, then training a separate classifier. This research explores whether the internal auxiliary classifier of an AC-GAN can be optimized to serve as the primary classification model, effectively bridging the performance gap between GAN-based classifiers and standalone CNNs.

Methodology: The WAC-GAN-GPT Framework

The authors propose WAC-GAN-GPT (Wasserstein AC-GAN with Gradient Penalty and Truncation), introducing three critical modifications to the standard AC-GAN architecture:

  1. Wasserstein Loss with Gradient Penalty (WAC-GAN-GP): To address training instability and mode collapse, Wasserstein loss provides stable gradients, allowing for longer training sessions necessary for optimizing the classification task.
  2. The Truncation Trick: This is a pivotal adaptation for improving classification. While standard GANs sample from a full normal distribution, the truncation trick limits sampling to values closer to the mean. This prioritizes image fidelity over diversity. By feeding these high-quality synthetic images to the discriminator, the model learns more robust class features.
  3. Loss Weighting: A weight parameter ($\omega$) balances the discriminator's dual objectives: distinguishing real from fake images and correctly identifying image classes.
Comparison of full vs. truncated latent space distributions for image generation.

Experimental Setup

The framework was evaluated across several datasets to test its versatility and robustness:

  • Fashion-MNIST: 28x28 grayscale clothing images.
  • CIFAR-10 & CIFAR 10.1v6: Used to measure performance on natural objects and generalization under distribution shifts.
  • COVID-19 Radiography Database: 128x128 chest X-rays to validate the model on high-resolution medical data.

Results and Discussion

The WAC-GAN-GPT consistently outperformed baseline CNNs, particularly in scenarios with limited training samples.

Classification Performance

In low-data settings (e.g., 500 samples of Fashion-MNIST), the model achieved 79.8% accuracy, surpassing the standard CNN's 77.5%. On the COVID-19 dataset, it reached 97.6% accuracy, a significant improvement over the 94.0% baseline.

Robustness and Generalization

A key finding was the model's ability to generalize. When transitioning from CIFAR-10 to the shifted CIFAR 10.1v6 dataset, the WAC-GAN-GPT experienced a smaller performance drop (14%) compared to the standard CNN (17%). This suggests that the GAN's requirement to learn the underlying data distribution leads to more meaningful feature extraction rather than simple pattern matching.

t-SNE visualization comparing the distribution of true samples vs. AC-GAN generated samples.

Fidelity vs. Diversity

The success of the truncation trick highlights that for early-stage learning with small datasets, high-fidelity "typical" examples are more beneficial for a classifier than a wide variety of low-quality edge cases.

Conclusion

The WAC-GAN-GPT framework demonstrates that AC-GANs can be effectively repurposed as high-performing classifiers in data-scarce environments. While the approach shows great promise, its efficacy remains dependent on a minimum threshold of data quality to avoid generating misleading samples. Future work will explore integrating advanced GAN techniques like Adaptive Discriminator Augmentation to further push the boundaries of low-data image classification.

Summary updated

BibTeX
@inproceedings{dravid2022investigating,
  author = {Amil Dravid and Florian Schiffers and Yunan Wu and Oliver Cossairt and Aggelos K. Katsaggelos},
  title = {{Investigating the Potential of Auxiliary-Classifier Gans for Image Classification in Low Data Regimes}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2022},
  doi = {10.1109/icassp43922.2022.9747286},
}
Figure