Exploiting Discrepancy in Feature Statistic for Out-of-Distribution Detection
DOI:
https://doi.org/10.1609/aaai.v38i18.29961Keywords:
PEAI: Safety, Robustness & Trustworthiness, CV: Object Detection & Categorization, CV: Other Foundations of Computer VisionAbstract
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.Downloads
Published
2024-03-24
How to Cite
Guan, X., Chen, J., Bu, S., Zhou, Y., Zheng, W.-S., & Wang, R. (2024). Exploiting Discrepancy in Feature Statistic for Out-of-Distribution Detection. Proceedings of the AAAI Conference on Artificial Intelligence, 38(18), 19858-19866. https://doi.org/10.1609/aaai.v38i18.29961
Issue
Section
AAAI Technical Track on Philosophy and Ethics of AI