论文标题

全光谱分布检测

Full-Spectrum Out-of-Distribution Detection

论文作者

Yang, Jingkang, Zhou, Kaiyang, Liu, Ziwei

论文摘要

现有的分布(OOD)检测文献清楚地将语义转移定义为OOD的标志,但与协变性转移没有共识。经历协变量转移而不是语义转移的样本要么被排除在测试集之外,要么被视为OOD,这与机器学习的主要目标相矛盾 - 能够超越培训分布。在本文中,我们考虑了这两种班次类型,并引入了全光谱OOD(FS-OOD)检测,这是一个更现实的问题设置,它考虑了检测语义转移又是对协变量转移的耐受性;并设计三个基准。这些新的基准测试基准对分布(即训练ID,协变量偏移ID,近ood和far-ood)进行了更细粒度的分类,以更全面地评估算法的优缺点。为了解决FS-EOOD检测问题,我们提出了SEM,这是一个简单的基于特征的语义分数功能。 SEM主要由两个概率措施组成:一个基于包含语义和非语义信息的高级特征,而另一个基于仅捕获非主语图像样式的低级特征统计信息。通过简单的组合,非语义部件被取消,这仅在SEM中仅留下可以更好地处理FS-EOOD检测的语义信息。三个新基准测试的广泛实验表明,SEM明显胜过当前最新方法。我们的代码和基准在https://github.com/jingkang50/openood中发布。

Existing out-of-distribution (OOD) detection literature clearly defines semantic shift as a sign of OOD but does not have a consensus over covariate shift. Samples experiencing covariate shift but not semantic shift are either excluded from the test set or treated as OOD, which contradicts the primary goal in machine learning -- being able to generalize beyond the training distribution. In this paper, we take into account both shift types and introduce full-spectrum OOD (FS-OOD) detection, a more realistic problem setting that considers both detecting semantic shift and being tolerant to covariate shift; and designs three benchmarks. These new benchmarks have a more fine-grained categorization of distributions (i.e., training ID, covariate-shifted ID, near-OOD, and far-OOD) for the purpose of more comprehensively evaluating the pros and cons of algorithms. To address the FS-OOD detection problem, we propose SEM, a simple feature-based semantics score function. SEM is mainly composed of two probability measures: one is based on high-level features containing both semantic and non-semantic information, while the other is based on low-level feature statistics only capturing non-semantic image styles. With a simple combination, the non-semantic part is cancelled out, which leaves only semantic information in SEM that can better handle FS-OOD detection. Extensive experiments on the three new benchmarks show that SEM significantly outperforms current state-of-the-art methods. Our code and benchmarks are released in https://github.com/Jingkang50/OpenOOD.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源