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/ReConPatch : Contrastive Patch Representation Learning for...

ReConPatch : Contrastive Patch Representation Learning for Industrial Anomaly Detection

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

2023-05-26Representation LearningAnomaly DetectionContrastive Learning
PaperPDFCode

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.

Results

TaskDatasetMetricValueModel
Anomaly DetectionBTADDetection AUROC95.8ReConPatch WRN-50
Anomaly DetectionBTADSegmentation AUPRO97.5ReConPatch WRN-50
Anomaly DetectionMVTec ADDetection AUROC99.72ReConPatch Ensemble (+RefineNet)
Anomaly DetectionMVTec ADSegmentation AUROC99.2ReConPatch Ensemble (+RefineNet)
Anomaly DetectionMVTec ADDetection AUROC99.71ReConPatch WRN-50 (+RefineNet)
Anomaly DetectionMVTec ADSegmentation AUROC98.62ReConPatch WRN-50 (+RefineNet)
Anomaly DetectionMVTec ADDetection AUROC99.62ReConPatch WRN-101
Anomaly DetectionMVTec ADSegmentation AUROC98.53ReConPatch WRN-101
Anomaly DetectionMVTec ADDetection AUROC99.56ReConPatch WRN-50
Anomaly DetectionMVTec ADSegmentation AUROC98.18ReConPatch WRN-50
Anomaly DetectionMVTec ADSegmentation AUROC98.67ReConPatch Ensemble

Related Papers

Multi-Stage Prompt Inference Attacks on Enterprise LLM Systems2025-07-21Touch in the Wild: Learning Fine-Grained Manipulation with a Portable Visuo-Tactile Gripper2025-07-20Spectral Bellman Method: Unifying Representation and Exploration in RL2025-07-17Boosting Team Modeling through Tempo-Relational Representation Learning2025-07-173DKeyAD: High-Resolution 3D Point Cloud Anomaly Detection via Keypoint-Guided Point Clustering2025-07-17A Semi-Supervised Learning Method for the Identification of Bad Exposures in Large Imaging Surveys2025-07-17SemCSE: Semantic Contrastive Sentence Embeddings Using LLM-Generated Summaries For Scientific Abstracts2025-07-17HapticCap: A Multimodal Dataset and Task for Understanding User Experience of Vibration Haptic Signals2025-07-17