Dirichlet-based Per-Sample Weighting by Transition Matrix for Noisy Label Learning

HeeSun Bae, Seungjae Shin, Byeonghu Na, Il-chul Moon

Deep learning models thrive on massive datasets, but real-world data is frequently plagued by "noisy labels"—incorrect tags caused by human error or automated labeling glitches. To combat this, researchers often utilize a transition matrix ($T$), which mathematically describes the probability of a "clean" label being flipped into a "noisy" one.

While most research on noisy label learning focuses on accurately estimating this noise transition matrix, this paper argues that how we use that matrix is equally critical. The standard approach has been to estimate $T$ and then use it to "reweight" samples or correct the loss function. However, traditional reweighting relies heavily on the current classifier's output. If the classifier is still learning and imperfect, the weights it generates are also imperfect, leading the model to potentially memorize the very noise it is trying to avoid.

To address this, the authors introduce RENT, a resampling strategy that outperforms traditional reweighting by injecting beneficial stochastic noise into the training process, preventing models from memorizing incorrect labels.

Methodology: DWS and RENT

The authors propose a two-part solution to the noisy label problem: a theoretical framework called DWS and a practical algorithm called RENT.

The DWS framework bridging Reweighting and Resampling

1. DWS (Dirichlet-based per-sample Weight Sampling)

DWS is a unified framework that views both "reweighting" and "resampling" as points on a spectrum defined by a Dirichlet distribution. By adjusting a shape parameter ($\alpha$), the authors demonstrate a mathematical bridge between two previously distinct techniques:

  • As $\alpha \to \infty$, the distribution yields standard Reweighting (stable but prone to bias and memorization).
  • As $\alpha \to 0$, the distribution yields Resampling (stochastic and noisy, producing one-hot style weights).

2. RENT (REsampling method with Noise Transition matrix)

Based on their DWS analysis, the authors argue that the "noisy" nature of resampling ($\alpha \to 0$) is actually a significant benefit. RENT calculates the importance of each sample using the transition matrix, but instead of simply multiplying the loss by a continuous weight, it resamples the dataset. This hard-selection process effectively filters out likely-noisy samples and injects adaptive noise into the training, acting as a regularizer against overfitting to incorrect labels.

Key Insights

  • Variance is a Feature, Not a Bug: In many optimization tasks, variance is seen as something to minimize. Here, the authors show that the variance introduced by resampling prevents the model from "getting comfortable" with noisy labels, forcing it to focus on the more consistent patterns of the clean data.
  • Instance-Wise Adaptive Perturbation: RENT doesn't just add random noise; it adds noise that is "instance-wise adaptive." It applies larger perturbations to samples the model is confident about (mitigating overfitting) while being gentler on less certain samples, preserving the integrity of the training process.
  • Statistical Consistency: The DWS framework allows the authors to prove that resampling is statistically consistent with the true risk, validating the theoretical soundness of the approach.

Experimental Validation and Results

The researchers evaluated RENT across several benchmarks, covering both synthetic and real-world noise, including CIFAR-10 & CIFAR-100 (synthetic Symmetric and Asymmetric noise), CIFAR-10N (real-world noise from Amazon Mechanical Turk), and Clothing1M (1 million images with online shopping metadata noise).

  • Consistent Superiority: RENT outperformed standard "Forward" correction and "Reweighting" methods in 42 out of 48 experimental settings on the CIFAR datasets.
  • Robustness to Estimation: RENT is highly adaptable. Whether the transition matrix was estimated using simple methods (like Forward) or complex ones (like VolMinNet or Cycle), RENT consistently improved the final test accuracy.
  • Real-World Performance: On the massive Clothing1M dataset, RENT achieved a test accuracy of 69.9%, outperforming several state-of-the-art baselines specifically designed for data cleaning and robust loss.
  • Memorization Avoidance: Qualitative analysis showed that while traditional methods eventually "memorize" noisy labels (causing test accuracy to dip late in training), RENT maintains a much higher "uncertainty" for incorrectly labeled samples, indicating it successfully ignores the noise.

Limitations and Future Work

While RENT is robust, the authors note a few limitations. First, there is no "one-size-fits-all" hyperparameter for the resampling budget ($M$) or the underlying Dirichlet concentration across every possible dataset. Second, the current version of RENT focuses primarily on label noise; preliminary explorations into class imbalance suggest performance can decrease as imbalance ratios rise, highlighting a need for future integration of imbalance-aware techniques. Finally, although resampling time is negligible for large datasets, the process still requires an initial estimation of the transition matrix, which can be computationally expensive depending on the baseline method used.

Summary updated

BibTeX
@inproceedings{bae2024dirichlet,
  author = {HeeSun Bae and Seungjae Shin and Byeonghu Na and Il-chul Moon},
  title = {{Dirichlet-based Per-Sample Weighting by Transition Matrix for Noisy Label Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=A4mJuFRMN8},
}
Figure