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/Zero-Shot Anomaly Detection via Batch Normalization

Zero-Shot Anomaly Detection via Batch Normalization

Aodong Li, Chen Qiu, Marius Kloft, Padhraic Smyth, Maja Rudolph, Stephan Mandt

2023-02-15NeurIPS 2023 11zero-shot anomaly detectionZero-shot GeneralizationUnsupervised Anomaly DetectionAnomaly Detection
PaperPDFCode(official)

Abstract

Anomaly detection (AD) plays a crucial role in many safety-critical application domains. The challenge of adapting an anomaly detector to drift in the normal data distribution, especially when no training data is available for the "new normal," has led to the development of zero-shot AD techniques. In this paper, we propose a simple yet effective method called Adaptive Centered Representations (ACR) for zero-shot batch-level AD. Our approach trains off-the-shelf deep anomaly detectors (such as deep SVDD) to adapt to a set of inter-related training data distributions in combination with batch normalization, enabling automatic zero-shot generalization for unseen AD tasks. This simple recipe, batch normalization plus meta-training, is a highly effective and versatile tool. Our theoretical results guarantee the zero-shot generalization for unseen AD tasks; our empirical results demonstrate the first zero-shot AD results for tabular data and outperform existing methods in zero-shot anomaly detection and segmentation on image data from specialized domains. Code is at https://github.com/aodongli/zero-shot-ad-via-batch-norm

Results

TaskDatasetMetricValueModel
Anomaly DetectionMVTec ADDetection AUROC85.8ACR (zero-shot)
Anomaly DetectionMVTec ADSegmentation AP38.9ACR (zero-shot)
Anomaly DetectionMVTec ADSegmentation AUPRO72.7ACR (zero-shot)
Anomaly DetectionMVTec ADSegmentation AUROC92.5ACR (zero-shot)
Anomaly DetectionAnoShiftROC-AUC FAR62.5ACR-NTL (zero-shot, test anomaly ratio=1%)
Anomaly DetectionAnoShiftROC-AUC FAR62ACR-DSVDD (zero-shot, anomaly ratio=1%)
Anomaly DetectionAnoShiftROC-AUC FAR62ACR-NTL (zero-shot, test anomaly ratio=20%)
Anomaly DetectionAnoShiftROC-AUC FAR59.1ACR-DSVDD (zero-shot, anomaly ratio=20%)
Unsupervised Anomaly DetectionAnoShiftROC-AUC FAR62.5ACR-NTL (zero-shot, test anomaly ratio=1%)
Unsupervised Anomaly DetectionAnoShiftROC-AUC FAR62ACR-DSVDD (zero-shot, anomaly ratio=1%)
Unsupervised Anomaly DetectionAnoShiftROC-AUC FAR62ACR-NTL (zero-shot, test anomaly ratio=20%)
Unsupervised Anomaly DetectionAnoShiftROC-AUC FAR59.1ACR-DSVDD (zero-shot, anomaly ratio=20%)

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-17SAMST: A Transformer framework based on SAM pseudo label filtering for remote sensing semi-supervised semantic segmentation2025-07-16A 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-15Towards Depth Foundation Model: Recent Trends in Vision-Based Depth Estimation2025-07-15PoseLLM: Enhancing Language-Guided Human Pose Estimation with MLP Alignment2025-07-12