Self-Supervised Predictive Convolutional Attentive Block for Anomaly Detection

Anomaly detection is commonly pursued as a one-class classification problem, where models can only learn from normal training samples, while being evaluated on both normal and abnormal test samples. Among the successful approaches for anomaly detection, a distinguished category of methods relies on predicting masked information (e.g. patches, future frames, etc.) and leveraging the reconstruction error with respect to the masked information as an abnormality score. Different from related methods, we propose to integrate the reconstruction-based functionality into a novel self-supervised predictive architectural building block. The proposed self-supervised block is generic and can easily be incorporated into various state-of-the-art anomaly detection methods. Our block starts with a convolutional layer with dilated filters, where the center area of the receptive field is masked. The resulting activation maps are passed through a channel attention module. 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, providing empirical evidence that shows considerable performance improvements on MVTec AD, Avenue, and ShanghaiTech. We release our code as open source at https://github.com/ristea/sspcab.

PDF Abstract CVPR 2022 PDF CVPR 2022 Abstract

Results from the Paper


Task Dataset Model Metric Name Metric Value Global Rank Uses Extra
Training Data
Result Benchmark
Anomaly Detection CUHK Avenue Background- Agnostic Framework+SSPCAB AUC 92.9% # 6
RBDC 65.99 # 3
FPS 24 # 7
Anomaly Detection CUHK Avenue HF2VAD+SSPCAB TBDC 89.28 # 1
Anomaly Detection MVTec AD DRAEM+SSPCAB Detection AUROC 98.9 # 30
Segmentation AUROC 97.2 # 49
Segmentation AP 69.9 # 9
Anomaly Detection MVTec AD CutPaste+SSPCAB Detection AUROC 96.1 # 55
Anomaly Detection ShanghaiTech Background- Agnostic Framework+SSPCAB AUC 83.6% # 8
Anomaly Detection ShanghaiTech HF2VAD+SSPCAB RBDC 45.45 # 6
TBDC 84.50 # 6

Methods


No methods listed for this paper. Add relevant methods here