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

PViT:面向分布外检测的先验增强视觉Transformer

PViT: Prior-augmented Vision Transformer for Out-of-distribution Detection

School of Computer Science, The University of Sheffield(谢菲尔德大学计算机科学学院)

Tianhao Zhang, Zhixiang Chen, Lyudmila S. Mihaylova

AI总结:

针对视觉Transformer分布偏移鲁棒性不足的问题,提出先验增强框架PViT,通过预训练先验logits引导决策边界实现OOD检测,在ImageNet基准及多OOD数据集上性能优于现有SOTA方法。

摘要:

视觉Transformer(ViTs)已在各类视觉任务上取得显著成功,但其针对数据分布偏移的鲁棒性以及固有的归纳偏置仍未得到充分探究。为提升ViT模型在图像分布外(OOD)检测任务上的鲁棒性,我们提出了一种新颖的通用框架,名为先验增强视觉Transformer(Prior-augmented Vision Transformer,PViT)。该模型以预训练模型输出的先验类别logits作为输入,训练PViT预测类别logits。推理阶段,PViT通过量化预测得到的类别logits与预训练模型输出的先验logits之间的差异,识别OOD样本。与现有最先进(SOTA)的OOD检测方法不同,PViT利用所提出的先验引导置信度来塑造分布内(ID)与OOD样本之间的决策边界,无需额外的数据建模、生成方法或结构修改。在大规模ImageNet基准上开展的大量实验(针对7个以上OOD数据集进行评估)表明,PViT在FPR95和AUROC指标上显著优于现有SOTA OOD检测方法。代码库已公开于https://github.com/RanchoGoose/PViT。

英文摘要:

Vision Transformers (ViTs) have achieved remarkable success over various vision tasks, yet their robustness against data distribution shifts and inherent inductive biases remain underexplored. To enhance the robustness of ViT models for image Out-of-Distribution (OOD) detection, we introduce a novel and generic framework named Prior-augmented Vision Transformer (PViT). Taking as input the prior class logits from a pretrained model, we train PViT to predict the class logits. During inference, PViT identifies OOD samples by quantifying the divergence between the predicted class logits and the prior logits obtained from pre-trained models. Unlike existing state-of-the-art(SOTA) OOD detection methods, PViT shapes the decision boundary between ID and OOD by utilizing the proposed prior guided confidence, without requiring additional data modeling, generation methods, or structural modifications. Extensive experiments on the large-scale ImageNet benchmark, evaluated against over seven OOD datasets, demonstrate that PViT significantly outperforms existing SOTA OOD detection methods in terms of FPR95 and AUROC. The codebase is publicly available at https://github.com/RanchoGoose/PViT.

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

↑