arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2411.11254cs.CV
收藏

语义还是协变量?关于分布外检测棘手情况的研究

Revisiting Out-of-Distribution Detection in Semantic Difference Space

Key Laboratory of AI Safety of CAS, Institute of Computing Technology(中国科学院计算技术研究所);Chinese Academy of Sciences (CAS)(中国科学院);University of Chinese Academy of Sciences(中国科学院大学)

Xingming Long, Jie Zhang, Shiguang Shan, Xilin Chen

AI总结:

本文指出现有OOD检测中“语义偏移”定义存在歧义,导致部分测试场景对事后检测方法不可处理,为此重新定义了ID分布的语义与协变量空间,提出“可处理OOD”设置,并通过实验验证了理论分析的正确性。

摘要:

分布外(OOD)检测任务的主要目标是识别具有语义偏移的输入,即如果来自新类别的样本在用于训练的分布内(ID)数据集中不存在,我们应该拒绝这些OOD样本,而不是将其错误分类到现有的ID类别中。然而,我们发现当前“语义偏移”的定义存在歧义,这使得某些OOD测试协议对于基于在ID数据集上训练的分类器的事后OOD检测方法而言变得棘手。在本文中,我们为ID分布的语义空间和协变量空间提供了更精确的定义,使我们能够从理论上分析哪些类型的OOD分布会使检测任务变得棘手。为了避免现有OOD设置中的缺陷,我们进一步定义了“可处理OOD”设置,以确保事后OOD检测方法能够区分OOD和ID分布。最后,我们进行了多项实验,以证明我们定义的必要性并验证定理的正确性。

英文摘要:

The primary goal of most existing out-of-distribution (OOD) detection works is to identify inputs with "Semantic Shifts". However, the existing definition of "Semantic Shift" in previous studies remains vague, resulting in controversial choices of OOD samples in many benchmarks. Consequently, some benchmarks are too trivial for evaluating OOD detection, whereas others include OOD instances that are practically undetectable. In this paper, we propose a formal definition of "Semantic Difference Space", which reflects the scope of a model's OOD detection capability after training convergence. The definition is grounded in an analysis of how the loss-based optimization shapes the model's perceptual toward OOD inputs, offering theoretical explanations for the controversies regarding the selection of OOD samples across existing benchmarks. To validate the correctness of our analysis, we construct multiple datasets, primarily in the context of image classification, and we find that compared to different OOD detection methods, different OOD settings play a more decisive role in the detection results. Finally, we propose a simple yet effective OOD Separability Probe (OSP) method to evaluate whether the existing OOD detection benchmarks are reasonable, identifying issues in some benchmarks and highlighting a few that are worth further exploration.

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

↑