Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Focus Your Distribution: Coarse-to-Fine Non-Contrastive Learning for Anomaly Detection and Localization

About

The essence of unsupervised anomaly detection is to learn the compact distribution of normal samples and detect outliers as anomalies in testing. Meanwhile, the anomalies in real-world are usually subtle and fine-grained in a high-resolution image especially for industrial applications. Towards this end, we propose a novel framework for unsupervised anomaly detection and localization. Our method aims at learning dense and compact distribution from normal images with a coarse-to-fine alignment process. The coarse alignment stage standardizes the pixel-wise position of objects in both image and feature levels. The fine alignment stage then densely maximizes the similarity of features among all corresponding locations in a batch. To facilitate the learning with only normal images, we propose a new pretext task called non-contrastive learning for the fine alignment stage. Non-contrastive learning extracts robust and discriminating normal image representations without making assumptions on abnormal samples, and it thus empowers our model to generalize to various anomalous scenarios. Extensive experiments on two typical industrial datasets of MVTec AD and BenTech AD demonstrate that our framework is effective in detecting various real-world defects and achieves a new state-of-the-art in industrial unsupervised anomaly detection.

Ye Zheng, Xiang Wang, Rui Deng, Tianpeng Bao, Rui Zhao, Liwei Wu• 2021

Related benchmarks

TaskDatasetResultRank
Anomaly LocalizationMVTec AD--
369
Anomaly LocalizationMVTec (test)
avg AUROC97.4
32
Anomaly DetectionMVTec anomaly detection (test)--
15
Anomaly DetectionMVTec AD 2019 (test)
Image-level AUC97.7
8
Anomaly LocalizationMVTec AD 2019 (test)
Pixel AUC98.2
7
Anomaly LocalizationBeanTech AD (test)
Category 01 Score96.1
4
Anomaly DetectionBeanTech AD (test)
Class 01 Score99.6
1
Showing 7 of 7 rows

Other info

Follow for update