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/Weakly-supervised Video Anomaly Detection with Robust Temp...

Weakly-supervised Video Anomaly Detection with Robust Temporal Feature Magnitude Learning

Yu Tian, Guansong Pang, Yuanhong Chen, Rajvinder Singh, Johan W. Verjans, Gustavo Carneiro

2021-01-25ICCV 2021 10Anomaly Detection In Surveillance VideosWeakly-supervised Video Anomaly DetectionVideo Anomaly DetectionMultiple Instance LearningAnomaly DetectionContrastive Learning
PaperPDFCodeCode(official)Code

Abstract

Anomaly detection with weakly supervised video-level labels is typically formulated as a multiple instance learning (MIL) problem, in which we aim to identify snippets containing abnormal events, with each video represented as a bag of video snippets. Although current methods show effective detection performance, their recognition of the positive instances, i.e., rare abnormal snippets in the abnormal videos, is largely biased by the dominant negative instances, especially when the abnormal events are subtle anomalies that exhibit only small differences compared with normal events. This issue is exacerbated in many methods that ignore important video temporal dependencies. To address this issue, we introduce a novel and theoretically sound method, named Robust Temporal Feature Magnitude learning (RTFM), which trains a feature magnitude learning function to effectively recognise the positive instances, substantially improving the robustness of the MIL approach to the negative instances from abnormal videos. RTFM also adapts dilated convolutions and self-attention mechanisms to capture long- and short-range temporal dependencies to learn the feature magnitude more faithfully. Extensive experiments show that the RTFM-enabled MIL model (i) outperforms several state-of-the-art methods by a large margin on four benchmark data sets (ShanghaiTech, UCF-Crime, XD-Violence and UCSD-Peds) and (ii) achieves significantly improved subtle anomaly discriminability and sample efficiency. Code is available at https://github.com/tianyu0207/RTFM.

Results

TaskDatasetMetricValueModel
Video UnderstandingShanghaiTech Weakly SupervisedAUC-ROC97.48Learning Causal Temporal Relation and Feature Discrimination for Anomaly Detection
Video UnderstandingShanghaiTech Weakly SupervisedAUC-ROC97.48Learning Causal Temporal Relation and Feature Discrimination for Anomaly Detection
Video UnderstandingShanghaiTech Weakly SupervisedAUC-ROC97.21RTFM
Video UnderstandingUCF-CrimeROC AUC84.03RTFM
Video UnderstandingXD-ViolenceAP77.81RTFM
Video UnderstandingUCSD Peds2AUC98.6RTFM
VideoShanghaiTech Weakly SupervisedAUC-ROC97.48Learning Causal Temporal Relation and Feature Discrimination for Anomaly Detection
VideoShanghaiTech Weakly SupervisedAUC-ROC97.48Learning Causal Temporal Relation and Feature Discrimination for Anomaly Detection
VideoShanghaiTech Weakly SupervisedAUC-ROC97.21RTFM
VideoUCF-CrimeROC AUC84.03RTFM
VideoXD-ViolenceAP77.81RTFM
VideoUCSD Peds2AUC98.6RTFM
Anomaly DetectionShanghaiTech Weakly SupervisedAUC-ROC97.48Learning Causal Temporal Relation and Feature Discrimination for Anomaly Detection
Anomaly DetectionShanghaiTech Weakly SupervisedAUC-ROC97.48Learning Causal Temporal Relation and Feature Discrimination for Anomaly Detection
Anomaly DetectionShanghaiTech Weakly SupervisedAUC-ROC97.21RTFM
Anomaly DetectionUCF-CrimeROC AUC84.03RTFM
Anomaly DetectionXD-ViolenceAP77.81RTFM
Anomaly DetectionUCSD Peds2AUC98.6RTFM
Anomaly DetectionUBnormalAUC-ROC66.83RTFM
Anomaly DetectionShanghaiTech Weakly SupervisedAUC-ROC97.21RTFM
Anomaly DetectionShanghaiTech Weakly SupervisedFAR-Normal1.06RTFM
3D Anomaly DetectionUBnormalAUC-ROC66.83RTFM
3D Anomaly DetectionShanghaiTech Weakly SupervisedAUC-ROC97.21RTFM
3D Anomaly DetectionShanghaiTech Weakly SupervisedFAR-Normal1.06RTFM
Video Anomaly DetectionUBnormalAUC-ROC66.83RTFM
Video Anomaly DetectionShanghaiTech Weakly SupervisedAUC-ROC97.21RTFM
Video Anomaly DetectionShanghaiTech Weakly SupervisedFAR-Normal1.06RTFM

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-17SemCSE: Semantic Contrastive Sentence Embeddings Using LLM-Generated Summaries For Scientific Abstracts2025-07-17HapticCap: A Multimodal Dataset and Task for Understanding User Experience of Vibration Haptic Signals2025-07-17Overview of the TalentCLEF 2025: Skill and Job Title Intelligence for Human Capital Management2025-07-17SGCL: Unifying Self-Supervised and Supervised Learning for Graph Recommendation2025-07-17A Privacy-Preserving Framework for Advertising Personalization Incorporating Federated Learning and Differential Privacy2025-07-16