SOTAVerified

Exposing Outlier Exposure: What Can Be Learned From Few, One, and Zero Outlier Images

2022-05-23Code Available1· sign in to hype

Philipp Liznerski, Lukas Ruff, Robert A. Vandermeulen, Billy Joe Franks, Klaus-Robert Müller, Marius Kloft

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

Due to the intractability of characterizing everything that looks unlike the normal data, anomaly detection (AD) is traditionally treated as an unsupervised problem utilizing only normal samples. However, it has recently been found that unsupervised image AD can be drastically improved through the utilization of huge corpora of random images to represent anomalousness; a technique which is known as Outlier Exposure. In this paper we show that specialized AD learning methods seem unnecessary for state-of-the-art performance, and furthermore one can achieve strong performance with just a small collection of Outlier Exposure data, contradicting common assumptions in the field of AD. We find that standard classifiers and semi-supervised one-class methods trained to discern between normal samples and relatively few random natural images are able to outperform the current state of the art on an established AD benchmark with ImageNet. Further experiments reveal that even one well-chosen outlier sample is sufficient to achieve decent performance on this benchmark (79.3% AUC). We investigate this phenomenon and find that one-class methods are more robust to the choice of training outliers, indicating that there are scenarios where these are still more useful than standard classifiers. Additionally, we include experiments that delineate the scenarios where our results hold. Lastly, no training samples are necessary when one uses the representations learned by CLIP, a recent foundation model, which achieves state-of-the-art AD results on CIFAR-10 and ImageNet in a zero-shot setting.

Tasks

Benchmark Results

DatasetModelMetricClaimedVerifiedStatus
Leave-One-Class-Out CIFAR-10CLIP (zero shot)AUROC92.2Unverified
Leave-One-Class-Out CIFAR-10Binary Cross Entropy (OE)AUROC86.6Unverified
Leave-One-Class-Out CIFAR-10BCE-CLIPAUROC98.4Unverified
Leave-One-Class-Out CIFAR-10HSCAUROC84.8Unverified
Leave-One-Class-Out CIFAR-10DSADAUROC84.2Unverified
Leave-One-Class-Out CIFAR-10DSVDDAUROC52.2Unverified
Leave-One-Class-Out ImageNet-30DSADAUROC88.8Unverified
Leave-One-Class-Out ImageNet-30BCE-CLIP (OE)AUROC99.3Unverified
Leave-One-Class-Out ImageNet-30CLIP (zero shot)AUROC97.8Unverified
Leave-One-Class-Out ImageNet-30HSC (OE)AUROC88.3Unverified
Leave-One-Class-Out ImageNet-30Binary Cross Entropy (OE)AUROC88.2Unverified
Leave-One-Class-Out ImageNet-30DSVDDAUROC49.7Unverified
One-class CIFAR-10CLIP (OE)AUROC99.6Unverified
One-class CIFAR-10CLIP (zero shot)AUROC98.5Unverified
One-class ImageNet-30BCE-Clip (OE)AUROC99.9Unverified
One-class ImageNet-30CLIP (Zero Shot)AUROC99.88Unverified
One-class ImageNet-30Binary Cross Entropy (OE)AUROC97.7Unverified

Reproductions