Regularization

Label Smoothing

Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the likelihood of $\log{p}\left(y\mid{x}\right)$ directly can be harmful. Assume for a small constant $\epsilon$, the training set label $y$ is correct with probability $1-\epsilon$ and incorrect otherwise. Label Smoothing regularizes a model based on a softmax with $k$ output values by replacing the hard $0$ and $1$ classification targets with targets of $\frac{\epsilon}{k-1}$ and $1-\epsilon$ respectively.

Source: Deep Learning, Goodfellow et al

Image Source: When Does Label Smoothing Help?

Papers


Paper Code Results Date Stars

Tasks


Task Papers Share
Language Modelling 47 6.46%
Decoder 36 4.95%
Semantic Segmentation 22 3.02%
Large Language Model 21 2.88%
Question Answering 20 2.75%
Object Detection 17 2.34%
Sentence 14 1.92%
Image Classification 13 1.79%
In-Context Learning 12 1.65%

Components


Component Type
🤖 No Components Found You can add them if they exist; e.g. Mask R-CNN uses RoIAlign

Categories