Estimating Instance-dependent Label-noise Transition Matrix using DNNs

Shuo Yang, Erkun Yang, Bo Han, Yang Liu, Min Xu, Gang Niu, Tongliang Liu

TL;DR

Estimating an instance-dependent label-noise transition matrix directly from noisy data is notoriously ill-posed, but modeling the transition from Bayes optimal labels rather than latent clean labels makes the problem substantially easier. Leveraging the fact that Bayes optimal posteriors are deterministic (one-hot), the authors theoretically extract confident "distilled" examples and train a deep neural network to parameterize the transition matrix, achieving state-of-the-art robustness on severe real-world and synthetic noise.

What Problem Does This Paper Address?

In real-world applications, training datasets frequently contain noisy labels caused by crowdsourcing errors or poor-quality samples. A standard theoretical framework for combating this is loss correction via a label transition matrix $T(x)$, which represents the probability that a true label flips to an observed noisy label given instance $x$.

While class-conditional noise (where flip probabilities depend only on the class) has been widely studied, real-world noise is almost always instance-dependent (IDN): harder or ambiguous images are more likely to be mislabeled. However, recovering $T(x)$ under instance-dependent noise is fundamentally ill-posed when given only noisy data. Prior methods required unrealistic anchor points or restrictive assumptions (e.g., that noise only depends on part of an image).

Methods

Instead of modeling the transition from latent clean labels $Y$, the authors propose modeling transitions from Bayes optimal labels $Y^*$ (i.e., $Y^* = \arg\max_y P(Y=y \mid X)$). The complete pipeline consists of three steps:

  1. Distilling Guaranteed Examples: Under bounded noise ($\rho_y(x) \le \rho_{\max} < 1$), if an initial warm-up classifier predicts a noisy class posterior $\tilde{\eta}_y(x) > \frac{1 + \rho_{\max}}{2}$, then the clean posterior satisfies $\eta_y(x) > 0.5$. Thus, the Bayes optimal label is provably $Y^* = y$. The authors harvest these high-confidence instances into a "distilled dataset."
  2. Parameterizing the Bayes Transition Matrix with a DNN: A deep neural network (sharing the backbone of the classifier with an altered output dimension $C \times C$) takes image $x$ and outputs estimated transition probabilities $\hat{T}^*(x; \theta) = P(\tilde{Y} \mid Y^*, x)$. It is trained on the distilled examples using cross-entropy between observed noisy labels and inferred transitions: $$\hat{R}_1(\theta) = - \frac{1}{n}\sum_{i=1}^n \tilde{y}_i \log\left(\hat{y}^*_i \cdot \hat{T}^*(x_i; \theta)\right)$$
  3. Classifier Training with Forward Correction: Fixing the transition network $\hat{T}^*$, the final classifier $f(x; w)$ is trained on the full noisy dataset using an F-Correction loss: $$\hat{R}_2(w) = - \frac{1}{n}\sum_{i=1}^n \tilde{y}_i \log\left(f(x_i; w) \cdot \hat{T}^*(x_i; \theta)\right)$$

Additionally, the authors optionally refine $\hat{T}^*$ using transition matrix revision (-V).

Datasets

The authors evaluate their approach on four benchmarks:

  • Synthetic IDN Datasets: F-MNIST, CIFAR-10, and SVHN, artificially corrupted using bounded instance-dependent noise generated by a random projection algorithm with noise upper bound $\rho_{\max} = 0.6$ across noise levels from 10% to 50%.
  • Real-World Noisy Benchmark: Clothing1M (1 million real-world web-crawled noisy clothing images for training, and 10,000 clean images for testing).

Key Insights and Ideas

  • Why Bayes Optimal Labels? Clean labels are stochastic draws from a posterior distribution $P(Y \mid X)$, making them inherently uncertain and impossible to infer directly. In contrast, Bayes optimal labels are one-hot deterministic targets.
  • Drastically Reduced Search Space: Because Bayes posteriors are one-hot, the feasible solution space for the transition matrix becomes much sparser and better conditioned, allowing a parameterized deep neural network to optimize it efficiently without collapsing.
  • Cross-Class Feature Sharing: Although an example distilled for class $i$ only directly supervises the $i$-th row of $\hat{T}^*(x)$, early layers of the transition network share representation weights across all classes, enabling the model to generalize transition patterns to unseen or non-distilled samples.

Key Results

  • Robustness Under Heavy Noise: The performance advantage over previous state-of-the-art statistically consistent methods (such as PTD) widens significantly as noise increases:
  • On CIFAR-10, the proposed method outperforms PTD by 5.83% at 10% IDN noise (82.16% vs. 76.33%) and widens to 7.01% at 40% noise (72.93% vs. 65.92%).
  • At the extreme 50% IDN setting on SVHN, the method reaches 78.71%, outperforming PTD (71.57%) and standard cross-entropy (61.01%).
  • Beating Complex Semi-Supervised Pipelines: Under severe noise (50% IDN), the method outperforms DivideMix—a heavy hybrid system using MixMatch, GMMs, and MixUp—by 3.22% on CIFAR-10 (60.33% vs. 57.11%) and 4.38% on SVHN (78.71% vs. 74.33%).
  • Real-World Noise (Clothing1M): Achieves 73.39% accuracy, outperforming PTD (70.07%), T-Revision (70.97%), and standard cross-entropy (68.88%).

Limitations and Future Work

  • Sampling Selection Bias: The transition network is trained solely on distilled examples (which naturally consist of easier, high-confidence samples). If noise mechanisms on hard instances differ drastically from easy ones, this introduces an unavoidable distribution shift.
  • Reliance on Upper-Bound Assumptions: The theoretical guarantee for collecting clean distilled examples assumes an known or estimable noise rate upper bound ($\rho_{\max} < 1$).
  • Future Directions: Developing strategies to correct the sample selection bias on non-distilled instances, and extending the framework to fine-grained classification or open-set noise where unseen classes appear as noise.

Summary updated

Abstract

In label-noise learning, estimating the transition matrix is a hot topic as the matrix plays an important role in building statistically consistent classifiers. Traditionally, the transition from clean labels to noisy labels (i.e., clean label transition matrix) has been widely exploited to learn a clean label classifier by employing the noisy data. Motivated by that classifiers mostly output Bayes optimal labels for prediction, in this paper, we study to directly model the transition from Bayes optimal labels to noisy labels (i.e., Bayes label transition matrix) and learn a classifier to predict Bayes optimal labels. Note that given only noisy data, it is ill-posed to estimate either the clean label transition matrix or the Bayes label transition matrix. But favorably, Bayes optimal labels have less uncertainty compared with the clean labels, i.e., the class posteriors of Bayes optimal labels are one-hot vectors while those of clean labels are not. This enables two advantages to estimate the Bayes label transition matrix, i.e., (a) we could theoretically recover a set of noisy data with Bayes optimal labels under mild conditions; (b) the feasible solution space is much smaller. By exploiting the advantages, we estimate the Bayes label transition matrix by employing a deep neural network in a parameterized way, leading to better generalization and superior classification performance.
BibTeX
@inproceedings{yang2022estimating,
  author = {Shuo Yang and Erkun Yang and Bo Han and Yang Liu and Min Xu and Gang Niu and Tongliang Liu},
  title = {{Estimating Instance-dependent Label-noise Transition Matrix using DNNs}},
  booktitle = {International Conference on Machine Learning},
  year = {2022},
  url = {https://openreview.net/forum?id=DFb_Cv8-iZV},
}
Figure