Enhanced structural anomaly detection through improved image inpainting and feature-level discrimination

Read full text
Authors: Dongce Fei, Qiliang Wu
Cited by: 0
References: 21

Abstract

In industrial production, the detection of structural anomalies on product surfaces is crucial for quality control. Traditional encoder-decoder architectures for unsupervised anomaly detection, while effective, tend to reduce the reconstruction error between normal and abnormal samples due to their generalization capabilities. To address this, we propose an enhanced structural anomaly detection algorithm based on improved image inpainting. By converting the reconstruction task into an inpainting-filling-reconstruction process, we amplify the reconstruction error between normal and abnormal samples. Our algorithm uses a feature loss and feature-level anomaly discrimination method to mitigate noise interference. Furthermore, we introduce a lightweight U-Net design to meet industrial requirements. Experimental results on the MVTec LOCO AD and MVTec AD datasets demonstrate the effectiveness of our approach. On MVTec LOCO AD, ESAD achieves an average image‑level AUROC of 85.0%, outperforming existing methods on structural anomalies. On the more general MVTec AD benchmark, it attains 95.6% image‑level AUROC and 96.6% pixel‑level AUROC, surpassing several state‑of‑the‑art algorithms. These results highlight the strong generalization and practical potential of ESAD for industrial anomaly detection.

Fields of Study & Subjects

Anomaly Detection Techniques and Applications Machine Learning and Data Classification Explainable Artificial Intelligence (XAI)

Publication details

Journal / source
Scientific Reports
Publisher
Springer Science and Business Media LLC
Volume
16
Issue
1
Publication date
6 July 2026
Language
EN