Introduction
Training high-fidelity conditional Generative Adversarial Networks (cGANs) typically necessitates massive, meticulously labeled datasets. This requirement poses a significant barrier for domains where expert labeling is expensive or impractical. While semi-supervised GANs (ssGANs) were developed to leverage unlabeled data, they generally operate under a "closed-set" assumption—the belief that all unlabeled samples belong strictly to the predefined categories. OSSGAN (Open-Set Semi-Supervised GAN) addresses the reality of "messy" data, where unlabeled sets often contain "open-set" samples from unknown categories that the model was never intended to learn.
The Problem with Closed-Set Assumptions
In practical data collection, noise is inevitable. If a model is being trained to generate "Birds" and "Fish," the unlabeled pool might inadvertently include "Tigers" or "Airplanes." Traditional ssGANs struggle in these scenarios; they attempt to force-classify these "alien" samples into known categories. This misclassification introduces significant noise into the training process, leading to degraded image quality and a failure to capture the true distribution of the target classes.
Methodology: Moving Beyond Hard Thresholds
The core innovation of OSSGAN is a move away from "hard thresholds." Previous attempts to solve this, such as the authors' "RejectGAN" baseline, utilized confidence thresholds to discard uncertain samples (e.g., discarding any image where the model is less than 90% confident). However, these thresholds are notoriously difficult to tune and often discard useful visual information.
Instead, OSSGAN utilizes Entropy Regularization:
- Auxiliary Classifier: A classifier is trained on the limited available labeled data.
- Entropy as a Proxy for Confidence: For unlabeled images, the model calculates the entropy of the classifier’s prediction. Low entropy suggests a "closed-set" sample (known class), while high entropy indicates an "open-set" sample (unknown class).
- Smooth Integration: Rather than a binary "keep or discard" decision, OSSGAN passes the raw probability distribution from the classifier directly to the Discriminator. This allows the Discriminator to dynamically weight the importance of each sample, effectively learning from the general visual features of open-set data without being forced to mislabel them.
Experimental Evaluation
The researchers evaluated OSSGAN on two primary benchmarks, modified to simulate real-world "messy" conditions:
- Tiny ImageNet: Evaluated across 12 configurations by varying the number of "known" classes (50, 100, or 150) and the ratio of labeled to unlabeled data.
- ImageNet (ILSVRC2012): A high-resolution (128x128) test using only 1% of the original labels to simulate extreme label scarcity.
Key Results and Insights
OSSGAN demonstrated significant improvements in both image quality (measured by Fréchet Inception Distance, or FID) and diversity (Inception Score).
- Superior Performance: On Tiny ImageNet (100-class setup), OSSGAN achieved an FID of 28.19, outperforming the next best semi-supervised method, $S^3GAN$, which trailed at 29.19.
- Label Efficiency: OSSGAN achieved performance comparable to the fully supervised BigGAN while using up to five times fewer labeled samples.
- Robustness to Noise: A striking insight from the study is that open-set data is not merely "noise" to be deleted. By using entropy to quantify uncertainty, the model benefits from the underlying visual structures of unknown classes without the negative impact of incorrect labeling.
- High-Resolution Success: On the 1% ImageNet benchmark, OSSGAN achieved an FID of 78.43, vastly outperforming $S^3GAN$ (180.30) and RandomGAN (105.71).
Conclusion and Future Work
OSSGAN represents a significant step toward making high-quality image generation accessible with minimal labeling. By replacing brittle, manual thresholds with a continuous entropy-based weighting system, it handles real-world data messiness effectively. While the system's success is currently tied to the initial performance of the auxiliary classifier, future work may explore self-supervised pre-training to make the framework even more robust in niche domains where labels are nearly impossible to obtain.
Summary updated