JOURNAL ARTICLE

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.

Keywords:
Computer science Anomaly detection Artificial intelligence Classifier (UML) Pattern recognition (psychology) Scratch Image (mathematics) Generative grammar Transfer of learning Anomaly (physics) Contextual image classification Machine learning

Metrics

802
Cited By
76.76
FWCI (Field Weighted Citation Impact)
120
Refs
1.00
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Anomaly Detection Techniques and Applications
Physical Sciences →  Computer Science →  Artificial Intelligence
Digital Media Forensic Detection
Physical Sciences →  Computer Science →  Computer Vision and Pattern Recognition
Adversarial Robustness in Machine Learning
Physical Sciences →  Computer Science →  Artificial Intelligence

Related Documents

JOURNAL ARTICLE

CutPaste-ROI: An Industrial Anomaly Data Detection Method based on Self-supervised Learning

Le YangWenhan YangZhengsong Wang

Journal:   Journal of Imaging Science and Technology Year: 2024 Vol: 68 (2)Pages: 1-12
JOURNAL ARTICLE

Incremental self-supervised learning based on transformer for anomaly detection and localization

Wenping JinFei GuoQi WuLi Zhu

Journal:   Engineering Applications of Artificial Intelligence Year: 2025 Vol: 160 Pages: 111978-111978
JOURNAL ARTICLE

Self-Supervised Masking for Unsupervised Anomaly Detection and Localization

Chaoqin HuangQinwei XuYanfeng WangYu WangYa Zhang

Journal:   IEEE Transactions on Multimedia Year: 2022 Vol: 25 Pages: 4426-4438
© 2026 ScienceGate Book Chapters — All rights reserved.