A Hybrid Video Anomaly Detection Framework via Memory-Augmented Flow Reconstruction and Flow-Guided Frame Prediction

Zhian Liu, Yongwei Nie, Chengjiang Long, Qing Zhang, Guiqing Li
8/16/2021
cs.CV

Official code: LiUzHiAn/hf2vad (143 stars, Python, MIT, PyTorch, last commit 2022-04-28).

Abstract

In this paper, we propose $\text{HF}^2$-VAD, a Hybrid framework that integrates Flow reconstruction and Frame prediction seamlessly to handle Video Anomaly Detection. Firstly, we design the network of ML-MemAE-SC (Multi-Level Memory modules in an Autoencoder with Skip Connections) to memorize normal patterns for optical flow reconstruction so that abnormal events can be sensitively identified with larger flow reconstruction errors.

Show full abstract

More importantly, conditioned on the reconstructed flows, we then employ a Conditional Variational Autoencoder (CVAE), which captures the high correlation between video frame and optical flow, to predict the next frame given several previous frames. By CVAE, the quality of flow reconstruction essentially influences that of frame prediction. Therefore, poorly reconstructed optical flows of abnormal events further deteriorate the quality of the final predicted future frame, making the anomalies more detectable. Experimental results demonstrate the effectiveness of the proposed method. Code is available at \href{https://github.com/LiUzHiAn/hf2vad}{https://github.com/LiUzHiAn/hf2vad}.

View on arXivView PDF

Code Implementations(1)

LiUzHiAn/hf2vadOfficial100%
PyTorchMIT
14332Python, CudaAug 11, 20214 years agoMIT
deep-learningpytorchvideo-anomaly-detecti

Similar Papers

Cite this paper

@article{liu2021hybrid,
  title  = {A Hybrid Video Anomaly Detection Framework via Memory-Augmented Flow Reconstruction and Flow-Guided Frame Prediction},
  author = {Zhian Liu and Yongwei Nie and Chengjiang Long and Qing Zhang and Guiqing Li},
  year   = {2021},
  eprint = {2108.06852},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.06852}
}

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/2108.06852.svg)](https://codeofpaper.com/paper/2108.06852)

Discussion