To Smooth or Not? When Label Smoothing Meets Noisy Labels

Jiaheng Wei, Hangyu Liu, Tongliang Liu, Gang Niu, Masashi Sugiyama +1 more
6/8/2021
cs.LG

Official code: UCSC-REAL/negative-label-smoothing (99 stars, Python, last commit 2022-09-12).

Abstract

Label smoothing (LS) is an arising learning paradigm that uses the positively weighted average of both the hard training labels and uniformly distributed soft labels. It was shown that LS serves as a regularizer for training data with hard labels and therefore improves the generalization of the model.

Show full abstract

Later it was reported LS even helps with improving robustness when learning with noisy labels. However, we observed that the advantage of LS vanishes when we operate in a high label noise regime. Intuitively speaking, this is due to the increased entropy of $\mathbb{P}(\text{noisy label}|X)$ when the noise rate is high, in which case, further applying LS tends to "over-smooth" the estimated posterior. We proceeded to discover that several learning-with-noisy-labels solutions in the literature instead relate more closely to negative/not label smoothing (NLS), which acts counter to LS and defines as using a negative weight to combine the hard and soft labels! We provide understandings for the properties of LS and NLS when learning with noisy labels. Among other established properties, we theoretically show NLS is considered more beneficial when the label noise rates are high. We provide extensive experimental results on multiple benchmarks to support our findings too. Code is publicly available at https://github.com/UCSC-REAL/negative-label-smoothing.

View on arXivView PDF

Code Implementations(1)

[ICML2022 Long Talk] Official Pytorch implementation of "To Smooth or Not? When Label Smoothing Meets Noisy Labels"

998PythonJun 6, 20224 years ago
label-noiselabel-smoothingnoisy-label-learningnoisy-labelsrobustness+1 more

Similar Papers

Cite this paper

@article{wei2021smooth,
  title  = {To Smooth or Not? When Label Smoothing Meets Noisy Labels},
  author = {Jiaheng Wei and Hangyu Liu and Tongliang Liu and Gang Niu and Masashi Sugiyama and Yang Liu},
  year   = {2021},
  eprint = {2106.04149},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.04149}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2106.04149.svg)](https://codeofpaper.com/paper/2106.04149)

Discussion