Asymmetric Loss Functions for Learning with Noisy Labels

Xiong Zhou

TL;DR

This paper introduces "asymmetric loss functions" as a novel approach to train deep neural networks robustly in the presence of noisy labels. By relaxing the strict symmetry requirement of existing robust loss functions, these new methods achieve better generalization and outperform state-of-the-art techniques on various benchmarks.

What Problem Does This Paper Address?

Deep learning models thrive on large, high-quality labeled datasets. However, real-world data often suffers from noisy labels due to human error or inherent ambiguity. While existing "symmetric" loss functions offer some robustness against this noise, they are overly restrictive and can lead to underfitting. This paper addresses the challenge of developing loss functions that are both robust to various types of label noise and capable of achieving good model performance without being overly constrained.

Methods

The core contribution is the proposal of asymmetric loss functions. These functions are designed based on the "clean-labels-domination assumption," which posits that true labels are more probable than noisy ones. The authors theoretically analyze the properties of these asymmetric losses, including classification calibration, excess risk bounds, and noise tolerance. They also introduce an asymmetry ratio to quantify how asymmetric a loss function is, suggesting that a higher ratio leads to better noise tolerance. The paper demonstrates how to modify existing loss functions (like Cross-Entropy and MAE) to become asymmetric and establishes necessary and sufficient conditions for this transformation.

Datasets

The authors evaluate their proposed methods on several standard benchmark datasets:

  • MNIST: A classic dataset for digit recognition.
  • CIFAR-10 and CIFAR-100: Datasets for image classification.
  • WebVision: A large-scale, real-world noisy dataset for image classification.

The paper does not introduce new benchmark datasets but rather applies its methods to existing ones to demonstrate effectiveness.

Key Insights and Ideas

  • Symmetry is too strict: The paper argues that the "symmetric" property, while providing robustness, is an overly strong condition that limits a model's ability to learn effectively, potentially leading to underfitting.
  • Clean labels matter: The "clean-labels-domination assumption" is a crucial theoretical underpinning. It suggests that if true labels are more likely than incorrect ones, we can design losses that leverage this to ignore noisy signals.
  • Asymmetry is quantifiable: The introduction of the "asymmetry ratio" provides a concrete metric to understand and select loss functions that are sufficiently asymmetric for robust learning.
  • Generalization of existing losses: The work shows that popular loss functions can be adapted to be asymmetric, offering a practical way to improve their noise robustness without entirely reinventing them.

Key Results

  • Improved Accuracy: Asymmetric loss functions (specifically AGCE, AUL, and AEL) consistently outperform baseline methods like GCE, SCE, and NLNL on MNIST, CIFAR-10, and CIFAR-100 under both symmetric and asymmetric label noise. For instance, on CIFAR-10 with 0.8 symmetric noise, AGCE achieves 44.42% accuracy compared to GCE's 26.67%.
  • Robustness to Noise: The proposed methods demonstrate strong performance even at high noise rates (e.g., 0.8 symmetric noise), maintaining significantly higher accuracy than standard loss functions.
  • Visualization: t-SNE visualizations of deep features show that AGCE learns more separable and bounded clusters compared to GCE, especially under noisy conditions, indicating better generalization.
  • Real-world Performance: On the WebVision dataset, NCE+AGCE achieved the highest accuracy (69.40%), outperforming other methods.

Limitations and Future Work

  • Hyperparameter Tuning: While asymmetric losses offer robustness, finding the optimal hyperparameters (e.g., asymmetry ratio) can be a trade-off between robustness and fitting ability, especially for simpler datasets. The authors suggest a principled approach for tuning.
  • Theoretical Guarantees: While theoretical properties like classification calibration and excess risk bounds are proven, further exploration of their implications for complex deep learning architectures could be beneficial.
  • Specific Noise Types: The paper focuses on symmetric and asymmetric label noise. Investigating robustness to other forms of noise (e.g., instance-dependent noise) could be a future direction.
  • Computational Cost: While not explicitly detailed as a limitation, the paper mentions that MAE (a symmetric loss) can lead to longer training times. The performance of asymmetric losses in terms of convergence speed is implicitly evaluated through experimental results.

Summary updated

Abstract

Robust loss functions are essential for training deep neural networks with better generalization power in the presence of noisy labels. Symmetric loss functions are confirmed to be robust to label noise. However, the symmetric condition is overly restrictive. In this work, we propose a new class of loss functions, namely asymmetric loss functions, which are robust to learning with noisy labels for various types of noise. We investigate general theoretical properties of asymmetric loss functions, including classification calibration, excess risk bound, and noise tolerance. Meanwhile, we introduce the asymmetry ratio to measure the asymmetry of a loss function. The empirical results show that a higher ratio would provide better noise tolerance. Moreover, we modify several commonly- used loss functions and establish the necessary and sufficient conditions for them to be asymmetric. Experimental results on benchmark datasets demonstrate that asymmetric loss functions can outperform state-of-the-art methods.
BibTeX
@inproceedings{zhou2021asymmetric,
  author = {Xiong Zhou},
  title = {{Asymmetric Loss Functions for Learning with Noisy Labels}},
  booktitle = {International Conference on Machine Learning},
  year = {2021},
}
Figure