From Noisy Prediction to True Label: Noisy Prediction Calibration via Generative Model

HeeSun Bae, Seungjae Shin, Byeonghu Na, JoonHo Jang, Kyungwoo Song, Il-Chul Moon · DOI

Deep neural networks are notoriously sensitive to noisy labels in large-scale datasets. When models train on incorrectly labeled data, they often "memorize" these errors, which significantly degrades their ability to generalize to clean, real-world data. Traditional solutions typically involve modifying the training process or estimating a "transition matrix" ($T$) to describe how labels flip. However, these methods are often inflexible, requiring prior knowledge of noise ratios and being inapplicable to already-trained models.

Shifting the Paradigm: Post-Processing Calibration

Presented at ICML 2022, this research introduces Noisy Prediction Calibration (NPC). Instead of attempting to prevent noise learning during training, NPC accepts that a classifier's predictions ($\hat{y}$) may be noisy and seeks to calibrate them back to the true latent labels ($y$) in a post-processing step. This "plug-and-play" approach allows NPC to be applied to any existing pre-trained model.

Conceptual overview of Noisy Prediction Calibration (NPC) as a post-processing step compared to traditional transition matrix methods.

The NPC Framework

NPC moves away from the traditional transition matrix $T$ (True $\to$ Noisy) and introduces a Calibration Matrix ($H$) (Noisy Prediction $\to$ True Label). The core of the method is a generative framework based on a Variational Autoencoder (VAE).

Key Components:

  • Generative Modeling: The system models the relationship between the input image $x$, the noisy prediction $\hat{y}$, and the latent true label $y$.
  • Dirichlet Prior with KNN: To guide the calibration, the model uses a K-Nearest Neighbor (KNN) approach on the classifier's high-confidence outputs. This creates a "prior" distribution of what the true label is likely to be based on feature similarity.
  • Inference: The model learns to estimate the posterior probability $p(y|\hat{y}, x)$. At test time, a prediction from the noisy classifier is passed through this generative layer to produce a corrected, calibrated label.
The estimation network structure and inference process of NPC, illustrating the VAE-based architecture and the use of a classifier-based prior.

Experimental Results and Insights

The authors evaluated NPC across a wide range of benchmarks, including MNIST, CIFAR-10, and real-world datasets like Food-101 and Clothing-1M. The results highlight several key advantages of the NPC approach:

  • Universal Improvement: NPC was tested against 13 different baseline models and improved performance in 341 out of 351 experimental settings.
  • Robustness to Complex Noise: In scenarios with "Instance-Dependent Noise"—the most realistic and difficult type—NPC showed massive gains. For example, on MNIST with 40% noise, it boosted accuracy from 66.3% to 89.0%.
  • Efficiency: NPC is remarkably fast. In comparative tests, it converged in just 28 seconds, whereas competing generative methods like CausalNL took over an hour.
  • Cautious Correction: Analysis shows that NPC is a "cautious corrector," meaning it is highly effective at avoiding "false corrections" (changing a correct prediction to an incorrect one), a common pitfall for other generative approaches.

Conclusion

Noisy Prediction Calibration offers a powerful, noise-agnostic solution for the label noise problem. By decoupling the correction mechanism from the training phase, it provides a practical and efficient tool for enhancing the reliability of deep learning models in real-world, imperfect data environments. Future work may extend this framework to related challenges such as long-tailed recognition and domain adaptation.

Summary updated

BibTeX
@inproceedings{bae2022from,
  author = {HeeSun Bae and Seungjae Shin and Byeonghu Na and JoonHo Jang and Kyungwoo Song and Il-Chul Moon},
  title = {{From Noisy Prediction to True Label: Noisy Prediction Calibration via Generative Model}},
  booktitle = {International Conference on Machine Learning},
  year = {2022},
  url = {https://openreview.net/forum?id=h6XbfgEWNi0},
}
Figure