HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

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

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

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

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.

Code Repositories

tianyu0207/CCD
pytorch
Mentioned in GitHub
tianyu0207/RTFM
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
anomaly-detection-in-surveillance-videos-onRTFM
ROC AUC: 84.03
anomaly-detection-in-surveillance-videos-on-1Learning Causal Temporal Relation and Feature Discrimination for Anomaly Detection
AUC-ROC: 97.48
anomaly-detection-in-surveillance-videos-on-1RTFM
AUC-ROC: 97.21
anomaly-detection-in-surveillance-videos-on-2RTFM
AP: 77.81
anomaly-detection-in-surveillance-videos-on-3RTFM
AUC: 98.6
weakly-supervised-video-anomaly-detection-onRTFM
AUC-ROC: 97.21
FAR-Normal: 1.06
weakly-supervised-video-anomaly-detection-on-1RTFM
AUC-ROC: 66.83

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Weakly-supervised Video Anomaly Detection with Robust Temporal Feature Magnitude Learning | Papers | HyperAI