Instance-based Label Smoothing For Better Calibrated Classification Networks

Mohamed Maher, Meelis Kull
10/11/2021
cs.LGcs.AI
distillation

Official code: mmaher22/Instance-based-label-smoothing (1 star, Python, MIT, last commit 2021-10-09).

Abstract

Label smoothing is widely used in deep neural networks for multi-class classification. While it enhances model generalization and reduces overconfidence by aiming to lower the probability for the predicted class, it distorts the predicted probabilities of other classes resulting in poor class-wise calibration.

Show full abstract

Another method for enhancing model generalization is self-distillation where the predictions of a teacher network trained with one-hot labels are used as the target for training a student network. We take inspiration from both label smoothing and self-distillation and propose two novel instance-based label smoothing approaches, where a teacher network trained with hard one-hot labels is used to determine the amount of per class smoothness applied to each instance. The assigned smoothing factor is non-uniformly distributed along with the classes according to their similarity with the actual class. Our methods show better generalization and calibration over standard label smoothing on various deep neural architectures and image classification datasets.

View on arXivView PDF

Code Implementations(1)

MIT

Instance-based label smoothing for improving deep neural networks generalization and calibration

11PythonSep 2, 20205 years agoMIT

Similar Papers

Cite this paper

@article{maher2021instancebased,
  title  = {Instance-based Label Smoothing For Better Calibrated Classification Networks},
  author = {Mohamed Maher and Meelis Kull},
  year   = {2021},
  eprint = {2110.05355},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.05355}
}

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/2110.05355.svg)](https://codeofpaper.com/paper/2110.05355)

Discussion