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/Deep Anomaly Detection with Outlier Exposure

Deep Anomaly Detection with Outlier Exposure

Dan Hendrycks, Mantas Mazeika, Thomas Dietterich

2018-12-11ICLR 2019 5Out of Distribution (OOD) DetectionAnomaly DetectionOut-of-Distribution Detection
PaperPDFCodeCodeCodeCodeCodeCodeCodeCodeCode(official)

Abstract

It is important to detect anomalous inputs when deploying machine learning systems. The use of larger and more complex inputs in deep learning magnifies the difficulty of distinguishing between anomalous and in-distribution examples. At the same time, diverse image and text data are available in enormous quantities. We propose leveraging these data to improve deep anomaly detection by training anomaly detectors against an auxiliary dataset of outliers, an approach we call Outlier Exposure (OE). This enables anomaly detectors to generalize and detect unseen anomalies. In extensive experiments on natural language processing and small- and large-scale vision tasks, we find that Outlier Exposure significantly improves detection performance. We also observe that cutting-edge generative models trained on CIFAR-10 may assign higher likelihoods to SVHN images than to CIFAR-10 images; we use OE to mitigate this issue. We also analyze the flexibility and robustness of Outlier Exposure, and identify characteristics of the auxiliary dataset that improve performance.

Results

TaskDatasetMetricValueModel
Out-of-Distribution DetectionCIFAR-100FPR9538.5WRN 40-2 + OE
Out-of-Distribution DetectionCIFAR-100FPR9562.66WRN 40-2 (MSP Baseline)
Out-of-Distribution DetectionCIFAR-100 vs SVHNAUROC86.9OE
Out-of-Distribution DetectionCIFAR-10 vs CIFAR-100AUPR76.2WRN 40-2 + OE
Out-of-Distribution DetectionCIFAR-10 vs CIFAR-100AUROC93.3WRN 40-2 + OE
Out-of-Distribution DetectionCIFAR-10AUROC97.8WRN 40-2 + OE
Out-of-Distribution DetectionCIFAR-10FPR959.5WRN 40-2 + OE
Out-of-Distribution DetectionCIFAR-10AUROC97.8WRN 40-2 (MSP Baseline)
Out-of-Distribution DetectionCIFAR-10FPR9534.94WRN 40-2 (MSP Baseline)

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-15ZClassifier: Temperature Tuning and Manifold Approximation via KL Divergence on Logit Space2025-07-14Adversarial 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-10