Open Access iconOpen Access

ARTICLE

crossmark

A Normalizing Flow-Based Bidirectional Mapping Residual Network for Unsupervised Defect Detection

by Lanyao Zhang1, Shichao Kan2, Yigang Cen3, Xiaoling Chen1, Linna Zhang1,*, Yansen Huang4,5

1 School of Mechanical Engineering, Guizhou University, Guiyang, 550025, China
2 School of Computer Science and Engineering, Central South University, Changsha, 410083, China
3 School of Computer and Information Technology, Beijing Jiaotong University, Beijing, 100044, China
4 College of Civil Engineering, Guizhou University, Guiyang, 550025, China
5 Guizhou Lianjian Civil Engineering Quality Inspection Monitoring Center Co., Ltd., Guiyang, 550025, China

* Corresponding Author: Linna Zhang. Email: email

Computers, Materials & Continua 2024, 78(2), 1631-1648. https://doi.org/10.32604/cmc.2024.046924

Abstract

Unsupervised methods based on density representation have shown their abilities in anomaly detection, but detection performance still needs to be improved. Specifically, approaches using normalizing flows can accurately evaluate sample distributions, mapping normal features to the normal distribution and anomalous features outside it. Consequently, this paper proposes a Normalizing Flow-based Bidirectional Mapping Residual Network (NF-BMR). It utilizes pre-trained Convolutional Neural Networks (CNN) and normalizing flows to construct discriminative source and target domain feature spaces. Additionally, to better learn feature information in both domain spaces, we propose the Bidirectional Mapping Residual Network (BMR), which maps sample features to these two spaces for anomaly detection. The two detection spaces effectively complement each other’s deficiencies and provide a comprehensive feature evaluation from two perspectives, which leads to the improvement of detection performance. Comparative experimental results on the MVTec AD and DAGM datasets against the Bidirectional Pre-trained Feature Mapping Network (B-PFM) and other state-of-the-art methods demonstrate that the proposed approach achieves superior performance. On the MVTec AD dataset, NF-BMR achieves an average AUROC of 98.7% for all 15 categories. Especially, it achieves 100% optimal detection performance in five categories. On the DAGM dataset, the average AUROC across ten categories is 98.7%, which is very close to supervised methods.

Graphic Abstract

A Normalizing Flow-Based Bidirectional Mapping Residual Network for Unsupervised Defect Detection

Keywords


Cite This Article

APA Style
Zhang, L., Kan, S., Cen, Y., Chen, X., Zhang, L. et al. (2024). A normalizing flow-based bidirectional mapping residual network for unsupervised defect detection. Computers, Materials & Continua, 78(2), 1631-1648. https://doi.org/10.32604/cmc.2024.046924
Vancouver Style
Zhang L, Kan S, Cen Y, Chen X, Zhang L, Huang Y. A normalizing flow-based bidirectional mapping residual network for unsupervised defect detection. Comput Mater Contin. 2024;78(2):1631-1648 https://doi.org/10.32604/cmc.2024.046924
IEEE Style
L. Zhang, S. Kan, Y. Cen, X. Chen, L. Zhang, and Y. Huang, “A Normalizing Flow-Based Bidirectional Mapping Residual Network for Unsupervised Defect Detection,” Comput. Mater. Contin., vol. 78, no. 2, pp. 1631-1648, 2024. https://doi.org/10.32604/cmc.2024.046924



cc Copyright © 2024 The Author(s). Published by Tech Science Press.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 768

    View

  • 343

    Download

  • 0

    Like

Share Link