MAEDAY: MAE for few and zero shot AnomalY-Detection
- URL: http://arxiv.org/abs/2211.14307v2
- Date: Thu, 15 Feb 2024 15:39:40 GMT
- Title: MAEDAY: MAE for few and zero shot AnomalY-Detection
- Authors: Eli Schwartz, Assaf Arbelle, Leonid Karlinsky, Sivan Harary, Florian
Scheidegger, Sivan Doveh, Raja Giryes
- Abstract summary: We propose using Masked Auto-Encoder (MAE), a transformer model self-supervisedly trained on image inpainting, for anomaly detection (AD)
MaEDAY is the first image-reconstruction-based anomaly detection method that utilizes a pre-trained model.
- Score: 44.99483220711847
- License: http://creativecommons.org/licenses/by-nc-sa/4.0/
- Abstract: We propose using Masked Auto-Encoder (MAE), a transformer model
self-supervisedly trained on image inpainting, for anomaly detection (AD).
Assuming anomalous regions are harder to reconstruct compared with normal
regions. MAEDAY is the first image-reconstruction-based anomaly detection
method that utilizes a pre-trained model, enabling its use for Few-Shot Anomaly
Detection (FSAD). We also show the same method works surprisingly well for the
novel tasks of Zero-Shot AD (ZSAD) and Zero-Shot Foreign Object Detection
(ZSFOD), where no normal samples are available. Code is available at
https://github.com/EliSchwartz/MAEDAY .
Related papers
- FADE: Few-shot/zero-shot Anomaly Detection Engine using Large Vision-Language Model [0.9226774742769024]
Few-shot/zero-shot anomaly detection is important for quality inspection in the manufacturing industry.
We propose the Few-shot/zero-shot Anomaly Engine Detection (FADE) which leverages the vision-language CLIP model and adjusts it for the purpose of anomaly detection.
FADE outperforms other state-of-the-art methods in anomaly segmentation with pixel-AUROC of 89.6% (91.5%) in zero-shot and 95.4% (97.5%) in 1-normal-shot.
arXiv Detail & Related papers (2024-08-31T23:05:56Z) - Out-of-Distribution Detection with a Single Unconditional Diffusion Model [54.15132801131365]
Out-of-distribution (OOD) detection is a critical task in machine learning that seeks to identify abnormal samples.
Traditionally, unsupervised methods utilize a deep generative model for OOD detection.
This paper explores whether a single model can perform OOD detection across diverse tasks.
arXiv Detail & Related papers (2024-05-20T08:54:03Z) - Self-supervised Feature Adaptation for 3D Industrial Anomaly Detection [59.41026558455904]
We focus on multi-modal anomaly detection. Specifically, we investigate early multi-modal approaches that attempted to utilize models pre-trained on large-scale visual datasets.
We propose a Local-to-global Self-supervised Feature Adaptation (LSFA) method to finetune the adaptors and learn task-oriented representation toward anomaly detection.
arXiv Detail & Related papers (2024-01-06T07:30:41Z) - DiAD: A Diffusion-based Framework for Multi-class Anomaly Detection [55.48770333927732]
We propose a Difusion-based Anomaly Detection (DiAD) framework for multi-class anomaly detection.
It consists of a pixel-space autoencoder, a latent-space Semantic-Guided (SG) network with a connection to the stable diffusion's denoising network, and a feature-space pre-trained feature extractor.
Experiments on MVTec-AD and VisA datasets demonstrate the effectiveness of our approach.
arXiv Detail & Related papers (2023-12-11T18:38:28Z) - Patch-wise Auto-Encoder for Visual Anomaly Detection [1.7546477549938133]
We propose a novel patch-wise auto-encoder framework, which aims at enhancing the reconstruction ability of AE to anomalies instead of weakening it.
Our method is simple and efficient. It advances the state-of-the-art performances on Mvtec AD benchmark, which proves the effectiveness of our model.
arXiv Detail & Related papers (2023-08-01T10:15:15Z) - Self-Supervised Out-of-Distribution Detection and Localization with
Natural Synthetic Anomalies (NSA) [3.862647284311923]
We introduce a new self-supervised task, NSA, for training an end-to-end model for anomaly detection and localization.
NSA uses Poisson image editing to seamlessly blend scaled patches of various sizes from separate images.
Our experiments with the MVTec AD dataset show that a model trained to localize NSA anomalies generalizes well to detecting real-world a priori unknown types of manufacturing defects.
arXiv Detail & Related papers (2021-09-30T15:50:04Z) - CutPaste: Self-Supervised Learning for Anomaly Detection and
Localization [59.719925639875036]
We propose a framework for building anomaly detectors using normal training data only.
We first learn self-supervised deep representations and then build a generative one-class classifier on learned representations.
Our empirical study on MVTec anomaly detection dataset demonstrates the proposed algorithm is general to be able to detect various types of real-world defects.
arXiv Detail & Related papers (2021-04-08T19:04:55Z) - Anomaly detection through latent space restoration using
vector-quantized variational autoencoders [0.8122270502556374]
We propose an out-of-distribution detection method using density and restoration-based approaches.
The VQ-VAE model learns to encode images in a categorical latent space.
The prior distribution of latent codes is then modelled using an Auto-Regressive (AR) model.
arXiv Detail & Related papers (2020-12-12T09:19:59Z) - Anomaly localization by modeling perceptual features [3.04585143845864]
Feature-Augmented VAE is trained by reconstructing the input image in pixel space, and also in several different feature spaces.
It achieves clear improvement over state-of-the-art methods on the MVTec anomaly detection and localization datasets.
arXiv Detail & Related papers (2020-08-12T15:09:13Z) - Unsupervised Anomaly Detection with Adversarial Mirrored AutoEncoders [51.691585766702744]
We propose a variant of Adversarial Autoencoder which uses a mirrored Wasserstein loss in the discriminator to enforce better semantic-level reconstruction.
We put forward an alternative measure of anomaly score to replace the reconstruction-based metric.
Our method outperforms the current state-of-the-art methods for anomaly detection on several OOD detection benchmarks.
arXiv Detail & Related papers (2020-03-24T08:26:58Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.