Dirichlet-Based Prediction Calibration for Learning with Noisy Labels

Chen-Chen Zong, Ye-Wen Wang, Ming-Kun Xie, Sheng-Jun Huang

Abstract

Training deep neural networks on datasets with noisy labels often leads to over-confident models that struggle to distinguish between clean and mislabeled samples. This paper introduces Dirichlet-based Prediction Calibration (DPC), a novel framework that addresses the over-confidence issue by breaking the translation invariance of the standard softmax function. By employing a calibrated softmax and a Dirichlet-based loss function, DPC enables more reliable evidence-based predictions. Experimental results across various benchmarks demonstrate that DPC achieves state-of-the-art performance and significantly improves model calibration.

Introduction

The success of deep learning relies heavily on large-scale, accurately labeled datasets. However, real-world data collection often introduces label noise. A common approach to mitigate this is "example selection," where models identify and prioritize clean samples during training. A significant hurdle in this process is the inherent over-confidence of standard neural networks. Even when faced with ambiguous or mislabeled data, the softmax function frequently produces high-probability outputs. This over-confidence stems from the "translation invariance" of softmax, which considers only the relative differences between class scores (logits) rather than their absolute magnitudes. Consequently, models may assign high confidence to noisy samples they have merely memorized, confounding selection algorithms.

Methodology

The proposed Dirichlet-based Prediction Calibration (DPC) method rests on three fundamental pillars designed to foster "humble" and evidence-aware learning.

1. Breaking Translation Invariance

Standard softmax outputs are invariant to constant shifts in logits: $\text{Softmax}(\mathbf{o}) = \text{Softmax}(\mathbf{o} + c)$. DPC modifies this by adding a constant $\gamma$ to the exponent term in the denominator. This "calibrated softmax" ensures that the absolute values of logits matter. Higher absolute logits, representing more "evidence," result in higher confidence, while lower logits lead to more conservative predictions.

Comparison between standard Softmax and the proposed Dirichlet-based model. Standard softmax is translation-invariant, leading to identical confidence for different evidence levels, whereas DPC calibrates predictions based on absolute logit values.

2. Evidential Deep Learning (EDL) Loss

To optimize the calibrated model, DPC treats class probabilities as a Dirichlet distribution. A novel loss function is introduced to encourage the model to generate large positive logits for the target label and small negative logits for others. This approach shifts the focus from constrained probabilities to unconstrained "evidence," allowing the model to express uncertainty more naturally.

3. Large-Margin Example Selection

Leveraging the improved logit distributions, DPC replaces the traditional "small-loss" criterion with a "large-margin" criterion for identifying clean data. By analyzing the gap between the top predicted class and runners-up, the model can more effectively separate truly clean samples from noisy ones that lack strong evidential support.

Experimental Results

DPC was evaluated on synthetic noise (CIFAR-10/100) and real-world noise datasets (CIFAR-N, WebVision).

Performance and Calibration

DPC consistently outperformed state-of-the-art methods like DivideMix and UniCon. For instance, on CIFAR-100 with 50% symmetric noise, DPC improved accuracy by over 1.8%. Beyond accuracy, DPC significantly improved model calibration. The Expected Calibration Error (ECE) dropped from 0.11 in DivideMix to 0.04 in DPC, indicating that the model's confidence scores are much more representative of its actual accuracy.

Empirical analysis of DPC vs. DivideMix. (a) Reliability diagram showing improved calibration. (b, c) Distribution of probabilities and logits. (d) Comparison of clean/mislabeled sample separation using small-loss vs. large-margin criteria.

Real-World Robustness

On the large-scale WebVision dataset, DPC achieved a top-1 accuracy of 79.2%, surpassing previous benchmarks. The method's ability to provide better partitions of clean vs. noisy data makes it a powerful component when integrated into semi-supervised learning frameworks.

Conclusion

Dirichlet-based Prediction Calibration (DPC) addresses a fundamental mathematical cause of over-confidence in noisy label learning. By breaking the translation invariance of softmax and focusing on evidential learning, DPC provides a more robust and well-calibrated framework for training on imperfect data. While future work may address hyperparameter sensitivity and computational complexity, DPC represents a significant step toward more reliable deep learning in real-world scenarios.

Reference: Zong, C.-C., Wang, Y.-W., Xie, M.-K., & Huang, S.-J. (2024). Dirichlet-Based Prediction Calibration for Learning with Noisy Labels. Proceedings of the AAAI Conference on Artificial Intelligence.

Summary updated

BibTeX
@inproceedings{zong2024dirichlet,
  author = {Chen-Chen Zong and Ye-Wen Wang and Ming-Kun Xie and Sheng-Jun Huang},
  title = {{Dirichlet-Based Prediction Calibration for Learning with Noisy Labels}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i15.29672},
}
Figure