Zero-Shot Anomaly Detection via Batch Normalization

Aodong Li, Chen Qiu, M. Kloft, P. Smyth, Maja Rudolph +1 more
2/1/2023

No official code found. Best implementation: aodongli/zero-shot-ad-via-batch-norm (50 stars, MIT, last commit 2024-03-06).

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

View on arXivView PDF

Code Implementations(1)

MIT

Official code repository for paper Zero-Shot Anomaly Detection via Batch Normalization (NeurIPS 2023).

507PythonOct 25, 20232 years agoMIT

Similar Papers

Cite this paper

@article{li2023zeroshot,
  title  = {Zero-Shot Anomaly Detection via Batch Normalization},
  author = {Aodong Li and Chen Qiu and M. Kloft and P. Smyth and Maja Rudolph and S. Mandt},
  year   = {2023},
  eprint = {2302.07849},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2302.07849},
  journal = {NEURIPS 2023 2023}
}

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/2302.07849.svg)](https://codeofpaper.com/paper/2302.07849)

Discussion