TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Exposing Outlier Exposure: What Can Be Learned From Few, O...

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, Marius Kloft

2022-05-23Anomaly Detection
PaperPDFCode(official)

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.

Results

TaskDatasetMetricValueModel
Anomaly DetectionLeave-One-Class-Out CIFAR-10AUROC98.4BCE-CLIP
Anomaly DetectionLeave-One-Class-Out CIFAR-10AUROC92.2CLIP (zero shot)
Anomaly DetectionLeave-One-Class-Out CIFAR-10AUROC86.6Binary Cross Entropy (OE)
Anomaly DetectionLeave-One-Class-Out CIFAR-10AUROC84.8HSC
Anomaly DetectionLeave-One-Class-Out CIFAR-10AUROC84.2DSAD
Anomaly DetectionLeave-One-Class-Out CIFAR-10AUROC52.2DSVDD
Anomaly DetectionLeave-One-Class-Out ImageNet-30AUROC99.3BCE-CLIP (OE)
Anomaly DetectionLeave-One-Class-Out ImageNet-30AUROC97.8CLIP (zero shot)
Anomaly DetectionLeave-One-Class-Out ImageNet-30AUROC88.8DSAD
Anomaly DetectionLeave-One-Class-Out ImageNet-30AUROC88.3HSC (OE)
Anomaly DetectionLeave-One-Class-Out ImageNet-30AUROC88.2Binary Cross Entropy (OE)
Anomaly DetectionLeave-One-Class-Out ImageNet-30AUROC49.7DSVDD
Anomaly DetectionOne-class ImageNet-30AUROC99.9BCE-Clip (OE)
Anomaly DetectionOne-class ImageNet-30AUROC99.88CLIP (Zero Shot)
Anomaly DetectionOne-class ImageNet-30AUROC97.7Binary Cross Entropy (OE)
Anomaly DetectionOne-class CIFAR-10AUROC99.6CLIP (OE)
Anomaly DetectionOne-class CIFAR-10AUROC98.5CLIP (zero shot)

Related Papers

Multi-Stage Prompt Inference Attacks on Enterprise LLM Systems2025-07-213DKeyAD: High-Resolution 3D Point Cloud Anomaly Detection via Keypoint-Guided Point Clustering2025-07-17A Semi-Supervised Learning Method for the Identification of Bad Exposures in Large Imaging Surveys2025-07-17A Privacy-Preserving Framework for Advertising Personalization Incorporating Federated Learning and Differential Privacy2025-07-16Bridge Feature Matching and Cross-Modal Alignment with Mutual-filtering for Zero-shot Anomaly Detection2025-07-15Adversarial Activation Patching: A Framework for Detecting and Mitigating Emergent Deception in Safety-Aligned Transformers2025-07-12Towards High-Resolution 3D Anomaly Detection: A Scalable Dataset and Real-Time Framework for Subtle Industrial Defects2025-07-10seMCD: Sequentially implemented Monte Carlo depth computation with statistical guarantees2025-07-08