HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

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

Thomas Defard Aleksandr Setkov Angelique Loesch Romaric Audigier

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

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.

Code Repositories

Benchmarks

BenchmarkMethodologyMetrics
anomaly-detection-on-hyper-kvasir-datasetPaDiM
AUC: 0.923
anomaly-detection-on-lagPaDiM
AUC: 0.688
anomaly-detection-on-mvtec-adPaDiM-R18-Rd100
Segmentation AUROC: 96.7
anomaly-detection-on-mvtec-adPaDiM
Detection AUROC: 97.9
anomaly-detection-on-mvtec-adPaDiM-WR50-Rd550
Detection AUROC: 95.3
FPS: 4.4
Segmentation AUROC: 97.5
anomaly-detection-on-visaPaDiM
Segmentation AUPRO (until 30% FPR): 85.9

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
PaDiM: a Patch Distribution Modeling Framework for Anomaly Detection and Localization | Papers | HyperAI