[Paper Review] Asymmetric Student-Teacher Networks for Industrial Anomaly Detection
This paper proposes Asymmetric Student-Teacher Networks (AST) for industrial anomaly detection, where a normalizing flow acts as a bijective teacher and a conventional feed-forward network as a student. By enforcing architectural asymmetry, AST ensures large output discrepancies for anomalies, outperforming symmetric student-teacher and likelihood-based methods, achieving state-of-the-art AUROC scores of 93.7% on MVTec 3D-AD and 88.0% on RGB data.
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.
Motivation & Objective
- To address the failure of symmetric student-teacher networks in anomaly detection due to unintended generalization of similar architectures.
- To overcome the limitation of normalizing flow-based likelihood estimation, which can be misestimated and lead to false anomalies.
- To improve anomaly detection by leveraging architectural asymmetry to amplify output differences for out-of-distribution (anomalous) inputs.
- To demonstrate effectiveness on both 2D RGB and 3D depth data, including their fusion, in industrial defect detection.
- To show that the student-teacher distance is a more robust anomaly score than the teacher's likelihood alone.
Proposed method
- The teacher is a normalizing flow trained via maximum likelihood to model the distribution of normal features, ensuring bijectivity and sensitivity to distributional shifts.
- The student is a standard feed-forward neural network trained to match the teacher's outputs on normal training data.
- Anomalies trigger large output distances between the teacher and student because the student cannot generalize to out-of-distribution inputs due to architectural mismatch.
- The method uses foreground masking during training and inference to suppress background interference and improve focus on relevant object regions.
- Positional encoding is applied to 3D data to improve spatial awareness and detection performance.
- The final anomaly score is the L2 distance between student and teacher outputs, which is more robust than the teacher's likelihood alone.
Experimental results
Research questions
- RQ1Why do symmetric student-teacher networks fail to detect anomalies effectively despite their design?
- RQ2Can architectural asymmetry between student and teacher improve anomaly detection performance?
- RQ3Is the student-teacher distance a more reliable anomaly score than the likelihood from a normalizing flow teacher?
- RQ4How does combining RGB and 3D data affect anomaly detection performance with the proposed AST framework?
- RQ5What is the impact of foreground masking and positional encoding on detection performance in 3D defect detection?
Key findings
- The proposed AST method achieves state-of-the-art performance with 93.7% AUROC on MVTec 3D-AD and 88.0% on RGB data, outperforming all baselines.
- Using a deeper student network improves performance over symmetric pairs, but the best trade-off is achieved with 4 residual blocks in the student.
- Foreground masking improves detection performance by 1.4% on 3D data, as it allows the model to focus on relevant object regions.
- Positional encoding improves detection by 1.4% on 3D data, and its integration adds minimal computational cost.
- The student-teacher distance is more robust than the teacher's likelihood, as it compensates for misestimated likelihoods in the normalizing flow.
- The AST framework achieves 93.8% AUROC on 3D+RGB data when using positional encoding and masking, demonstrating strong generalization across modalities.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.