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

Thomas Defard, Aleksandr Setkov, Angelique Loesch, Romaric Audigier
11/17/2020
1,711 citations
cs.CV

No official code found. Best implementation: xiahaifeng1995/PaDiM-Anomaly-Detection-Localization-master (494 stars). 2 more below.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(3)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
xiahaifeng1995/PaDiM-Anomaly-Detection-Localization-masterCommunity494–––
taikiinoue45/PaDiMCommunity47–––
pranavjadhav001/tf_padimCommunity5–––

This is an unofficial implementation of the paper “PaDiM: a Patch Distribution Modeling Framework for Anomaly Detection and Localization”.

494105
taikiinoue45/PaDiMCommunity25%

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

475

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

52

Similar Papers

Cite this paper

@article{defard2020padim,
  title  = {PaDiM: a Patch Distribution Modeling Framework for Anomaly Detection and Localization},
  author = {Thomas Defard and Aleksandr Setkov and Angelique Loesch and Romaric Audigier},
  year   = {2020},
  eprint = {2011.08785},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2011.08785}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2011.08785.svg)](https://codeofpaper.com/paper/2011.08785)

Discussion