Dual Memory Units with Uncertainty Regulation for Weakly Supervised Video Anomaly Detection

Hang Zhou, Junqing Yu, Wei Yang
2/10/2023
cs.CV

No official code found. Best implementation: henrryzh1/UR-DMU (90 stars, MIT, last commit 2025-01-06).

Abstract

Learning discriminative features for effectively separating abnormal events from normality is crucial for weakly supervised video anomaly detection (WS-VAD) tasks. Existing approaches, both video and segment-level label oriented, mainly focus on extracting representations for anomaly data while neglecting the implication of normal data. We observe that such a scheme is sub-optimal, i.e., for better distinguishing anomaly one needs to understand what is a normal state, and may yield a higher false alarm rate. To address this issue, we propose an Uncertainty Regulated Dual Memory Units (UR-DMU) model to learn both the representations of normal data and discriminative features of abnormal data. To be specific, inspired by the traditional global and local structure on graph convolutional networks, we introduce a Global and Local Multi-Head Self Attention (GL-MHSA) module for the Transformer network to obtain more expressive embeddings for capturing associations in videos. Then, we use two memory banks, one additional abnormal memory for tackling hard samples, to store and separate abnormal and normal prototypes and maximize the margins between the two representations. Finally, we propose an uncertainty learning scheme to learn the normal data latent space, that is robust to noise from camera switching, object changing, scene transforming, etc. Extensive experiments on XD-Violence and UCF-Crime datasets demonstrate that our method outperforms the state-of-the-art methods by a sizable margin.

View on arXivView PDF

Code Implementations(1)

henrryzh1/UR-DMUCommunity100%
MIT

Official code for AAAI2023 paper "Dual Memory Units with Uncertainty Regulation for Weakly Supervised Video Anomaly Detection"

9010PythonDec 25, 20221 years agoMIT
video-anomaly-detection

Similar Papers

Cite this paper

@article{zhou2023dual,
  title  = {Dual Memory Units with Uncertainty Regulation for Weakly Supervised Video Anomaly Detection},
  author = {Hang Zhou and Junqing Yu and Wei Yang},
  year   = {2023},
  eprint = {2302.05160},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.05160v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2302.05160.svg)](https://codeofpaper.com/paper/2302.05160)

Discussion