How to train your ViT for OOD Detection

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Mueller, Maximilian, Hein, Matthias
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910460501032960
author Mueller, Maximilian
Hein, Matthias
author_facet Mueller, Maximilian
Hein, Matthias
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2405_17447
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle How to train your ViT for OOD Detection
Mueller, Maximilian
Hein, Matthias
Computer Vision and Pattern Recognition
Machine Learning
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.
title How to train your ViT for OOD Detection
topic Computer Vision and Pattern Recognition
Machine Learning
url https://arxiv.org/abs/2405.17447