MTHM: Self-Supervised Multitask Anomaly Detection With Hard Example Mining

被引:8
作者
Zhang, Chenkai [1 ,2 ]
Wang, Yueming [1 ,2 ]
Tan, Wenming [3 ]
机构
[1] Zhejiang Univ, Coll Comp Sci & Technol, Hangzhou 310027, Peoples R China
[2] Zhejiang Univ, Qiushi Acad Adv Studies, Hangzhou 310027, Peoples R China
[3] Hikvis Res Inst, Hangzhou 310051, Peoples R China
关键词
Anomaly detection; anomaly localization; defect detection; multitask learning (MTL);
D O I
10.1109/TIM.2023.3276529
中图分类号
TM [电工技术]; TN [电子技术、通信技术];
学科分类号
0808 ; 0809 ;
摘要
It is still challenging to detect and locate anomalies by models trained only with normal samples. Methods using image reconstruction as a pretext task can provide precise localization but suffer from harnessing the reconstruction capability on unseen anomalies. This article proposes a new framework of multitasking and hard example mining (MTHM) for anomaly detection and localization. The self-supervised multitask setting creatively takes advantage of the competition among different tasks to learn more compact and efficient representations for detection tasks. Moreover, introducing other semantic tasks allows the shared encoder to learn beyond the pixel-to-pixel mapping of only a single image reconstruction task. Subsequent analysis experiments demonstrate that the proposed method can achieve a more suppressive reconstruction capability for anomalies. During the test process, the outputs of the other tasks can also provide valuable information for anomaly detection and localization. Furthermore, in combination with a novel hard example mining strategy, the byproducts of the image reconstruction task are inexpensively exploited as hard-to-detect samples for enhancing models' detection ability. And as the model capability increases during training, the detection difficulty of these samples is able to increase adaptively. Our experiments show that hard samples generated in the later training stages can better approximate the real data distribution. With the help of the multitask framework and hard example mining strategy, our method surpasses many state-of-the-art methods.
引用
收藏
页数:13
相关论文
共 51 条
[1]  
Bengio Y., 2007, P ADV NEUR INF PROC, V19, P153, DOI DOI 10.7551/MITPRESS/7503.003.0024
[2]   MVTec AD - A Comprehensive Real-World Dataset for Unsupervised Anomaly Detection [J].
Bergmann, Paul ;
Fauser, Michael ;
Sattlegger, David ;
Steger, Carsten .
2019 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR 2019), 2019, :9584-9592
[3]   Multi-task Attention-Based Semi-supervised Learning for Medical Image Segmentation [J].
Chen, Shuai ;
Bortsova, Gerda ;
Juarez, Antonio Garcia-Uceda ;
van Tulder, Gijs ;
de Bruijne, Marleen .
MEDICAL IMAGE COMPUTING AND COMPUTER ASSISTED INTERVENTION - MICCAI 2019, PT III, 2019, 11766 :457-465
[4]  
Chen YH, 2022, AAAI CONF ARTIF INTE, P383
[5]  
Chenkai Zhang, 2020, IEEE Transactions on Artificial Intelligence, V1, P219, DOI 10.1109/TAI.2021.3057027
[6]  
Cohen N, 2021, Arxiv, DOI arXiv:2005.02357
[7]  
Defard Thomas, 2021, Pattern Recognition. ICPR International Workshops and Challenges. Proceedings. Lecture Notes in Computer Science (LNCS 12664), P475, DOI 10.1007/978-3-030-68799-1_35
[8]  
DeVries T, 2017, Arxiv, DOI [arXiv:1708.04552, DOI 10.48550/ARXIV.1708.04552]
[9]   Multi-task Self-Supervised Visual Learning [J].
Doersch, Carl ;
Zisserman, Andrew .
2017 IEEE INTERNATIONAL CONFERENCE ON COMPUTER VISION (ICCV), 2017, :2070-2079
[10]   Memorizing Normality to Detect Anomaly: Memory-augmented Deep Autoencoder for Unsupervised Anomaly Detection [J].
Gong, Dong ;
Liu, Lingqiao ;
Le, Vuong ;
Saha, Budhaditya ;
Mansour, Moussa Reda ;
Venkatesh, Svetha ;
van den Hengel, Anton .
2019 IEEE/CVF INTERNATIONAL CONFERENCE ON COMPUTER VISION (ICCV 2019), 2019, :1705-1714