MSTAD: A masked subspace-like transformer for multi-class anomaly detection

被引:2
|
作者
Kang, Borui [1 ]
Zhong, Yuzhong [2 ]
Sun, Zhimin [3 ]
Deng, Lin [1 ]
Wang, Maoning [2 ]
Zhang, Jianwei [1 ]
机构
[1] Sichuan Univ, Coll Comp Sci, 24 South Sect 1,Yihuan Rd, Chengdu 610065, Peoples R China
[2] Sichuan Univ, Coll Elect & Informat Engn, 24 South Sect 1,Yihuan Rd, Chengdu 610065, Peoples R China
[3] China Nucl Power Operat Co Ltd, Shenzhen, Peoples R China
基金
中国国家自然科学基金;
关键词
Masked transformer; Multi-layer subspace-like embedding; Random block mask; Unsupervised multi-class anomaly detection; Anomaly detection; SUPPORT;
D O I
10.1016/j.knosys.2023.111186
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Unsupervised anomaly detection techniques, which do not rely on prior knowledge of anomalies, have attracted considerable attention in the field of industrial surface inspection. However, existing approaches commonly employ separate models for each product class, resulting in substantial storage requirements and inefficiency during the training phase. Accordingly, we propose a masked subspace-like transformer for multi-class anomaly detection (MSTAD), which employs an encoder-decoder architecture to reconstruct the pre-trained image features by recognizing the greater resilience of high-level semantic features compared with low-level pixel features. To address the issue of identity mapping, which refers to the tendency of a model to overgeneralize when reconstructing abnormal samples, MSTAD integrates two essential components: the multi-layer subspace -like embedding (MLSE) module and random block mask (RBM) method. The MLSE module incorporates an attention mechanism to selectively emphasize the common embeddings associated with each class, thereby enhancing both the ability of the model to reconstruct anomalies as normal and its capacity for training. RBM applies a random mask block mechanism to the pre-trained feature map to enhance the comprehension ability of the model and improve the reconstruction of normal features. We conducted extensive experiments on the MVTec AD and BTAD datasets, and the results demonstrated that MSTAD outperformed previous state-of-the-art methods in terms of anomaly detection and localization performance for multi-class anomaly detection tasks.
引用
收藏
页数:10
相关论文
共 50 条
  • [1] Hierarchical Vector Quantized Transformer for Multi-class Unsupervised Anomaly Detection
    Lu, Ruiying
    Wu, YuJie
    Tian, Long
    Wang, Dongsheng
    Chen, Bo
    Liu, Xiyang
    Hu, Ruimin
    [J]. ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 36 (NEURIPS 2023), 2023,
  • [2] Multi-Class Hypersphere Anomaly Detection
    Kirchheim, Konstantin
    Filax, Marco
    Ortmeier, Frank
    [J]. 2022 26TH INTERNATIONAL CONFERENCE ON PATTERN RECOGNITION (ICPR), 2022, : 2636 - 2642
  • [3] A Unified Model for Multi-class Anomaly Detection
    You, Zhiyuan
    Cui, Lei
    Shen, Yujun
    Yang, Kai
    Lu, Xin
    Zheng, Yu
    Le, Xinyi
    [J]. ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 35 (NEURIPS 2022), 2022,
  • [4] Conformal Anomaly Detection of Trajectories with a Multi-class Hierarchy
    Smith, James
    Nouretdinov, Ilia
    Craddock, Rachel
    Offer, Charles
    Gammerman, Alexander
    [J]. STATISTICAL LEARNING AND DATA SCIENCES, 2015, 9047 : 281 - 290
  • [5] Latent Diffusion Based Multi-class Anomaly Detection
    Wang, Chenxing
    Tavakkoli, Alireza
    [J]. ADVANCES IN VISUAL COMPUTING, ISVC 2023, PT I, 2023, 14361 : 487 - 498
  • [6] A Diffusion-Based Framework for Multi-Class Anomaly Detection
    He, Haoyang
    Zhang, Jiangning
    Chen, Hongxu
    Chen, Xuhai
    Li, Zhishan
    Chen, Xu
    Wang, Yabiao
    Wang, Chengjie
    Xie, Lei
    [J]. THIRTY-EIGHTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, VOL 38 NO 8, 2024, : 8472 - 8480
  • [7] Anomaly Detection Based on a Multi-class CUSUM Algorithm for WSN
    Xiao Zhenghong
    Chen Zhigang
    Deng Xiaoheng
    [J]. JOURNAL OF COMPUTERS, 2010, 5 (02) : 306 - 313
  • [8] Vision Transformer Based Multi-class Lesion Detection in IVOCT
    Wang, Zixuan
    Shao, Yifan
    Sun, Jingyi
    Huang, Zhili
    Wang, Su
    Li, Qiyong
    Li, Jinsong
    Yu, Qian
    [J]. MEDICAL IMAGE COMPUTING AND COMPUTER ASSISTED INTERVENTION, MICCAI 2023, PT VI, 2023, 14225 : 327 - 336
  • [9] Subspace Analysis in Multi-Class Datasets: An Application to Novelty Detection Ensembles
    Bacher, Marcelo
    Shmueli, Erez
    Ben-Gal, Irad
    [J]. 2018 IEEE INTERNATIONAL CONFERENCE ON THE SCIENCE OF ELECTRICAL ENGINEERING IN ISRAEL (ICSEE), 2018,
  • [10] MULTI-CLASS CLASSIFICATION VIA SUBSPACE MODELING
    Shyu, Mei-Ling
    Chen, Chao
    Chen, Shu-Ching
    [J]. INTERNATIONAL JOURNAL OF SEMANTIC COMPUTING, 2011, 5 (01) : 55 - 78