TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Self-Supervised Predictive Convolutional Attentive Block f...

Self-Supervised Predictive Convolutional Attentive Block for Anomaly Detection

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

2021-11-17CVPR 2022 1Anomaly Detection
PaperPDFCodeCodeCode(official)Code

Abstract

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.

Results

TaskDatasetMetricValueModel
Anomaly DetectionShanghaiTechRBDC45.45HF2VAD+SSPCAB
Anomaly DetectionShanghaiTechTBDC84.5HF2VAD+SSPCAB
Anomaly DetectionCUHK AvenueFPS24Background- Agnostic Framework+SSPCAB
Anomaly DetectionCUHK AvenueRBDC65.99Background- Agnostic Framework+SSPCAB
Anomaly DetectionCUHK AvenueTBDC89.28HF2VAD+SSPCAB
Anomaly DetectionMVTec ADDetection AUROC98.9DRAEM+SSPCAB
Anomaly DetectionMVTec ADSegmentation AP69.9DRAEM+SSPCAB
Anomaly DetectionMVTec ADSegmentation AUROC97.2DRAEM+SSPCAB
Anomaly DetectionMVTec ADDetection AUROC96.1CutPaste+SSPCAB

Related Papers

Multi-Stage Prompt Inference Attacks on Enterprise LLM Systems2025-07-213DKeyAD: High-Resolution 3D Point Cloud Anomaly Detection via Keypoint-Guided Point Clustering2025-07-17A Semi-Supervised Learning Method for the Identification of Bad Exposures in Large Imaging Surveys2025-07-17A Privacy-Preserving Framework for Advertising Personalization Incorporating Federated Learning and Differential Privacy2025-07-16Bridge Feature Matching and Cross-Modal Alignment with Mutual-filtering for Zero-shot Anomaly Detection2025-07-15Adversarial Activation Patching: A Framework for Detecting and Mitigating Emergent Deception in Safety-Aligned Transformers2025-07-12Towards High-Resolution 3D Anomaly Detection: A Scalable Dataset and Real-Time Framework for Subtle Industrial Defects2025-07-10seMCD: Sequentially implemented Monte Carlo depth computation with statistical guarantees2025-07-08