HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

Natural Synthetic Anomalies for Self-Supervised Anomaly Detection and Localization

Hannah M. Schlüter; Jeremy Tan; Benjamin Hou; Bernhard Kainz

Natural Synthetic Anomalies for Self-Supervised Anomaly Detection and Localization

Abstract

We introduce a simple and intuitive self-supervision task, Natural Synthetic Anomalies (NSA), for training an end-to-end model for anomaly detection and localization using only normal training data. NSA integrates Poisson image editing to seamlessly blend scaled patches of various sizes from separate images. This creates a wide range of synthetic anomalies which are more similar to natural sub-image irregularities than previous data-augmentation strategies for self-supervised anomaly detection. We evaluate the proposed method using natural and medical images. Our experiments with the MVTec AD dataset show that a model trained to localize NSA anomalies generalizes well to detecting real-world a priori unknown types of manufacturing defects. Our method achieves an overall detection AUROC of 97.2 outperforming all previous methods that learn without the use of additional datasets. Code available at https://github.com/hmsch/natural-synthetic-anomalies.

Code Repositories

SimonThomine/MixedTeacher
pytorch
Mentioned in GitHub
hmsch/natural-synthetic-anomalies
Official
pytorch
Mentioned in GitHub
matt-baugh/nnood
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
anomaly-classification-on-goodsadNSA
AUPR: 71.8
AUROC: 67.3
anomaly-detection-on-aebad-sNSA
Detection AUROC: 56.7
Segmentation AUPRO: 45.9
anomaly-detection-on-aebad-vNSA
Detection AUROC: 64.6
anomaly-detection-on-mvtec-adNSA
Detection AUROC: 97.2
Segmentation AUPRO: 91.0
Segmentation AUROC: 96.3

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