Hierarchical Semi-Supervised Contrastive Learning for Contamination-Resistant Anomaly Detection

Abstract

Anomaly detection aims at identifying deviant samples from the normal data distribution. Contrastive learning has provided a successful way to sample representation that enables effective discrimination on anomalies. However, when contaminated with unlabeled abnormal samples in training set under semi-supervised settings, current contrastive-based methods generally 1) ignore the comprehensive relation between training data, leading to suboptimal performance, and 2) require fine-tuning, resulting in low efficiency. To address the above two issues, in this paper, we propose a novel hierarchical semi-supervised contrastive learning (HSCL) framework, for contamination-resistant anomaly detection. Specifically, HSCL hierarchically regulates three complementary relations: sample-to-sample, sample-to-prototype, and normal-to-abnormal relations, enlarging the discrimination between normal and abnormal samples with a comprehensive exploration of the contaminated data. Besides, HSCL is an end-to-end learning approach that can efficiently learn discriminative representations without fine-tuning. HSCL achieves state-of-the-art performance in multiple scenarios, such as one-class classification and cross-dataset detection. Extensive ablation studies further verify the effectiveness of each considered relation. The code is available at https://github.com/GaoangW/HSCL.

Cite

Text

Wang et al. "Hierarchical Semi-Supervised Contrastive Learning for Contamination-Resistant Anomaly Detection." Proceedings of the European Conference on Computer Vision (ECCV), 2022. doi:10.1007/978-3-031-19806-9_7

Markdown

[Wang et al. "Hierarchical Semi-Supervised Contrastive Learning for Contamination-Resistant Anomaly Detection." Proceedings of the European Conference on Computer Vision (ECCV), 2022.](https://mlanthology.org/eccv/2022/wang2022eccv-hierarchical/) doi:10.1007/978-3-031-19806-9_7

BibTeX

@inproceedings{wang2022eccv-hierarchical,
  title     = {{Hierarchical Semi-Supervised Contrastive Learning for Contamination-Resistant Anomaly Detection}},
  author    = {Wang, Gaoang and Zhan, Yibing and Wang, Xinchao and Song, Mingli and Nahrstedt, Klara},
  booktitle = {Proceedings of the European Conference on Computer Vision (ECCV)},
  year      = {2022},
  doi       = {10.1007/978-3-031-19806-9_7},
  url       = {https://mlanthology.org/eccv/2022/wang2022eccv-hierarchical/}
}