Asymmetric Student-Teacher Networks for Industrial Anomaly Detection

Marco Rudolph, Tom Wehrbein, Bodo Rosenhahn, Bastian Wandt
10/14/2022
cs.LGcs.AIcs.CV
diffusion-flow

Official code: marco-rudolph/AST (85 stars, Python, last commit 2023-02-28).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

marco-rudolph/ASTOfficial100%

This is the code to the WACV 2023 paper "Asymmetric Student-Teacher Networks for Industrial Anomaly Detection" by Marco Rudolph, Tom Wehrbein, Bodo Rosenhahn and Bastian Wandt.

8511PythonOct 14, 20223 years ago
anomaly-detectiondeep-learning

Similar Papers

Cite this paper

@article{rudolph2022asymmetric,
  title  = {Asymmetric Student-Teacher Networks for Industrial Anomaly Detection},
  author = {Marco Rudolph and Tom Wehrbein and Bodo Rosenhahn and Bastian Wandt},
  year   = {2022},
  eprint = {2210.07829},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.07829}
}

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

Discussion