Robust Inference via Generative Classifiers for Handling Noisy Labels

Kimin Lee, Sukmin Yun, Kibok Lee, Honglak Lee, Bo Li, Jinwoo Shin

Introduction

Modern deep neural networks (DNNs) are notorious for their ability to memorize training data—including incorrect or "noisy" labels. As datasets scale to millions of images scraped from the web or social media, human verification becomes impossible, leading to significant label noise.

While many existing solutions focus on "robust training" (designing new loss functions or complex training loops), these methods are often computationally expensive, hard to reproduce, and require starting from scratch. This raises an important question: How can we improve the performance of a model that has already been trained on noisy data?

To address this, researchers propose the Robust Generative classifier (RoG), a simple yet powerful inference method that improves the accuracy of deep neural networks trained on noisy datasets without requiring any re-training.

The Robust Generative Classifier (RoG)

The core idea of RoG is to shift from a standard discriminative approach (like the Softmax layer) to a generative one during the inference phase.

  1. Generative Induction: Instead of relying on the final Softmax layer, RoG examines the hidden feature space (the "embeddings") of the pre-trained DNN. It assumes that the features for each class follow a multivariate Gaussian distribution with a shared covariance matrix, akin to Linear Discriminant Analysis (LDA).
  2. Robust Estimation (MCD): Standard mean and covariance estimates are easily skewed by outliers (the noisy labels). To fix this, the authors use the Minimum Covariance Determinant (MCD) estimator. MCD looks for a subset of the training data that has the smallest possible covariance determinant, effectively "filtering out" the noisy samples that don't fit the main cluster of a class.
  3. Layer-wise Ensemble: Because lower-level features in a DNN are often more stable and less affected by label noise than the final layers, the authors propose an ensemble version of RoG. This combines generative classifiers induced at multiple depths of the network.
Overview of RoG performance, feature clustering, and the MCD estimator

Key Insights and Results

The researchers evaluated RoG across a wide variety of tasks (Computer Vision datasets like CIFAR-10/100 and SVHN, as well as NLP tasks like Twitter POS tagging) and noise scenarios, including uniform/flip noise, semantic noise, and open-set noise.

  • The Clustering Property: Even when a DNN is trained on noisy labels, it still tends to group "clean" examples of the same class together in its internal feature space. Noisy examples typically end up as outliers far from these clusters, which RoG successfully exploits.
  • Generative > Discriminative for Noise: By modeling the joint distribution $P(x, y)$ rather than just the conditional $P(y|x)$, the model can explicitly account for the "outlier-ness" of noisy samples.
  • Massive Gains in High Noise: On CIFAR-10 with 60% uniform noise, a standard DenseNet achieved 55.42% accuracy. Applying RoG boosted this significantly to 75.45%.
  • Plug-and-Play Robustness: RoG is complementary to existing methods. When combined with a state-of-the-art robust training method like Co-teaching on CIFAR-100 (45% flip noise), RoG improved the test accuracy from 33.34% to 43.18%.
  • NLP Success: On the Reuters dataset with 60% noise, RoG improved accuracy from 57.49% to 64.98%.

Limitations and Future Work

While highly effective, RoG relies on the assumption that features follow a Gaussian distribution. While this works well in practice for DNNs, it might not hold for all architectures or data types. Additionally, finding the exact MCD is NP-hard; the authors use a fast approximation algorithm, but for extremely high-dimensional feature spaces, this could still present a computational bottleneck.

Future directions include exploring other robust estimators beyond MCD and investigating how this generative approach could be applied to other areas like adversarial defense or out-of-distribution detection.

Summary updated

BibTeX
@inproceedings{lee2019robust,
  author = {Kimin Lee and Sukmin Yun and Kibok Lee and Honglak Lee and Bo Li and Jinwoo Shin},
  title = {{Robust Inference via Generative Classifiers for Handling Noisy Labels}},
  booktitle = {International Conference on Machine Learning},
  year = {2019},
}
Figure