arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2011.14654stat.MLcs.LG
收藏

基于特征空间奇异性的分布外检测

Feature Space Singularity for Out-of-Distribution Detection

University of Oxford(牛津大学);Peking University(北京大学);MEGVII Technology(旷视科技);Beijing International Center for Mathematical Research(北京国际数学研究中心);Institute for Artificial Intelligence(人工智能研究所);Center for Data Science(数据科学中心)

Haiwen Huang, Zhihan Li, Lulu Wang, Sishuo Chen, Bin Dong, Xinyu Zhou

摘要:

Out-of-Distribution(OoD)检测对于构建安全的人工智能系统非常重要。然而,目前的OoD检测方法仍然不能满足实际部署的性能要求。在本文中,我们提出了一个简单而有效的算法的基础上,一个新的观察:在一个训练有素的神经网络,OoD样本有界范数很好地集中在特征空间。我们称OoD特征的中心为特征空间奇异性(FSS),并将样本特征到FSS的距离表示为FSSD。然后,可以通过对FSSD取阈值来识别OoD样本。我们对这一现象的分析揭示了为什么我们的算法有效。我们证明了我们的算法在各种OoD检测基准上达到了最先进的性能。此外,FSSD还具有对测试数据轻微损坏的鲁棒性,并可以通过集成进一步增强。这使得FSSD算法在实际应用中具有广阔的前景。我们在\url{https://github.com/megvii-research/FSSD_OoD_Detection}发布代码。

英文摘要:

Out-of-Distribution (OoD) detection is important for building safe artificial intelligence systems. However, current OoD detection methods still cannot meet the performance requirements for practical deployment. In this paper, we propose a simple yet effective algorithm based on a novel observation: in a trained neural network, OoD samples with bounded norms well concentrate in the feature space. We call the center of OoD features the Feature Space Singularity (FSS), and denote the distance of a sample feature to FSS as FSSD. Then, OoD samples can be identified by taking a threshold on the FSSD. Our analysis of the phenomenon reveals why our algorithm works. We demonstrate that our algorithm achieves state-of-the-art performance on various OoD detection benchmarks. Besides, FSSD also enjoys robustness to slight corruption in test data and can be further enhanced by ensembling. These make FSSD a promising algorithm to be employed in real world. We release our code at \url{https://github.com/megvii-research/FSSD_OoD_Detection}.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑