Papers › Self-Supervised Predictive Convolutional Attentive Block for Anomaly Detection

Self-Supervised Predictive Convolutional Attentive Block for Anomaly Detection

17 Nov 2021CVPR 2022 1arXiv:2111.09099archive 2025-07-28

Nicolae-Catalin Ristea, Neelu Madan, Radu Tudor Ionescu, Kamal Nasrollahi, Fahad Shahbaz Khan, Thomas B. Moeslund, Mubarak Shah

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.

PaperPDFConference PDFCode

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

Code

ristea/sspcab officialmentioned in papermentioned on GitHubpytorchNOASSERTION report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Tasks

Anomaly DetectionOne-Class Classification

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Anomaly Detection CUHK Avenue Background- Agnostic Framework+SSPCAB AUC 92.9% #7 of 35 Archive leaderboard report
Anomaly Detection CUHK Avenue Background- Agnostic Framework+SSPCAB FPS 24 #7 of 35 Archive leaderboard report
Anomaly Detection CUHK Avenue Background- Agnostic Framework+SSPCAB RBDC 65.99 #7 of 35 Archive leaderboard report
Anomaly Detection CUHK Avenue HF2VAD+SSPCAB TBDC 89.28 #35 of 35 Archive leaderboard report
Anomaly Detection MVTec AD DRAEM+SSPCAB Detection AUROC 98.9 #48 of 148 Archive leaderboard report
Anomaly Detection MVTec AD DRAEM+SSPCAB Segmentation AP 69.9 #48 of 148 Archive leaderboard report
Anomaly Detection MVTec AD DRAEM+SSPCAB Segmentation AUROC 97.2 #48 of 148 Archive leaderboard report
Anomaly Detection MVTec AD CutPaste+SSPCAB Detection AUROC 96.1 #83 of 148 Archive leaderboard report
Anomaly Detection ShanghaiTech Background- Agnostic Framework+SSPCAB AUC 83.6% #12 of 31 Archive leaderboard report
Anomaly Detection ShanghaiTech HF2VAD+SSPCAB RBDC 45.45 #31 of 31 Archive leaderboard report
Anomaly Detection ShanghaiTech HF2VAD+SSPCAB TBDC 84.50 #31 of 31 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections