AAAI 2024technical3 citations

Exploiting Discrepancy in Feature Statistic for Out-of-Distribution Detection

Xiaoyuan Guan, Jiankang Chen, Shenshen Bu, Yuren Zhou, Wei-Shi Zheng, Ruixuan Wang

Abstract

Recent studies on out-of-distribution (OOD) detection focus on designing models or scoring functions that can effectively distinguish between unseen OOD data and in-distribution (ID) data. In this paper, we propose a simple yet novel ap- proach to OOD detection by leveraging the phenomenon that the average of feature vector elements from convolutional neural network (CNN) is typically larger for ID data than for OOD data. Specifically, the average of feature vector elements is used as part of the scoring function to further separate OOD data from ID data. We also provide mathematical analysis to explain this phenomenon. Experimental evaluations demonstrate that, when combined with a strong baseline, our method can achieve state-of-the-art performance on several OOD detection benchmarks. Furthermore, our method can be easily integrated into various CNN architectures and requires less computation. Source code address: https://github.com/SYSU-MIA-GROUP/statistical_discrepancy_ood.

BibTeX
@article{Guan_Chen_Bu_Zhou_Zheng_Wang_2024, title={Exploiting Discrepancy in Feature Statistic for Out-of-Distribution Detection}, volume={38}, url={https://ojs.aaai.org/index.php/AAAI/article/view/29961}, DOI={10.1609/aaai.v38i18.29961}, abstractNote={Recent studies on out-of-distribution (OOD) detection focus on designing models or scoring functions that can effectively distinguish between unseen OOD data and in-distribution (ID) data. In this paper, we propose a simple yet novel ap-
proach to OOD detection by leveraging the phenomenon that the average of feature vector elements from convolutional neural network (CNN) is typically larger for ID data than for OOD data. Specifically, the average of feature vector elements is used as part of the scoring function to further separate OOD data from ID data. We also provide mathematical analysis to explain this phenomenon. Experimental evaluations demonstrate that, when combined with a strong baseline, our method can achieve state-of-the-art performance on several OOD detection benchmarks. Furthermore, our method can be easily integrated into various CNN architectures and requires less computation. Source code address: https://github.com/SYSU-MIA-GROUP/statistical_discrepancy_ood.}, number={18}, journal={Proceedings of the AAAI Conference on Artificial Intelligence}, author={Guan, Xiaoyuan and Chen, Jiankang and Bu, Shenshen and Zhou, Yuren and Zheng, Wei-Shi and Wang, Ruixuan}, year={2024}, month={Mar.}, pages={19858-19866} }
Exploiting Discrepancy in Feature Statistic for Out-of-Distribution Detection · AAAI 2024