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

重新思考分布外(OOD)检测:掩码图像建模即所需一切

Rethinking Out-of-distribution (OOD) Detection: Masked Image Modeling is All You Need

The Chinese University of Hong Kong(香港中文大学);SmartMore(思谋科技)

Jingyao Li, Pengguang Chen, Shaozuo Yu, Zexin He, Shu Liu, Jiaya Jia

AI总结:

本文提出以掩码图像建模作为预训练任务的MOOD框架,用重建式先验替代识别式特征学习,在不使用任何OOD样本的情况下显著超越此前最优的OOD检测方法。

摘要:

分布外(OOD)检测的核心在于学习与OOD样本可区分的分布内(ID)表示。以往工作采用基于识别的方法来学习ID特征,但这些方法倾向于学习捷径而非全面的表示。在本工作中,我们惊讶地发现,仅使用基于重建的方法就能显著提升OOD检测的性能。我们深入探索了OOD检测的主要贡献因素,发现基于重建的预训练任务有潜力提供一种通用且有效的先验,有助于模型学习ID数据集的内在数据分布。具体而言,我们将掩码图像建模(Masked Image Modeling)作为OOD检测框架(MOOD)的预训练任务。在不使用任何额外技巧的情况下,MOOD在单类OOD检测上比先前的最优方法(SOTA)高出5.7%,在多类OOD检测上高出3.0%,在近分布OOD检测上高出2.1%。尽管我们在检测中未包含任何OOD样本,MOOD甚至击败了每类10个样本的离群值暴露OOD检测方法。

英文摘要:

The core of out-of-distribution (OOD) detection is to learn the in-distribution (ID) representation, which is distinguishable from OOD samples. Previous work applied recognition-based methods to learn the ID features, which tend to learn shortcuts instead of comprehensive representations. In this work, we find surprisingly that simply using reconstruction-based methods could boost the performance of OOD detection significantly. We deeply explore the main contributors of OOD detection and find that reconstruction-based pretext tasks have the potential to provide a generally applicable and efficacious prior, which benefits the model in learning intrinsic data distributions of the ID dataset. Specifically, we take Masked Image Modeling as a pretext task for our OOD detection framework (MOOD). Without bells and whistles, MOOD outperforms previous SOTA of one-class OOD detection by 5.7%, multi-class OOD detection by 3.0%, and near-distribution OOD detection by 2.1%. It even defeats the 10-shot-per-class outlier exposure OOD detection, although we do not include any OOD samples for our detection

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

↑