Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

WeiPer: OOD Detection using Weight Perturbations of Class Projections

About

Recent advances in out-of-distribution (OOD) detection on image data show that pre-trained neural network classifiers can separate in-distribution (ID) from OOD data well, leveraging the class-discriminative ability of the model itself. Methods have been proposed that either use logit information directly or that process the model's penultimate layer activations. With "WeiPer", we introduce perturbations of the class projections in the final fully connected layer which creates a richer representation of the input. We show that this simple trick can improve the OOD detection performance of a variety of methods and additionally propose a distance-based method that leverages the properties of the augmented WeiPer space. We achieve state-of-the-art OOD detection results across multiple benchmarks of the OpenOOD framework, especially pronounced in difficult settings in which OOD samples are positioned close to the training set distribution. We support our findings with theoretical motivations and empirical observations, and run extensive ablations to provide insights into why WeiPer works.

Maximilian Granz, Manuel Heurich, Tim Landgraf• 2024

Related benchmarks

TaskDatasetResultRank
Out-of-Distribution DetectioniNaturalist
FPR@9513.59
200
Out-of-Distribution DetectionTextures
AUROC0.9618
141
Out-of-Distribution DetectionOpenImage-O
AUROC92.94
107
OOD DetectionMVTec Metal Nut Dissimilar
AUROC0.7432
90
OOD DetectionMVTec Pill (Dissimilar)
AUROC80.29
90
OOD DetectionMVTec Pill (Similar)
AUROC80.77
90
OOD DetectionISIC Ink Artefacts (Similar)
AUROC74.59
70
Out-of-Distribution DetectionNINCO
AUROC85.37
59
Out-of-Distribution DetectionSSB hard
AUROC (%)74.73
51
Out-of-Distribution DetectionCIFAR100 ID Dnear OOD
AUROC81.37
47
Showing 10 of 41 rows

Other info

Follow for update