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

OODformer:分布外检测Transformer

OODformer: Out-Of-Distribution Detection Transformer

Ludwig Maximilian University, Munich(慕尼黑路德维希-马克西米利安大学);Technical University of Munich(慕尼黑工业大学);Siemens AG, Munich(西门子股份公司)

Rajat Koner, Poulami Sinhamahapatra, Karsten Roscher, Stephan Günnemann, Volker Tresp

摘要:

图像分类中的一个严重问题是,经训练的模型可能对于源自与可用于模型训练的数据相同的分布的输入数据表现良好,但对于分布外(OOD)样本表现差得多。特别是在现实世界的安全关键型应用中,重要的是要知道新的数据点是否是OOD。迄今为止,OOD检测通常使用置信度分数、基于自动编码器的重建或通过对比学习来解决。然而,全球图像上下文尚未被探索,以区分在分布和OOD样本之间的非局部对象。本文提出了一种名为OODformer的OOD检测架构,它利用了Transformer的上下文化功能。将变换器作为主要特征提取器,使我们能够利用对象概念及其区别属性以及它们通过视觉注意的同现。使用上下文嵌入,我们证明了OOD检测使用类条件的潜在空间相似性和网络置信度得分。我们的方法显示了在各种数据集之间改进的通用性。我们在CIFAR-10/-100和ImageNet 30上取得了最新的成果。

英文摘要:

A serious problem in image classification is that a trained model might perform well for input data that originates from the same distribution as the data available for model training, but performs much worse for out-of-distribution (OOD) samples. In real-world safety-critical applications, in particular, it is important to be aware if a new data point is OOD. To date, OOD detection is typically addressed using either confidence scores, auto-encoder based reconstruction, or by contrastive learning. However, the global image context has not yet been explored to discriminate the non-local objectness between in-distribution and OOD samples. This paper proposes a first-of-its-kind OOD detection architecture named OODformer that leverages the contextualization capabilities of the transformer. Incorporating the trans\-former as the principal feature extractor allows us to exploit the object concepts and their discriminate attributes along with their co-occurrence via visual attention. Using the contextualised embedding, we demonstrate OOD detection using both class-conditioned latent space similarity and a network confidence score. Our approach shows improved generalizability across various datasets. We have achieved a new state-of-the-art result on CIFAR-10/-100 and ImageNet30.

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

↑