Swin Transformer–Normalising Flow : An unsupervised learning model for defect detection on fabric surfaces using Normalising Flow
Coloration Technology · 04.01.2026
DOI: 10.1111/cote.70052 ↗Kurz gefasst
Fachartikel in der Zeitschrift Coloration Technology, online erschienen am 04.01.2026. Verfasst von Haibo Wang und 3 weiteren Autor:innen. Die Arbeit wurde bisher 1-mal zitiert (Crossref) und nennt 43 Literaturangaben. Gefördert von: Natural Science Foundation of Hebei Province, National Natural Science Foundation of China.
Abstract (Originalsprache)
Fabric defect detection is crucial for ensuring product quality. However, the limited and diverse availability of defect samples for training presents a significant challenge. Manual annotation of defects is not only time‐consuming but often impractical. By contrast, while unlabelled normal data are more readily accessible, issues such as complex backgrounds, small targets and blurred fine features complicate detection. To address these challenges, we propose an unsupervised defect detection method that utilises only unlabelled normal data for training. The method incorporates the Normalisation‐based Attention Module attention mechanism to suppress minor texture variations and noise artefacts that naturally exist within normal fabric samples, achieving high detection accuracy and robust performance in noisy environments. Our approach leverages the strengths of the Swin Transformer, which efficiently captures global features through a local window multi‐head attention mechanism, and Normalising Flow, which generates anomaly scores by modelling probability distributions and effectively quantifying anomaly levels. We evaluate the proposed method on the publicly available MVTec‐AD and YDFID‐1 datasets, demonstrating superior performance in both defect detection and localisation tasks. On the MVTec‐AD dataset, our method outperforms existing approaches in most scenarios, exhibiting higher accuracy and enhanced noise robustness. On the YDFID‐1 dataset, we achieve an image‐level Area under the Receiver Operating Characteristic curve (AUROC) of 98.4% and a pixel‐level AUROC of 96.9%, significantly surpassing the performance of current unsupervised fabric defect detection methods, particularly in the detection and localisation of defects in colour‐patterned fabrics.
Förderung
- Natural Science Foundation of Hebei Province
- National Natural Science Foundation of China
Zitieren
APA
Wang, H., Zhang, S., Zhang, H., & Lu, S. (2026). Swin Transformer–Normalising Flow : An unsupervised learning model for defect detection on fabric surfaces using Normalising Flow. Coloration Technology. https://doi.org/10.1111/cote.70052
Vancouver
Wang H, Zhang S, Zhang H, Lu S. Swin Transformer–Normalising Flow : An unsupervised learning model for defect detection on fabric surfaces using Normalising Flow. Coloration Technology. 2026. doi:10.1111/cote.70052
BibTeX
@article{Wang2026,
author = {Wang, Haibo and Zhang, Siyi and Zhang, Hongwei and Lu, Shuai},
title = {Swin Transformer–Normalising Flow : An unsupervised learning model for defect detection on fabric surfaces using Normalising Flow},
journal = {Coloration Technology},
year = {2026},
doi = {10.1111/cote.70052}
}
EUVIMED