Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
129 tokens/sec
GPT-4o
28 tokens/sec
Gemini 2.5 Pro Pro
42 tokens/sec
o3 Pro
4 tokens/sec
GPT-4.1 Pro
38 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

CutPaste: Self-Supervised Learning for Anomaly Detection and Localization (2104.04015v1)

Published 8 Apr 2021 in cs.CV

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.

Citations (644)

Summary

  • The paper introduces a novel self-supervised method employing CutPaste augmentation to learn robust features for anomaly detection.
  • It combines representation learning with a generative one-class classifier using Gaussian Density Estimation to differentiate normal from anomalous patterns.
  • Empirical results demonstrate significant improvements with AUC scores up to 96.6 and pixel-level localization AUC of 96.0, setting a new benchmark in defect detection.

An Overview of "CutPaste: Self-Supervised Learning for Anomaly Detection and Localization"

"CutPaste: Self-Supervised Learning for Anomaly Detection and Localization" presents a novel approach to anomaly detection using self-supervised learning, applied to identify unseen defects in images. The paper focuses on a two-stage framework where deep representations are learned through self-supervision followed by constructing a generative one-class classifier. This method uniquely employs data augmentation known as CutPaste, which enhances anomaly detection accuracy without requiring anomalous data during training.

Core Methodology

The proposed method leverages two main steps:

  1. Self-Supervised Representation Learning: The paper introduces CutPaste, a data augmentation technique where a patch is cut from a normal image and pasted at a random location within the same image. This task helps in preparing the model to recognize spatial irregularities, serving as a proxy for detecting anomalies.
  2. Generative One-Class Classification: After learning the representations, a generative model is constructed using normal training data. A Gaussian Density Estimator (GDE) is employed to differentiate between normal and anomalous patterns based on the learned representations.

Empirical Results

The evaluation on the MVTec anomaly detection dataset demonstrates significant performance improvement. Learning representations from scratch yielded a 3.1 AUC increment over prior approaches, achieving 95.2 AUC. By incorporating transfer learning with ImageNet-pretrained models, the authors report an elevated AUC of 96.6, establishing a new benchmark in the field.

Anomaly Detection and Localization

The methodology extends to localize defects by processing image patches. By employing strategies such as GradCAM and receptive field upsampling, the CutPaste framework successfully identifies defective regions. The empirical results show 96.0 pixel-level localization AUC, surpassing previous benchmarks.

Implications and Future Directions

This paper sets a precedent for leveraging self-supervised learning in anomaly detection, particularly in defect detection across varied real-world applications such as manufacturing and medical imaging. The CutPaste augmentation is a key innovation that could be pivotal in semi-supervised and unsupervised settings, broadening the scope for future research in anomaly detection.

Further exploration could extend towards adapting this framework in more complex scenarios or integrating with other self-supervised tasks. New methodologies might emerge from enhancing the capabilities of CutPaste variants or combining with other augmentation techniques.

In conclusion, the paper advances the field of anomaly detection, providing a robust framework for detecting and localizing anomalies by leveraging self-supervised learning, setting a new standard for future research and applications in AI-based inspection systems.