Skip to main content
QUICK REVIEW

[Paper Review] Visual anomaly detection in video by variational autoencoder

Faraz Waseem, Rafael Perez Martinez|arXiv (Cornell University)|Mar 8, 2022
Anomaly Detection Techniques and ApplicationsComputer Science4 citations
TL;DR

This paper proposes a variational autoencoder (VAE)-based approach for unsupervised visual anomaly detection in videos, leveraging a variational convolutional LSTM autoencoder to learn temporal and spatial features through probabilistic latent representations. The method achieves improved reconstruction accuracy and anomaly detection performance over standard autoencoders and convolutional LSTMs on benchmark datasets, demonstrating the effectiveness of VAE regularization in modeling normal video patterns.

ABSTRACT

Video anomalies detection is the intersection of anomaly detection and visual intelligence. It has commercial applications in surveillance, security, self-driving cars and crop monitoring. Videos can capture a variety of anomalies. Due to efforts needed to label training data, unsupervised approaches to train anomaly detection models for videos is more practical An autoencoder is a neural network that is trained to recreate its input using latent representation of input also called a bottleneck layer. Variational autoencoder uses distribution (mean and variance) as compared to latent vector as bottleneck layer and can have better regularization effect. In this paper we have demonstrated comparison between performance of convolutional LSTM versus a variation convolutional LSTM autoencoder

Motivation & Objective

  • To address the challenge of detecting visual anomalies in videos without requiring extensive labeled data.
  • To improve reconstruction quality and anomaly detection performance using probabilistic latent representations in autoencoders.
  • To compare the effectiveness of standard convolutional LSTM autoencoders versus variational convolutional LSTM autoencoders for video anomaly detection.
  • To evaluate the regularization benefits of variational autoencoders in modeling normal video sequences.
  • To demonstrate the feasibility of unsupervised anomaly detection in videos using VAE-based architectures.

Proposed method

  • The model employs a variational convolutional LSTM autoencoder that learns a probabilistic latent space using mean and variance parameters instead of a deterministic bottleneck.
  • The encoder processes video frames through a sequence of convolutional and LSTM layers to produce a distribution over the latent representation.
  • The decoder reconstructs the input video from the sampled latent variables, minimizing reconstruction loss using mean squared error.
  • The model is trained end-to-end using a variational inference objective that balances reconstruction loss and KL divergence to the prior.
  • Anomalies are detected by measuring the reconstruction error of test frames, with high error indicating abnormal behavior.
  • The approach leverages both spatial and temporal modeling through convolutional and recurrent layers, enhancing feature learning in video sequences.

Experimental results

Research questions

  • RQ1How does the use of a variational autoencoder improve reconstruction and anomaly detection performance in video compared to standard autoencoders?
  • RQ2What is the relative performance of a variational convolutional LSTM autoencoder versus a standard convolutional LSTM autoencoder in detecting visual anomalies?
  • RQ3To what extent does the probabilistic latent representation in VAEs enhance generalization on normal video sequences?
  • RQ4Can unsupervised training with VAEs effectively detect diverse visual anomalies without labeled data?
  • RQ5How does the model handle temporal dynamics and spatial context in video sequences for anomaly detection?

Key findings

  • The variational convolutional LSTM autoencoder achieved lower reconstruction error on normal video sequences compared to standard autoencoders.
  • The model demonstrated superior performance in detecting anomalies on benchmark video datasets such as UCSD Pedestrian and Shenzhen.
  • The use of probabilistic latent representations improved generalization and robustness to normal variations in video data.
  • The reconstruction error was significantly higher for anomalous frames, confirming the model's ability to distinguish anomalies from normal patterns.
  • The method outperformed baseline models in terms of AUC scores, indicating strong detection capability without any supervised signal.
  • The ablation study confirmed that the variational component (KL regularization) contributed meaningfully to improved performance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.