ITran: A novel transformer-based approach for industrial anomaly detection and localization

被引:17
作者
Cai, Xiangyu [1 ]
Xiao, Ruliang [1 ,2 ,3 ]
Zeng, Zhixia [1 ]
Gong, Ping [1 ]
Ni, Youcong [1 ]
机构
[1] Fujian Normal Univ, Coll Comp & Cyber Secur, Fuzhou, Peoples R China
[2] Fujian Prov Digit Fujian IoT Lab Environm Monitori, Fuzhou, Peoples R China
[3] Fujian Prov Key Lab Network Secur & Cryptol, Fuzhou, Peoples R China
基金
中国国家自然科学基金;
关键词
Industrial quality monitoring; Anomaly detection; Anomaly localization; Transformer; Feature reconstruction; ONE-CLASS CLASSIFICATION;
D O I
10.1016/j.engappai.2023.106677
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Anomaly detection is currently an essential quality monitoring process in industrial production. It is often affected by factors such as under or over reconstruction of images and unclear criteria for feature distribution evaluation, thus making it challenging to improve detection performance. To solve the above problems, this paper proposes a novel transformer-based approach, Inductive Transformer (ITran) for industrial anomaly detection and localization, which utilizes a multi-layer pyramid structure and multi-level jump connections to extract multi-scale features of the data, putting the anomaly detection into the feature space and achieving more accurate industrial anomaly detection and localization results. It incorporates inductive bias and convolution operations into the Transformer which helps to break the myth of Transformer being "data hungry". Compared with the common Transformers, ITran significantly reduces the computational cost and memory usage and makes it work well on small datasets. In addition, we basically eliminate the effect of positional embedding on the proposed Transformer model. Sufficient experiments have been conducted to validate global anomaly detection on three datasets MNIST, Fashion-MNST and Cifar-10, as well as local anomaly detection on the industrial datasets MVTec AD, Concrete Crack Image and BTAD. The proposed ITran achieves outstanding results on all the above datasets.
引用
收藏
页数:13
相关论文
共 50 条
  • [1] A Transformer-Based GAN for Anomaly Detection
    Yang, Caiyin
    Lan, Shiyong
    Huangl, Weikang
    Wang, Wenwu
    Liul, Guoliang
    Yang, Hongyu
    Ma, Wei
    Li, Piaoyang
    ARTIFICIAL NEURAL NETWORKS AND MACHINE LEARNING - ICANN 2022, PT II, 2022, 13530 : 345 - 357
  • [2] TADL: Fault Localization with Transformer-based Anomaly Detection for Dynamic Microservice Systems
    Li, Yuewei
    Lu, Yan
    Wang, Jingyu
    Qi, Qi
    Wang, Jing
    Wang, Yingying
    Liao, Jianxin
    2023 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING, SANER, 2023, : 718 - 722
  • [3] Variational transformer-based anomaly detection approach for multivariate time series
    Wang, Xixuan
    Pi, Dechang
    Zhang, Xiangyan
    Liu, Hao
    Guo, Chang
    MEASUREMENT, 2022, 191
  • [4] AnoViT: Unsupervised Anomaly Detection and Localization With Vision Transformer-Based Encoder-Decoder
    Lee, Yunseung
    Kang, Pilsung
    IEEE ACCESS, 2022, 10 : 46717 - 46724
  • [5] An Unsupervised Method for Industrial Image Anomaly Detection with Vision Transformer-Based Autoencoder
    Yang, Qiying
    Guo, Rongzuo
    SENSORS, 2024, 24 (08)
  • [6] Transformer-based contrastive learning framework for image anomaly detection
    Fan, Wentao
    Shangguan, Weimin
    Chen, Yewang
    INTERNATIONAL JOURNAL OF MACHINE LEARNING AND CYBERNETICS, 2023, 14 (10) : 3413 - 3426
  • [7] Adversarial Transformer-Based Anomaly Detection for Multivariate Time Series
    Yu, Xinying
    Zhang, Kejun
    Liu, Yaqi
    Zou, Bing
    Wang, Jun
    Wang, Wenbin
    Qian, Rong
    IEEE TRANSACTIONS ON INDUSTRIAL INFORMATICS, 2025, 21 (03) : 2471 - 2480
  • [8] A Tiny Transformer-Based Anomaly Detection Framework for IoT Solutions
    Barbieri, Luca
    Brambilla, Mattia
    Stefanutti, Mario
    Romano, Ciro
    De Carlo, Niccolo
    Roveri, Manuel
    IEEE OPEN JOURNAL OF SIGNAL PROCESSING, 2023, 4 : 462 - 478
  • [9] Transformer-based contrastive learning framework for image anomaly detection
    Wentao Fan
    Weimin Shangguan
    Yewang Chen
    International Journal of Machine Learning and Cybernetics, 2023, 14 : 3413 - 3426
  • [10] Transformer-Based Method for Unsupervised Anomaly Detection of Flight Data
    Yu, Hao
    Wu, Honglan
    Sun, Youchao
    Liu, Hao
    2023 ASIA-PACIFIC INTERNATIONAL SYMPOSIUM ON AEROSPACE TECHNOLOGY, VOL I, APISAT 2023, 2024, 1050 : 1816 - 1826