Self-Supervised Masked Convolutional Transformer Block for Anomaly Detection

09/25/2022
by   Neelu Madan, et al.
54

Anomaly detection has recently gained increasing attention in the field of computer vision, likely due to its broad set of applications ranging from product fault detection on industrial production lines and impending event detection in video surveillance to finding lesions in medical scans. Regardless of the domain, anomaly detection is typically framed as a one-class classification task, where the learning is conducted on normal examples only. An entire family of successful anomaly detection methods is based on learning to reconstruct masked normal inputs (e.g. patches, future frames, etc.) and exerting the magnitude of the reconstruction error as an indicator for the abnormality level. Unlike other reconstruction-based methods, we present a novel self-supervised masked convolutional transformer block (SSMCTB) that comprises the reconstruction-based functionality at a core architectural level. The proposed self-supervised block is extremely flexible, enabling information masking at any layer of a neural network and being compatible with a wide range of neural architectures. In this work, we extend our previous self-supervised predictive convolutional attentive block (SSPCAB) with a 3D masked convolutional layer, as well as a transformer for channel-wise attention. Furthermore, we show that our block is applicable to a wider variety of tasks, adding anomaly detection in medical images and thermal videos to the previously considered tasks based on RGB images and surveillance videos. We exhibit the generality and flexibility of SSMCTB by integrating it into multiple state-of-the-art neural models for anomaly detection, bringing forth empirical results that confirm considerable performance improvements on five benchmarks: MVTec AD, BRATS, Avenue, ShanghaiTech, and Thermal Rare Event. We release our code and data as open source at https://github.com/ristea/ssmctb.

READ FULL TEXT

page 2

page 8

page 9

page 10

page 16

research
11/17/2021

Self-Supervised Predictive Convolutional Attentive Block for Anomaly Detection

Anomaly detection is commonly pursued as a one-class classification prob...
research
06/03/2022

Anomaly detection in surveillance videos using transformer based attention model

Surveillance footage can catch a wide range of realistic anomalies. This...
research
11/15/2020

Anomaly Detection in Video via Self-Supervised and Multi-Task Learning

Anomaly detection in video is a challenging computer vision problem. Due...
research
06/20/2023

BMAD: Benchmarks for Medical Anomaly Detection

Anomaly detection (AD) is a fundamental research problem in machine lear...
research
03/01/2023

Unsupervised Pathology Detection: A Deep Dive Into the State of the Art

Deep unsupervised approaches are gathering increased attention for appli...
research
12/07/2021

Regularity Learning via Explicit Distribution Modeling for Skeletal Video Anomaly Detection

Anomaly detection in surveillance videos is challenging and important fo...
research
07/05/2022

Transformer based Models for Unsupervised Anomaly Segmentation in Brain MR Images

The quality of patient care associated with diagnostic radiology is prop...

Please sign up or login with your details

Forgot password? Click here to reset