Video Anomaly Detection via Spatio-Temporal Pseudo-Anomaly Generation : A Unified Approach

Ayush K. Rai, Tarun Krishna, Feiyan Hu, Alexandru Drimbarean, Kevin McGuinness +2 more
11/27/2023
cs.CVcs.AIcs.LG

No confident code implementation found for this paper.

Abstract

Video Anomaly Detection (VAD) is an open-set recognition task, which is usually formulated as a one-class classification (OCC) problem, where training data is comprised of videos with normal instances while test data contains both normal and anomalous instances. Recent works have investigated the creation of pseudo-anomalies (PAs) using only the normal data and making strong assumptions about real-world anomalies with regards to abnormality of objects and speed of motion to inject prior information about anomalies in an autoencoder (AE) based reconstruction model during training. This work proposes a novel method for generating generic spatio-temporal PAs by inpainting a masked out region of an image using a pre-trained Latent Diffusion Model and further perturbing the optical flow using mixup to emulate spatio-temporal distortions in the data. In addition, we present a simple unified framework to detect real-world anomalies under the OCC setting by learning three types of anomaly indicators, namely reconstruction quality, temporal irregularity and semantic inconsistency. Extensive experiments on four VAD benchmark datasets namely Ped2, Avenue, ShanghaiTech and UBnormal demonstrate that our method performs on par with other existing state-of-the-art PAs generation and reconstruction based methods under the OCC setting. Our analysis also examines the transferability and generalisation of PAs across these datasets, offering valuable insights by identifying real-world anomalies through PAs.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{rai2023video,
  title  = {Video Anomaly Detection via Spatio-Temporal Pseudo-Anomaly Generation : A Unified Approach},
  author = {Ayush K. Rai and Tarun Krishna and Feiyan Hu and Alexandru Drimbarean and Kevin McGuinness and Alan F. Smeaton and Noel E. O'Connor},
  year   = {2023},
  eprint = {2311.16514},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.16514v2}
}

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

Discussion