arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2405.17447cs.CVcs.LG
收藏

如何训练你的ViT用于OOD检测

How to train your ViT for OOD Detection

University of Tübingen(蒂宾根大学);Tübingen AI Center(蒂宾根人工智能中心)

Maximilian Mueller, Matthias Hein

AI总结:

本研究通过分析大量模型,探讨预训练与微调方案对视觉Transformer在分布外检测任务性能的影响,发现预训练类型至关重要,并提出了最佳实践训练配方。

摘要:

视觉Transformer已被证明在ImageNet规模设置下,当从公开可用的检查点进行微调时,是强大的分布外检测器,通常在流行基准上优于其他模型类型。在这项工作中,我们通过分析大量模型池,研究了预训练和微调方案对ViT在此任务上性能的影响。我们发现,预训练的确切类型对哪种方法有效以及总体上的OOD检测性能有强烈影响。我们进一步表明,某些训练方案可能仅对特定类型的分布外数据有效,但并非普遍有效,并确定了一种最佳实践训练配方。

英文摘要:

VisionTransformers have been shown to be powerful out-of-distribution detectors for ImageNet-scale settings when finetuned from publicly available checkpoints, often outperforming other model types on popular benchmarks. In this work, we investigate the impact of both the pretraining and finetuning scheme on the performance of ViTs on this task by analyzing a large pool of models. We find that the exact type of pretraining has a strong impact on which method works well and on OOD detection performance in general. We further show that certain training schemes might only be effective for a specific type of out-distribution, but not in general, and identify a best-practice training recipe.

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

↑