Attention Guided Anomaly Localization in Images

07/13/2020
by   Shashanka Venkataramanan, et al.
0

Anomaly localization is an important problem in computer vision which involves localizing anomalous regions within images with applications in industrial inspection, surveillance, and medical imaging. This task is challenging due to the small sample size and pixel coverage of the anomaly in real-world scenarios. Most prior works need to use anomalous training images to compute a class-specific threshold to localize anomalies. Without the need of anomalous training images, we propose Convolutional Adversarial Variational autoencoder with Guided Attention (CAVGA), which localizes the anomaly with a convolutional latent variable to preserve the spatial information. In the unsupervised setting, we propose an attention expansion loss where we encourage CAVGA to focus on all normal regions in the image. Furthermore, in the weakly-supervised setting we propose a complementary guided attention loss, where we encourage the attention map to focus on all normal regions while minimizing the attention map corresponding to anomalous regions in the image. CAVGA outperforms the state-of-the-art (SOTA) anomaly localization methods on MVTec Anomaly Detection (MVTAD), modified ShanghaiTech Campus (mSTC) and Large-scale Attention based Glaucoma (LAG) datasets in the unsupervised setting and when using only 2% anomalous images in the weakly-supervised setting. CAVGA also outperforms SOTA anomaly detection methods on the MNIST, CIFAR-10, Fashion-MNIST, MVTAD, mSTC and LAG datasets.

READ FULL TEXT

page 2

page 9

page 10

page 11

page 12

page 13

page 14

research
11/19/2019

Attention Guided Anomaly Detection and Localization in Images

Anomaly detection and localization is a popular computer vision problem ...
research
12/02/2021

SCNet: A Generalized Attention-based Model for Crack Fault Segmentation

Anomaly detection and localization is an important vision problem, havin...
research
03/03/2022

Constrained unsupervised anomaly segmentation

Current unsupervised anomaly localization approaches rely on generative ...
research
09/01/2021

Looking at the whole picture: constrained unsupervised anomaly segmentation

Current unsupervised anomaly localization approaches rely on generative ...
research
02/15/2018

Detecting Anomalous Faces with 'No Peeking' Autoencoders

Detecting anomalous faces has important applications. For example, a sys...
research
11/22/2020

Multiresolution Knowledge Distillation for Anomaly Detection

Unsupervised representation learning has proved to be a critical compone...
research
04/28/2021

Inpainting Transformer for Anomaly Detection

Anomaly detection in computer vision is the task of identifying images w...

Please sign up or login with your details

Forgot password? Click here to reset