Self-Supervised Masking for Unsupervised Anomaly Detection and
Localization
- URL: http://arxiv.org/abs/2205.06568v1
- Date: Fri, 13 May 2022 11:42:06 GMT
- Title: Self-Supervised Masking for Unsupervised Anomaly Detection and
Localization
- Authors: Chaoqin Huang, Qinwei Xu, Yanfeng Wang, Yu Wang, and Ya Zhang
- Abstract summary: We propose a self-supervised learning approach through random masking and then restoring, named Self-Supervised Masking (SSM) for unsupervised anomaly detection and localization.
SSM not only enhances the training of the inpainting network but also leads to great improvement in the efficiency of mask prediction at inference.
To improve the efficiency and effectiveness of anomaly detection and localization at inference, we propose a novel progressive mask refinement approach.
- Score: 22.671913403500728
- License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
- Abstract: Recently, anomaly detection and localization in multimedia data have received
significant attention among the machine learning community. In real-world
applications such as medical diagnosis and industrial defect detection,
anomalies only present in a fraction of the images. To extend the
reconstruction-based anomaly detection architecture to the localized anomalies,
we propose a self-supervised learning approach through random masking and then
restoring, named Self-Supervised Masking (SSM) for unsupervised anomaly
detection and localization. SSM not only enhances the training of the
inpainting network but also leads to great improvement in the efficiency of
mask prediction at inference. Through random masking, each image is augmented
into a diverse set of training triplets, thus enabling the autoencoder to learn
to reconstruct with masks of various sizes and shapes during training. To
improve the efficiency and effectiveness of anomaly detection and localization
at inference, we propose a novel progressive mask refinement approach that
progressively uncovers the normal regions and finally locates the anomalous
regions. The proposed SSM method outperforms several state-of-the-arts for both
anomaly detection and anomaly localization, achieving 98.3% AUC on Retinal-OCT
and 93.9% AUC on MVTec AD, respectively.
Related papers
- LADMIM: Logical Anomaly Detection with Masked Image Modeling in Discrete Latent Space [0.0]
Masked image modeling is a self-supervised learning technique that predicts the feature representation of masked regions in an image.
We propose a novel approach that leverages the characteristics of MIM to detect logical anomalies effectively.
We evaluate the proposed method on the MVTecLOCO dataset, achieving an average AUC of 0.867.
arXiv Detail & Related papers (2024-10-14T07:50:56Z) - Feature Attenuation of Defective Representation Can Resolve Incomplete Masking on Anomaly Detection [1.0358639819750703]
In unsupervised anomaly detection (UAD) research, it is necessary to develop a computationally efficient and scalable solution.
We revisit the reconstruction-by-inpainting approach and rethink to improve it by analyzing strengths and weaknesses.
We propose Feature Attenuation of Defective Representation (FADeR) that only employs two layers which attenuates feature information of anomaly reconstruction.
arXiv Detail & Related papers (2024-07-05T15:44:53Z) - Adapting Visual-Language Models for Generalizable Anomaly Detection in Medical Images [68.42215385041114]
This paper introduces a novel lightweight multi-level adaptation and comparison framework to repurpose the CLIP model for medical anomaly detection.
Our approach integrates multiple residual adapters into the pre-trained visual encoder, enabling a stepwise enhancement of visual features across different levels.
Our experiments on medical anomaly detection benchmarks demonstrate that our method significantly surpasses current state-of-the-art models.
arXiv Detail & Related papers (2024-03-19T09:28:19Z) - 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) - AnomalyDiffusion: Few-Shot Anomaly Image Generation with Diffusion Model [59.08735812631131]
Anomaly inspection plays an important role in industrial manufacture.
Existing anomaly inspection methods are limited in their performance due to insufficient anomaly data.
We propose AnomalyDiffusion, a novel diffusion-based few-shot anomaly generation model.
arXiv Detail & Related papers (2023-12-10T05:13:40Z) - Excision And Recovery: Visual Defect Obfuscation Based Self-Supervised
Anomaly Detection Strategy [1.0358639819750703]
We propose a novel reconstruction-by-inpainting method, dubbed Excision And Recovery (EAR)
EAR features single deterministic masking based on the ImageNet pre-trained DINO-ViT and visual obfuscation for hint-providing.
Our approach achieves a high anomaly detection performance without any change of the neural network structure.
arXiv Detail & Related papers (2023-10-06T04:40:48Z) - Self-Supervised Masked Convolutional Transformer Block for Anomaly
Detection [122.4894940892536]
We present a novel self-supervised masked convolutional transformer block (SSMCTB) that comprises the reconstruction-based functionality at a core architectural level.
In this work, we extend our previous self-supervised predictive convolutional attentive block (SSPCAB) with a 3D masked convolutional layer, a transformer for channel-wise attention, as well as a novel self-supervised objective based on Huber loss.
arXiv Detail & Related papers (2022-09-25T04:56:10Z) - Self-Supervised Predictive Convolutional Attentive Block for Anomaly
Detection [97.93062818228015]
We propose to integrate the reconstruction-based functionality into a novel self-supervised predictive architectural building block.
Our block is equipped with a loss that minimizes the reconstruction error with respect to the masked area in the receptive field.
We demonstrate the generality of our block by integrating it into several state-of-the-art frameworks for anomaly detection on image and video.
arXiv Detail & Related papers (2021-11-17T13:30:31Z) - DR{\AE}M -- A discriminatively trained reconstruction embedding for
surface anomaly detection [14.234783431842542]
We propose a discriminatively trained reconstruction anomaly embedding model (DRAEM)
DRAEM learns a joint representation of an anomalous image and its anomaly-free reconstruction, while simultaneously learning a decision boundary between normal and anomalous examples.
On the challenging MVTec anomaly detection dataset, DRAEM outperforms the current state-of-the-art unsupervised methods by a large margin.
arXiv Detail & Related papers (2021-08-17T13:17:29Z) - Improved Slice-wise Tumour Detection in Brain MRIs by Computing
Dissimilarities between Latent Representations [68.8204255655161]
Anomaly detection for Magnetic Resonance Images (MRIs) can be solved with unsupervised methods.
We have proposed a slice-wise semi-supervised method for tumour detection based on the computation of a dissimilarity function in the latent space of a Variational AutoEncoder.
We show that by training the models on higher resolution images and by improving the quality of the reconstructions, we obtain results which are comparable with different baselines.
arXiv Detail & Related papers (2020-07-24T14:02:09Z)
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.