HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

Asymmetric Student-Teacher Networks for Industrial Anomaly Detection

Marco Rudolph; Tom Wehrbein; Bodo Rosenhahn; Bastian Wandt

Asymmetric Student-Teacher Networks for Industrial Anomaly Detection

Abstract

Industrial defect detection is commonly addressed with anomaly detection (AD) methods where no or only incomplete data of potentially occurring defects is available. This work discovers previously unknown problems of student-teacher approaches for AD and proposes a solution, where two neural networks are trained to produce the same output for the defect-free training examples. The core assumption of student-teacher networks is that the distance between the outputs of both networks is larger for anomalies since they are absent in training. However, previous methods suffer from the similarity of student and teacher architecture, such that the distance is undesirably small for anomalies. For this reason, we propose asymmetric student-teacher networks (AST). We train a normalizing flow for density estimation as a teacher and a conventional feed-forward network as a student to trigger large distances for anomalies: The bijectivity of the normalizing flow enforces a divergence of teacher outputs for anomalies compared to normal data. Outside the training distribution the student cannot imitate this divergence due to its fundamentally different architecture. Our AST network compensates for wrongly estimated likelihoods by a normalizing flow, which was alternatively used for anomaly detection in previous work. We show that our method produces state-of-the-art results on the two currently most relevant defect detection datasets MVTec AD and MVTec 3D-AD regarding image-level anomaly detection on RGB and 3D data.

Code Repositories

marco-rudolph/ast
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
anomaly-detection-on-mvtec-3d-ad-1AST
Detection AUROC: 93.7
Segmentation AUROC: 97.6
anomaly-detection-on-mvtec-adAST
Detection AUROC: 99.2
Segmentation AUROC: 95.0
anomaly-detection-on-mvtec-loco-adAST
Detection AUROC (only logical): 79.7
Detection AUROC (only structural): 87.1
Segmentation AU-sPRO (until FPR 5%): 42.7
anomaly-detection-on-visaAST
Detection AUROC: 94.9
Segmentation AUPRO (until 30% FPR): 81.5
rgb-3d-anomaly-detection-and-segmentation-onAST
Detection AUCROC: 0.937
Segmentation AUCROC: 0.976

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
Asymmetric Student-Teacher Networks for Industrial Anomaly Detection | Papers | HyperAI