Adaptive Label Smoothing for Out-of-Distribution Detection

Mingle Xu, Jaehwan Lee, Sook Yoon, Dong Sun Park
10/8/2024
cs.CV

No confident code implementation found for this paper.

Abstract

Out-of-distribution (OOD) detection, which aims to distinguish unknown classes from known classes, has received increasing attention recently. A main challenge within is the unavailable of samples from the unknown classes in the training process, and an effective strategy is to improve the performance for known classes. Using beneficial strategies such as data augmentation and longer training is thus a way to improve OOD detection. However, label smoothing, an effective method for classifying known classes, degrades the performance of OOD detection, and this phenomenon is under exploration. In this paper, we first analyze that the limited and predefined learning target in label smoothing results in the smaller maximal probability and logit, which further leads to worse OOD detection performance. To mitigate this issue, we then propose a novel regularization method, called adaptive label smoothing (ALS), and the core is to push the non-true classes to have same probabilities whereas the maximal probability is neither fixed nor limited. Extensive experimental results in six datasets with two backbones suggest that ALS contributes to classifying known samples and discerning unknown samples with clear margins. Our code will be available to the public.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{xu2024adaptive,
  title  = {Adaptive Label Smoothing for Out-of-Distribution Detection},
  author = {Mingle Xu and Jaehwan Lee and Sook Yoon and Dong Sun Park},
  year   = {2024},
  eprint = {2410.06134},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.06134v1}
}

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

Discussion