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

Philipp Liznerski, Lukas Ruff, Robert A. Vandermeulen, Billy Joe Franks, Klaus-Robert Müller +1 more
5/23/2022
cs.CVcs.LGstat.ML

Official code: liznerski/eoe (12 stars, Python, MIT, PyTorch, last commit 2024-08-20).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

liznerski/eoeOfficial100%
PyTorchMIT

Repository for the Exposing Outlier Exposure paper

123Python, ShellNov 3, 20222 years agoMIT
anomaly-detectionbcebce-clcifar-10clip+14 more

Similar Papers

Cite this paper

@article{liznerski2022exposing,
  title  = {Exposing Outlier Exposure: What Can Be Learned From Few, One, and Zero Outlier Images},
  author = {Philipp Liznerski and Lukas Ruff and Robert A. Vandermeulen and Billy Joe Franks and Klaus-Robert Müller and Marius Kloft},
  year   = {2022},
  eprint = {2205.11474},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.11474}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2205.11474.svg)](https://codeofpaper.com/paper/2205.11474)

Discussion