Masked Contrastive Learning for Anomaly Detection

Abstract

Detecting anomalies is one fundamental aspect of a safety-critical software system, however, it remains a long-standing problem. Numerous branches of works have been proposed to alleviate the complication and have shown promising results. In particular, self-supervised learning based methods are spurring interest due to their capability of learning diverse representations without additional labels. Among self-supervised learning tactics, contrastive learning is one specific framework showing pronounced results in various fields including anomaly detection. However, the primary objective of contrastive learning is to learn task-agnostic features without any labels, which is not entirely suited to discern anomalies. In this paper, we propose a task-specific variant of contrastive learning named masked contrastive learning, which is more befitted for anomaly detection. Moreover, we propose a new inference method dubbed self-ensemble inference that further boosts performance by leveraging the ability learned through auxiliary self-supervision tasks. By combining our models, we can outperform previous state-of-the-art methods by a significant margin on various benchmark datasets.

Cite

Text

Cho et al. "Masked Contrastive Learning for Anomaly Detection." International Joint Conference on Artificial Intelligence, 2021. doi:10.24963/IJCAI.2021/198

Markdown

[Cho et al. "Masked Contrastive Learning for Anomaly Detection." International Joint Conference on Artificial Intelligence, 2021.](https://mlanthology.org/ijcai/2021/cho2021ijcai-masked/) doi:10.24963/IJCAI.2021/198

BibTeX

@inproceedings{cho2021ijcai-masked,
  title     = {{Masked Contrastive Learning for Anomaly Detection}},
  author    = {Cho, Hyunsoo and Seol, Jinseok and Lee, Sang-goo},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year      = {2021},
  pages     = {1434-1441},
  doi       = {10.24963/IJCAI.2021/198},
  url       = {https://mlanthology.org/ijcai/2021/cho2021ijcai-masked/}
}