CutPaste: Self-Supervised Learning for Anomaly Detection and Localization

Abstract

We aim at constructing a high performance model for defect detection that detects unknown anomalous patterns of an image without anomalous data. To this end, we propose a two-stage framework for building anomaly detectors using normal training data only. We first learn self-supervised deep representations and then build a generative one-class classifier on learned representations. We learn representations by classifying normal data from the CutPaste, a simple data augmentation strategy that cuts an image patch and pastes at a random location of a large image. Our empirical study on MVTec anomaly detection dataset demonstrates the proposed algorithm is general to be able to detect various types of real-world defects. We bring the improvement upon previous arts by 3.1 AUCs when learning representations from scratch. By transfer learning on pretrained representations on ImageNet, we achieve a new state-of-the-art 96.6 AUC. Lastly, we extend the framework to learn and extract representations from patches to allow localizing defective areas without annotations during training.

Cite

Text

Li et al. "CutPaste: Self-Supervised Learning for Anomaly Detection and Localization." Conference on Computer Vision and Pattern Recognition, 2021. doi:10.1109/CVPR46437.2021.00954

Markdown

[Li et al. "CutPaste: Self-Supervised Learning for Anomaly Detection and Localization." Conference on Computer Vision and Pattern Recognition, 2021.](https://mlanthology.org/cvpr/2021/li2021cvpr-cutpaste/) doi:10.1109/CVPR46437.2021.00954

BibTeX

@inproceedings{li2021cvpr-cutpaste,
  title     = {{CutPaste: Self-Supervised Learning for Anomaly Detection and Localization}},
  author    = {Li, Chun-Liang and Sohn, Kihyuk and Yoon, Jinsung and Pfister, Tomas},
  booktitle = {Conference on Computer Vision and Pattern Recognition},
  year      = {2021},
  pages     = {9664-9674},
  doi       = {10.1109/CVPR46437.2021.00954},
  url       = {https://mlanthology.org/cvpr/2021/li2021cvpr-cutpaste/}
}