JOURNAL ARTICLE

Masked Swin Transformer Unet for Industrial Anomaly Detection

Jielin JiangJiale ZhuMuhammad BilalYan CuiNeeraj KumarRuihan DouFeng SuXiaolong Xu

Year: 2022 Journal:   IEEE Transactions on Industrial Informatics Vol: 19 (2)Pages: 2200-2209   Publisher: Institute of Electrical and Electronics Engineers

Abstract

The intelligent detection process for industrial anomalies employs artificial intelligence methods to classify images that deviate from a normal appearance. Traditional convolutional neural network (CNN)-based anomaly detection algorithms mainly use the network to restructure abnormal areas and detect anomalies by calculating the errors between the original image and reconstructed image. However, the traditional CNNs struggle to extract global context information, resulting in poor anomaly detection performance. Thus, a masked Swin Transformer Unet (MSTUnet) for anomaly detection is proposed. To solve the problem of insufficient abnormal samples in the training phase, an anomaly simulation and mask strategy is first applied on anomaly-free samples to generate a simulated anomaly and, then, the Swin Transformer's powerful global learning ability is used to inpaint the masked area. Finally, a convolution-based Unet network is used for end-to-end anomaly detection. Experimental results on industrial dataset MVTec AD show that MSTUnet achieves superior anomaly detection and localization performance.

Keywords:
Anomaly detection Artificial intelligence Computer science Pattern recognition (psychology) Transformer Convolutional neural network Anomaly (physics) Context (archaeology) Computer vision Engineering Geology

Metrics

146
Cited By
27.61
FWCI (Field Weighted Citation Impact)
40
Refs
1.00
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Anomaly Detection Techniques and Applications
Physical Sciences →  Computer Science →  Artificial Intelligence
Industrial Vision Systems and Defect Detection
Physical Sciences →  Engineering →  Industrial and Manufacturing Engineering
Fault Detection and Control Systems
Physical Sciences →  Engineering →  Control and Systems Engineering
© 2026 ScienceGate Book Chapters — All rights reserved.