Robust conditional GANs under missing or uncertain labels

Kiran Koshy Thekumparampil, Sewoong Oh, Ashish Khetan

Abstract: Matching the performance of conditional Generative Adversarial Networks with little supervision is an important task, especially in venturing into new domains. We design a new training algorithm, which is robust to missing or ambiguous labels. The main idea is to intentionally corrupt the labels of generated examples to match the statistics of the real data, and have a discriminator process the real and generated examples with corrupted labels. We showcase the robustness of this proposed approach both theoretically and empirically. We show that minimizing the proposed loss is equivalent to minimizing true divergence between real and generated data up to a multiplicative factor, and characterize this multiplicative factor as a function of the statistics of the uncertain labels. Experiments on MNIST dataset demonstrates that proposed architecture is able to achieve high accuracy in generating examples faithful to the class even with only a few examples per class.

Introduction

Conditional Generative Adversarial Networks (cGANs) have demonstrated remarkable success in generating high-quality, class-specific data. However, their performance typically hinges on the availability of large, accurately labeled datasets. In many real-world applications, obtaining such perfect labels is prohibitively expensive or practically impossible. Instead, researchers often have access to "uncertain" labels, which may be missing, coarse, or even complementary. This paper introduces Robust cGAN (RCGAN), a novel architecture designed to thrive in these low-supervision environments by leveraging a unified framework for handling label ambiguity.

The Challenge of Uncertain Labels

Standard cGANs struggle when labels are not perfectly clean. The authors identify several common types of label uncertainty:

  • Missing Labels: The classic semi-supervised setting where only a small fraction of the data is labeled.
  • Complementary Labels: Information about what a sample is not (e.g., "this image is not a dog").
  • Group/Membership Labels: Coarse-grained labels (e.g., "this is an animal") that lack specific class information.

RCGAN aims to utilize these cheaper, ambiguous labels to learn the true underlying data distribution without the need for fragile pre-processing steps like pseudo-labeling.

The RCGAN Architecture

The core innovation of RCGAN is the principle of symmetry in corruption. Rather than attempting to "clean" noisy real-world labels or infer missing ones, the authors propose intentionally corrupting the labels of the generated examples to match the noise profile of the real data.

The RCGAN architecture: Labels of generated examples are corrupted to match real data statistics.

As shown in the architecture diagram, the uncertainty in the real data is modeled by a known confusion matrix (or erasure channel). During training:

  1. The generator $G$ creates an image $x$ based on a target label $y$ and noise $z$.
  2. The algorithm artificially corrupts this target label $y$ into $\tilde{y}$ using the same uncertainty model that affects the real data.
  3. The discriminator $D$ is then trained to distinguish between pairs of (real image, corrupted real label) and (generated image, artificially corrupted generated label).

Theoretical Insights

The authors provide a theoretical guarantee for this approach: minimizing the divergence between the corrupted real and generated distributions is mathematically equivalent to minimizing the divergence between the true underlying distributions, up to a bounded multiplicative factor. This factor is characterized as a function of the statistics of the uncertain labels, providing a rigorous foundation for the robustness of RCGAN.

Experimental Results

The effectiveness of RCGAN was evaluated on the MNIST dataset under various levels of label scarcity. In standard semi-supervised tasks (e.g., 20% labeled data), RCGAN achieves approximately 99% generated label accuracy.

Qualitative comparison between RCGAN and S3-GAN on MNIST with varying numbers of labeled samples (n).

The architecture's strength is most apparent in extreme low-label regimes. With as few as 40 labeled examples total (only 4 per digit class), RCGAN achieves 97.8% generated label accuracy, significantly outperforming the state-of-the-art S3-GAN baseline, which reaches only 75.8%. Qualitatively, RCGAN maintains high class consistency even with only 10 total labels, whereas baselines often suffer from significant class confusion.

Conclusion and Future Work

RCGAN offers a robust and unified framework for training conditional GANs with imperfect supervision. By bypassing the need for separate classifier training or pseudo-labeling, it provides a more stable and efficient path to high-quality data generation in data-constrained domains. Future research will focus on estimating the confusion matrix for complex real-world noise and extending the empirical validation to more complex datasets like CIFAR and ImageNet.

Summary updated

BibTeX
@misc{thekumparampil2019robust,
  author = {Kiran Koshy Thekumparampil and Sewoong Oh and Ashish Khetan},
  title = {{Robust conditional GANs under missing or uncertain labels}},
  year = {2019},
  eprint = {1906.03579},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1906.03579},
}
Figure