Transformer-based contrastive learning framework for image anomaly detection

被引:3
|
作者
Fan, Wentao [1 ,2 ]
Shangguan, Weimin [3 ]
Chen, Yewang [3 ]
机构
[1] Beijing Normal Univ, Hong Kong Baptist Univ United Int Coll BNU HKBU U, Dept Comp Sci, Zhuhai, Guangdong, Peoples R China
[2] BNU HKBU, United Int Coll, Guangdong Prov Key Lab Interdisciplinary Res & App, Zhuhai, Peoples R China
[3] Huaqiao Univ, Dept Comp Sci & Technol, Xiamen, Peoples R China
基金
中国国家自然科学基金;
关键词
Anomaly detection; Contrastive learning; Transformer; Triple contrastive loss;
D O I
10.1007/s13042-023-01840-7
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Anomaly detection refers to the problem of uncovering patterns in a given data set that do not conform to the expected behavior. Recently, owing to the continuous development of deep representation learning, a large number of anomaly detection approaches based on deep learning models have been developed and achieved promising performance. In this work, an image anomaly detection approach based on contrastive learning framework is proposed. Rather than adopting ResNet or other CNN-based deep neural networks as in most of the previous deep learning-based image anomaly detection approaches to learn representations from training samples, a contrastive learning framework is developed for anomaly detection in which Transformer is adopted for extracting better representations. Then, we develop a triple contrastive loss function and embed it into the proposed contrastive learning framework to alleviate the problem of catastrophic collapse that is often encountered in many anomaly detection approaches. Furthermore, a nonlinear Projector is integrated with our model to improve the performance of anomaly detection. The effectiveness of our image anomaly detection approach is validated through experiments on multiple benchmark data sets. According to the experimental results, our approach can obtain better or comparative performance in comparison with state-of-the-art anomaly detection approaches.
引用
收藏
页码:3413 / 3426
页数:14
相关论文
共 50 条
  • [1] Transformer-based contrastive learning framework for image anomaly detection
    Wentao Fan
    Weimin Shangguan
    Yewang Chen
    [J]. International Journal of Machine Learning and Cybernetics, 2023, 14 : 3413 - 3426
  • [2] Transformer-based unsupervised contrastive learning for histopathological image classification
    Wang, Xiyue
    Yang, Sen
    Zhang, Jun
    Wang, Minghui
    Zhang, Jing
    Yang, Wei
    Huang, Junzhou
    Han, Xiao
    [J]. MEDICAL IMAGE ANALYSIS, 2022, 81
  • [3] Transformer-Based Autoencoder Framework for Nonlinear Hyperspectral Anomaly Detection
    Wu, Ziyu
    Wang, Bin
    [J]. IEEE TRANSACTIONS ON GEOSCIENCE AND REMOTE SENSING, 2024, 62 : 1 - 15
  • [4] A Tiny Transformer-Based Anomaly Detection Framework for IoT Solutions
    Barbieri, Luca
    Brambilla, Mattia
    Stefanutti, Mario
    Romano, Ciro
    De Carlo, Niccolo
    Roveri, Manuel
    [J]. IEEE OPEN JOURNAL OF SIGNAL PROCESSING, 2023, 4 : 462 - 478
  • [5] Transformer-Based Zero-Shot Detection via Contrastive Learning
    Liu, Wei
    Chen, Hui
    Ma, Yongqiang
    Wang, Jianji
    Zheng, Nanning
    [J]. ARTIFICIAL INTELLIGENCE APPLICATIONS AND INNOVATIONS, AIAI 2022, PART I, 2022, 646 : 316 - 327
  • [6] A Transformer-Based GAN for Anomaly Detection
    Yang, Caiyin
    Lan, Shiyong
    Huangl, Weikang
    Wang, Wenwu
    Liul, Guoliang
    Yang, Hongyu
    Ma, Wei
    Li, Piaoyang
    [J]. ARTIFICIAL NEURAL NETWORKS AND MACHINE LEARNING - ICANN 2022, PT II, 2022, 13530 : 345 - 357
  • [7] Continuous image anomaly detection based on contrastive lifelong learning
    Wentao Fan
    Weimin Shangguan
    Nizar Bouguila
    [J]. Applied Intelligence, 2023, 53 : 17693 - 17707
  • [8] Transformer-Based Approach Via Contrastive Learning for Zero-Shot Detection
    Liu, Wei
    Chen, Hui
    Ma, Yongqiang
    Wang, Jianji
    Zheng, Nanning
    [J]. INTERNATIONAL JOURNAL OF NEURAL SYSTEMS, 2023, 33 (07)
  • [9] Continuous image anomaly detection based on contrastive lifelong learning
    Fan, Wentao
    Shangguan, Weimin
    Bouguila, Nizar
    [J]. APPLIED INTELLIGENCE, 2023, 53 (14) : 17693 - 17707
  • [10] A Transformer-Based Contrastive Semi-Supervised Learning Framework for Automatic Modulation Recognition
    Kong, Weisi
    Jiao, Xun
    Xu, Yuhua
    Zhang, Bolin
    Yang, Qinghai
    [J]. IEEE TRANSACTIONS ON COGNITIVE COMMUNICATIONS AND NETWORKING, 2023, 9 (04) : 950 - 962