HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Zero-Shot Anomaly Detection via Batch Normalization

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

Zero-Shot Anomaly Detection via Batch Normalization

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

Code Repositories

aodongli/zero-shot-ad-via-batch-norm
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
anomaly-detection-on-mvtec-adACR (zero-shot)
Detection AUROC: 85.8
Segmentation AP: 38.9
Segmentation AUPRO: 72.7
Segmentation AUROC: 92.5
unsupervised-anomaly-detection-on-anoshiftACR-DSVDD (zero-shot, anomaly ratio=1%)
ROC-AUC FAR: 62
unsupervised-anomaly-detection-on-anoshiftACR-NTL (zero-shot, test anomaly ratio=1%)
ROC-AUC FAR: 62.5
unsupervised-anomaly-detection-on-anoshiftACR-NTL (zero-shot, test anomaly ratio=20%)
ROC-AUC FAR: 62
unsupervised-anomaly-detection-on-anoshiftACR-DSVDD (zero-shot, anomaly ratio=20%)
ROC-AUC FAR: 59.1

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Zero-Shot Anomaly Detection via Batch Normalization | Papers | HyperAI