GANs for learning from very high class conditional noisy labels

Sandhya Tripathi, N. HemachandraarXiv 2020

Abstract

Training deep learning models typically requires large-scale, accurately labeled datasets. However, in many practical applications, labels are sourced from unreliable or automated processes, resulting in Class Conditional label Noise (CCN). When noise levels become extreme—approaching 50%—standard discriminative classification techniques often fail. This paper proposes a generative solution using Wasserstein GANs (WGANs) to synthesize a clean dataset from noisy training data, requiring only a minimal "gold fraction" (0.1% to 1%) of guaranteed clean labels.

Introduction

The efficacy of deep learning is heavily dependent on the availability of high-quality labeled data. In real-world scenarios, labels are often collected from noisy sources like web crawling or non-expert crowdsourcing, leading to Class Conditional label Noise (CCN). In CCN, the probability of a label being incorrect depends on its true underlying class. For instance, in an image recognition task, "7s" might be frequently mislabeled as "9s," while the reverse is rare. When noise levels become extreme, standard discriminative classification techniques often fail to recover the true distribution.

This research explores a generative approach to mitigate the impact of extreme CCN. By leveraging the properties of Wasserstein GANs (WGANs), the authors demonstrate that it is possible to generate a high-quality synthetic dataset that mimics the clean data distribution, even when the vast majority of the training labels are incorrect.

Problem Statement

Most existing noise-robust methods are discriminative, focusing on robust loss functions or estimating a noise transition matrix to correct errors. These methods struggle under high noise rates or when noise is class-conditional. Furthermore, extreme CCN can flip class proportions in imbalanced datasets, making it nearly impossible for standard classifiers to identify the true majority and minority classes. The authors aim for a method that remains stable without explicit noise rate estimation, even when labels are nearly random.

Proposed Methodology: A Two-Stage Framework

The researchers introduce a two-stage framework centered on generative modeling to bypass the limitations of discriminative approaches.

Schematic of the two-stage WGAN-based framework for learning from noisy labels. Stage 1 generates clean data, and Stage 2 trains the final classifier.

Stage 1: Generative Data Cleaning

Instead of correcting noisy labels directly, the framework uses a WGAN to generate entirely new feature-label pairs $(x', y')$.

  • Discriminator ($D_{dn}$): This component is fed a tiny "gold fraction" of guaranteed clean data. Its primary role is to distinguish between these true clean samples and the synthetic samples produced by the generator.
  • Generator ($G_{dn}$): The generator is fed the large set of noisy data. Its objective is to transform these noisy samples into new samples that the discriminator accepts as "clean."

Addressing the Dimension Gap: WGANXtraY(k)

A significant challenge in generating feature-label pairs is the "skewed dimension ratio." For example, an MNIST image contains 784 features but only one label. Standard GANs often ignore the label because it represents such a small fraction of the data. To address this, the authors introduced WGANXtraY(k), which appends the label $k$ times (e.g., $k=5$) and scales it. This modification forces the generator to prioritize label information during the training process.

Entropy Minimization: WGANXtraYEntr(k)

The authors also proposed a variant called WGANXtraYEntr(k), which incorporates entropy minimization terms into the loss function. This encourages the generator to be more "certain" about the labels it assigns to generated features, leading to more distinct and accurate class clusters in the synthesized dataset.

Experimental Evaluation

The framework was evaluated across several datasets, including synthetic 100-dimensional and 300-dimensional datasets, MNIST, and Fashion MNIST. The researchers also tested the model on imbalanced versions of these datasets (e.g., where one class represents only 10% of the samples). In all experiments, the "gold fraction" of clean data was limited to a mere 0.1% or 1%.

Key Insights: The Adversarial Advantage

A counter-intuitive finding of the study is that as the noise rate increases, the KL divergence between the clean and noisy distributions also increases. In the context of GANs, a larger difference between the "real" (clean) and "fake" (noisy) distributions can actually make adversarial training more effective. This explains why the generative approach excels at noise levels where other methods fail.

Key Results

  • Performance at Extreme Noise: On synthetic data (SD300), the WGAN approach maintained nearly 99% accuracy at noise rates ($\rho \in [0.4, 0.5]$) where standard methods like GLC or GCE saw accuracies drop toward 50-60%.
  • Stability: The generative models showed remarkable stability across varying noise rates, unlike discriminative counterparts that exhibit sharp performance declines as noise increases.
  • Imbalance Handling: The GAN naturally preserves the original class imbalance ratio by mimicking the clean distribution provided to the discriminator. This holds true even if the noisy training set has a completely different or flipped class ratio.

Conclusion and Future Work

The generative approach proves more robust than discriminative methods by learning the joint distribution of features and labels rather than just a decision boundary. While highly effective with Multi-Layer Perceptron (MLP) architectures, the advantage is currently less pronounced when using Convolutional Neural Networks (CNNs) for the final classifier. Future research will focus on identifying better data representations to integrate convolutional layers within the WGAN framework and extending the system to multi-class classification tasks.

Summary updated

BibTeX
@misc{tripathi2020gans,
  author = {Sandhya Tripathi and N. Hemachandra},
  title = {{GANs for learning from very high class conditional noisy labels}},
  year = {2020},
  eprint = {2010.09577},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2010.09577},
}
Figure