Class-Wise Thresholding for Robust Out-of-Distribution Detection

Matteo Guarrera, Baihong Jin, Tung-Wei Lin, Maria A. Zuluaga, Yuxin Chen, Alberto Sangiovanni-Vincentelli; Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) Workshops, 2022, pp. 2837-2846

Abstract


We consider the problem of detecting Out-of-Distribution(OoD) input data when using deep neural networks, and we propose a simple yet effective way to improve the robustness of several popular OoD detection methods against label shift. Our work is motivated by the observation that most existing OoD detection algorithms consider all training/test data as a whole, regardless of which class entry each input activates (inter-class differences). Through extensive experimentation, we have found that such practice leads to a detector whose performance is sensitive and vulnerable to label shift. To address this issue, we propose a class-wise thresholding scheme that can apply to most existing OoD detection algorithms and can maintain similar OoD detection performance even in the presence of label shift in the test distribution.

Related Material


[pdf] [supp]
[bibtex]
@InProceedings{Guarrera_2022_CVPR, author = {Guarrera, Matteo and Jin, Baihong and Lin, Tung-Wei and Zuluaga, Maria A. and Chen, Yuxin and Sangiovanni-Vincentelli, Alberto}, title = {Class-Wise Thresholding for Robust Out-of-Distribution Detection}, booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) Workshops}, month = {June}, year = {2022}, pages = {2837-2846} }