SOTAVerified

PaDiM: a Patch Distribution Modeling Framework for Anomaly Detection and Localization

2020-11-17Code Available1· sign in to hype

Thomas Defard, Aleksandr Setkov, Angelique Loesch, Romaric Audigier

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

We present a new framework for Patch Distribution Modeling, PaDiM, to concurrently detect and localize anomalies in images in a one-class learning setting. PaDiM makes use of a pretrained convolutional neural network (CNN) for patch embedding, and of multivariate Gaussian distributions to get a probabilistic representation of the normal class. It also exploits correlations between the different semantic levels of CNN to better localize anomalies. PaDiM outperforms current state-of-the-art approaches for both anomaly detection and localization on the MVTec AD and STC datasets. To match real-world visual industrial inspection, we extend the evaluation protocol to assess performance of anomaly localization algorithms on non-aligned dataset. The state-of-the-art performance and low complexity of PaDiM make it a good candidate for many industrial applications.

Tasks

Benchmark Results

DatasetModelMetricClaimedVerifiedStatus
Hyper-Kvasir DatasetPaDiMAUC0.92Unverified
LAGPaDiMAUC0.69Unverified
MVTec ADPaDiMDetection AUROC97.9Unverified
MVTec ADPaDiM-WR50-Rd550Detection AUROC95.3Unverified
MVTec ADPaDiM-R18-Rd100Segmentation AUROC96.7Unverified
VisAPaDiMSegmentation AUPRO (until 30% FPR)85.9Unverified

Reproductions