Understanding Why Label Smoothing Degrades Selective Classification and How to Fix It
<|reference_start|>Understanding Why Label Smoothing Degrades Selective Classification and How to Fix It: Label smoothing (LS) is a popular regularisation method for training deep neural network classifiers due to its effectiveness in improving test accuracy and its simplicity in implementation. "Hard" one-hot labels are "smoothed" by uniformly distributing probability mass to other classes, reducing overfitting. In this work, we reveal that LS negatively affects selective classification (SC) - where the aim is to reject misclassifications using a model's predictive uncertainty. We first demonstrate empirically across a range of tasks and architectures that LS leads to a consistent degradation in SC. We then explain this by analysing logit-level gradients, showing that LS exacerbates overconfidence and underconfidence by regularising the max logit more when the probability of error is low, and less when the probability of error is high. This elucidates previously reported experimental results where strong classifiers underperform in SC. We then demonstrate the empirical effectiveness of logit normalisation for recovering lost SC performance caused by LS. Furthermore, based on our gradient analysis, we explain why such normalisation is effective. We will release our code shortly.<|reference_end|>
@article{xia2024towards,
    title={Towards Understanding Why Label Smoothing Degrades Selective
  Classification and How to Fix It},
    author={Guoxuan Xia, Olivier Laurent, Gianni Franchi, Christos-Savvas Bouganis},
    journal={arXiv preprint arXiv:2403.14715},
    year={2024},
    archivePrefix={arXiv},
    eprint={2403.14715},
    primaryClass={cs.LG cs.AI cs.CV}
}