[Paper Review] EC-GAN: Low-Sample Classification using Semi-Supervised Algorithms and GANs
EC-GAN proposes a novel semi-supervised GAN framework that attaches an external classifier to the generator, decoupling classification from discrimination to improve performance in low-sample, fully-supervised image classification tasks. It achieves state-of-the-art accuracy on small, real-world datasets—reaching 97.99% on 100% of the X-ray dataset—by generating class-balanced synthetic data and using a weighted adversarial loss to stabilize training.
Semi-supervised learning has been gaining attention as it allows for performing image analysis tasks such as classification with limited labeled data. Some popular algorithms using Generative Adversarial Networks (GANs) for semi-supervised classification share a single architecture for classification and discrimination. However, this may require a model to converge to a separate data distribution for each task, which may reduce overall performance. While progress in semi-supervised learning has been made, less addressed are small-scale, fully-supervised tasks where even unlabeled data is unavailable and unattainable. We therefore, propose a novel GAN model namely External Classifier GAN (EC-GAN), that utilizes GANs and semi-supervised algorithms to improve classification in fully-supervised regimes. Our method leverages a GAN to generate artificial data used to supplement supervised classification. More specifically, we attach an external classifier, hence the name EC-GAN, to the GAN's generator, as opposed to sharing an architecture with the discriminator. Our experiments demonstrate that EC-GAN's performance is comparable to the shared architecture method, far superior to the standard data augmentation and regularization-based approach, and effective on a small, realistic dataset.
Motivation & Objective
- Address the challenge of fully-supervised image classification with extremely limited labeled data, where even unlabeled data is unavailable.
- Improve classification performance in restricted data regimes by leveraging synthetic data generation via GANs.
- Decouple the classification and discrimination tasks in GANs to avoid performance degradation from shared architectures.
- Demonstrate effectiveness on small, realistic datasets such as medical X-ray images with strong class imbalance.
- Validate the method through ablation studies and comparisons with standard data augmentation and regularization techniques.
Proposed method
- Introduce EC-GAN, a GAN architecture where a separate external classifier is attached to the generator, decoupling classification from the discriminator.
- Use a conditional GAN to generate class-balanced synthetic images by conditioning the generator and discriminator on class labels.
- Apply a weighted unsupervised loss (adversarial weight λ) to balance the contribution of real labeled data and generated fake data during training.
- Incorporate L2 regularization to improve training stability and generalization, especially in low-data regimes.
- Train the generator to produce realistic, class-specific images that supplement the limited real training data.
- Use a multi-task training objective where the generator is optimized for both realism (via discriminator feedback) and classification accuracy (via external classifier).
Experimental results
Research questions
- RQ1Can a GAN-based approach significantly improve classification accuracy in fully-supervised, low-sample datasets where even unlabeled data is unavailable?
- RQ2Does decoupling the classifier from the discriminator in a GAN architecture lead to better performance than shared-architecture GANs in low-data regimes?
- RQ3How effective is the use of synthetic data generated by a conditional GAN in improving classifier performance on imbalanced, real-world datasets?
- RQ4What is the optimal trade-off between supervised and unsupervised loss (i.e., adversarial weight λ) for stabilizing training and improving accuracy?
- RQ5How does EC-GAN compare to standard data augmentation and regularization techniques in small-data settings?
Key findings
- EC-GAN achieved 97.99% test accuracy on the full X-ray dataset (100% of training data), significantly outperforming the baseline classifier (96.42%) and standard data augmentation methods.
- With only 25% of the training data (200 images total), EC-GAN achieved 96.48% accuracy, demonstrating strong performance in extreme low-sample regimes.
- On a 100-image-per-class setup (200 images total), EC-GAN reached 90.9% accuracy, highlighting its effectiveness in highly restricted data settings.
- The addition of a weighted unsupervised loss (λ = 0.1) improved accuracy by over 10 percentage points compared to the baseline, proving critical for leveraging synthetic data.
- EC-GAN with L2 regularization outperformed both data augmentation and combined augmentation+regularization, showing superior consistency across dataset sizes.
- Ablation studies confirmed that the external classifier design and conditional GAN-based data generation were key to performance, especially in handling class imbalance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.