TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/CutPaste: Self-Supervised Learning for Anomaly Detection a...

CutPaste: Self-Supervised Learning for Anomaly Detection and Localization

Chun-Liang Li, Kihyuk Sohn, Jinsung Yoon, Tomas Pfister

2021-04-08CVPR 2021 1Self-Supervised LearningData AugmentationUnsupervised Anomaly DetectionDefect DetectionAnomaly DetectionTransfer LearningOne-class classifierAnomaly Classification
PaperPDFCodeCode

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-theart 96.6 AUC. Lastly, we extend the framework to learn and extract representations from patches to allow localizing defective areas without annotations during training.

Results

TaskDatasetMetricValueModel
Anomaly DetectionMVTec ADDetection AUROC96.1CutPaste (ensemble)
Anomaly DetectionMVTec ADDetection AUROC95.2CutPaste (Image level detector)
Anomaly DetectionMVTec ADSegmentation AUROC88.3CutPaste (Image level detector)
Anomaly DetectionMVTec ADSegmentation AUROC96CutPaste (Patch level detector)
Anomaly DetectionGoodsADAUPR62.8CutPaste
Anomaly DetectionGoodsADAUROC60.2CutPaste
2D ClassificationGoodsADAUPR62.8CutPaste
2D ClassificationGoodsADAUROC60.2CutPaste
Anomaly ClassificationGoodsADAUPR62.8CutPaste
Anomaly ClassificationGoodsADAUROC60.2CutPaste

Related Papers

Multi-Stage Prompt Inference Attacks on Enterprise LLM Systems2025-07-21RaMen: Multi-Strategy Multi-Modal Learning for Bundle Construction2025-07-18A Semi-Supervised Learning Method for the Identification of Bad Exposures in Large Imaging Surveys2025-07-17Overview of the TalentCLEF 2025: Skill and Job Title Intelligence for Human Capital Management2025-07-17Pixel Perfect MegaMed: A Megapixel-Scale Vision-Language Foundation Model for Generating High Resolution Medical Images2025-07-173DKeyAD: High-Resolution 3D Point Cloud Anomaly Detection via Keypoint-Guided Point Clustering2025-07-17Disentangling coincident cell events using deep transfer learning and compressive sensing2025-07-17Similarity-Guided Diffusion for Contrastive Sequential Recommendation2025-07-16