HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

ReConPatch : Contrastive Patch Representation Learning for Industrial Anomaly Detection

Jeeho Hyun Sangyun Kim Giyoung Jeon Seung Hwan Kim Kyunghoon Bae Byung Jun Kang

ReConPatch : Contrastive Patch Representation Learning for Industrial Anomaly Detection

Abstract

Anomaly detection is crucial to the advanced identification of product defects such as incorrect parts, misaligned components, and damages in industrial manufacturing. Due to the rare observations and unknown types of defects, anomaly detection is considered to be challenging in machine learning. To overcome this difficulty, recent approaches utilize the common visual representations pre-trained from natural image datasets and distill the relevant features. However, existing approaches still have the discrepancy between the pre-trained feature and the target data, or require the input augmentation which should be carefully designed, particularly for the industrial dataset. In this paper, we introduce ReConPatch, which constructs discriminative features for anomaly detection by training a linear modulation of patch features extracted from the pre-trained model. ReConPatch employs contrastive representation learning to collect and distribute features in a way that produces a target-oriented and easily separable representation. To address the absence of labeled pairs for the contrastive learning, we utilize two similarity measures between data representations, pairwise and contextual similarities, as pseudo-labels. Our method achieves the state-of-the-art anomaly detection performance (99.72%) for the widely used and challenging MVTec AD dataset. Additionally, we achieved a state-of-the-art anomaly detection performance (95.8%) for the BTAD dataset.

Code Repositories

Benchmarks

BenchmarkMethodologyMetrics
anomaly-detection-on-btadReConPatch WRN-50
Detection AUROC: 95.8
Segmentation AUPRO: 97.5
anomaly-detection-on-mvtec-adReConPatch Ensemble
Segmentation AUROC: 98.67
anomaly-detection-on-mvtec-adReConPatch Ensemble (+RefineNet)
Detection AUROC: 99.72
Segmentation AUROC: 99.2
anomaly-detection-on-mvtec-adReConPatch WRN-101
Detection AUROC: 99.62
Segmentation AUROC: 98.53
anomaly-detection-on-mvtec-adReConPatch WRN-50 (+RefineNet)
Detection AUROC: 99.71
Segmentation AUROC: 98.62
anomaly-detection-on-mvtec-adReConPatch WRN-50
Detection AUROC: 99.56
Segmentation AUROC: 98.18

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
ReConPatch : Contrastive Patch Representation Learning for Industrial Anomaly Detection | Papers | HyperAI