arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2108.11941cs.CV
收藏

语义相关的分布外检测

Semantically Coherent Out-of-Distribution Detection

Nanyang Technological University(南洋理工大学);SenseTime Research(商汤科技研究院);Shanghai Jiao Tong University(上海交通大学);Shanghai AI Laboratory(上海人工智能实验室)

Jingkang Yang, Haoqi Wang, Litong Feng, Xiaopeng Yan, Huabin Zheng, Wayne Zhang, Ziwei Liu

摘要:

当前的分布外(OOD)检测基准通常通过将一个数据集定义为分布内(ID)而将所有其他数据集定义为OOD来构建。然而,不幸的是,这些基准引入了一些不想要的和不切实际的目标,例如,完全区分CIFAR狗和ImageNet狗,即使它们具有相同的语义和可忽略的协变量偏移。这些不切实际的目标将导致模型功能的范围非常狭窄,极大地限制了它们在实际应用中的使用。为了克服这些缺点,我们重新设计的基准,并提出了语义一致的分布外检测(SC-OOD)。在SC-OOD基准测试中,现有方法的性能下降很大,这表明它们对数据源之间的低级别差异非常敏感,而忽略了它们固有的语义。为了开发一种有效的SC-OOD检测方法,我们利用外部未标记集,并设计了一个简洁的框架,其特点是无监督双分组(UDG)的ID和OOD数据的联合建模。UDG不仅可以通过以无监督的方式利用未标记的数据来丰富模型的语义知识,而且还可以区分ID/OOD样本,以同时增强ID分类和OOD检测任务。大量的实验表明,我们的方法达到了最先进的性能SC-OOD基准。代码和基准测试在我们的项目页面上提供:https://jingkang50.github.io/projects/scood。

英文摘要:

Current out-of-distribution (OOD) detection benchmarks are commonly built by defining one dataset as in-distribution (ID) and all others as OOD. However, these benchmarks unfortunately introduce some unwanted and impractical goals, e.g., to perfectly distinguish CIFAR dogs from ImageNet dogs, even though they have the same semantics and negligible covariate shifts. These unrealistic goals will result in an extremely narrow range of model capabilities, greatly limiting their use in real applications. To overcome these drawbacks, we re-design the benchmarks and propose the semantically coherent out-of-distribution detection (SC-OOD). On the SC-OOD benchmarks, existing methods suffer from large performance degradation, suggesting that they are extremely sensitive to low-level discrepancy between data sources while ignoring their inherent semantics. To develop an effective SC-OOD detection approach, we leverage an external unlabeled set and design a concise framework featured by unsupervised dual grouping (UDG) for the joint modeling of ID and OOD data. The proposed UDG can not only enrich the semantic knowledge of the model by exploiting unlabeled data in an unsupervised manner, but also distinguish ID/OOD samples to enhance ID classification and OOD detection tasks simultaneously. Extensive experiments demonstrate that our approach achieves state-of-the-art performance on SC-OOD benchmarks. Code and benchmarks are provided on our project page: https://jingkang50.github.io/projects/scood.

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

↑