JOURNAL ARTICLE

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

Chenkai ZhangYueming WangWenming Tan

Year: 2023 Journal:   IEEE Transactions on Instrumentation and Measurement Vol: 72 Pages: 1-13   Publisher: Institute of Electrical and Electronics Engineers

Abstract

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 paper proposes a new framework of Multi-Task and Hard example Mining (MTHM) for anomaly detection and localization. The self-supervised multi-task 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 multi-task framework and hard example mining strategy, our method surpasses many state-of-the-art methods.

Keywords:
Computer science Anomaly detection Task (project management) Artificial intelligence Process (computing) Pixel Pattern recognition (psychology) Encoder Multi-task learning Machine learning Object detection Data mining Computer vision Engineering

Metrics

11
Cited By
2.81
FWCI (Field Weighted Citation Impact)
69
Refs
0.89
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Anomaly Detection Techniques and Applications
Physical Sciences →  Computer Science →  Artificial Intelligence
Adversarial Robustness in Machine Learning
Physical Sciences →  Computer Science →  Artificial Intelligence
Network Security and Intrusion Detection
Physical Sciences →  Computer Science →  Computer Networks and Communications

Related Documents

JOURNAL ARTICLE

Self-Supervised Anomaly Detection With Neural Transformations

Chen QiuMarius KloftStephan MandtMaja Rudolph

Journal:   IEEE Transactions on Pattern Analysis and Machine Intelligence Year: 2024 Vol: 47 (3)Pages: 2170-2185
JOURNAL ARTICLE

A self-supervised anomaly detection algorithm with interpretability

Zhichao WuXin YangXiaopeng WeiPeijun YuanYuanping ZhangJ.Y. Bai

Journal:   Expert Systems with Applications Year: 2023 Vol: 237 Pages: 121539-121539
JOURNAL ARTICLE

SLA2P: Self-Supervised Anomaly Detection With Adversarial Perturbation

Yizhou WangCan QinRongzhe WeiYi XuYue BaiYun Fu

Journal:   IEEE Transactions on Knowledge and Data Engineering Year: 2024 Vol: 36 (12)Pages: 9282-9293
© 2026 ScienceGate Book Chapters — All rights reserved.