Multi-Normal Prototypes Learning for Weakly Supervised Anomaly Detection
Zhijin Dong, Hongzhi Liu, Boyuan Ren, Weimin Xiong, Zhonghai Wu
TL;DR
This work tackles weakly supervised anomaly detection when normal data are multi-modal and unlabeled data may contain anomalies. It introduces a reconstruction-based framework that learns multiple normal prototypes via deep embedding clustering and contrastive learning, coupled with a likelihood-weighted reconstruction loss to resist anomaly contamination. A unified scoring module combines reconstruction error, latent features, and prototype similarity to produce anomaly scores, with end-to-end training aided by dynamic balancing of three losses. Experiments across 15 diverse datasets show state-of-the-art performance, strong generalization to unseen anomalies, and robustness to varying labeled-anomaly ratios, underscoring the practical value of multi-normal prototypes in real-world anomaly detection.
Abstract
Anomaly detection is a crucial task in various domains. Most of the existing methods assume the normal sample data clusters around a single central prototype while the real data may consist of multiple categories or subgroups. In addition, existing methods always assume all unlabeled samples are normal while some of them are inevitably being anomalies. To address these issues, we propose a novel anomaly detection framework that can efficiently work with limited labeled anomalies. Specifically, we assume the normal sample data may consist of multiple subgroups, and propose to learn multi-normal prototypes to represent them with deep embedding clustering and contrastive learning. Additionally, we propose a method to estimate the likelihood of each unlabeled sample being normal during model training, which can help to learn more efficient data encoder and normal prototypes for anomaly detection. Extensive experiments on various datasets demonstrate the superior performance of our method compared to state-of-the-art methods.
