Skip to main content
QUICK REVIEW

[Paper Review] Real-Time Anomaly Detection and Localization in Crowded Scenes

Mohammad Sabokrou, Mahmood Fathy|arXiv (Cornell University)|Nov 21, 2015
Anomaly Detection Techniques and ApplicationsComputer Science18 references48 citations
TL;DR

This paper proposes a real-time anomaly detection and localization method for crowded scenes using dual-view descriptors—global and local features—learned via sparse autoencoders. By modeling normal patch patterns with Gaussian distributions and computing Mahalanobis distance, the method achieves high accuracy in both frame-level and pixel-level anomaly detection, outperforming state-of-the-art methods in pixel-level performance while running at 25 fps (up to 200 fps with minor errors).

ABSTRACT

In this paper, we propose a method for real-time anomaly detection and localization in crowded scenes. Each video is defined as a set of non-overlapping cubic patches, and is described using two local and global descriptors. These descriptors capture the video properties from different aspects. By incorporating simple and cost-effective Gaussian classifiers, we can distinguish normal activities and anomalies in videos. The local and global features are based on structure similarity between adjacent patches and the features learned in an unsupervised way, using a sparse auto- encoder. Experimental results show that our algorithm is comparable to a state-of-the-art procedure on UCSD ped2 and UMN benchmarks, but even more time-efficient. The experiments confirm that our system can reliably detect and localize anomalies as soon as they happen in a video.

Motivation & Objective

  • Address the challenge of real-time anomaly detection and localization in crowded video scenes, where existing methods often fail due to high computational cost or poor localization.
  • Overcome the limitations of trajectory-based and low-level feature methods by introducing a dual-view descriptor approach that captures both local and global spatio-temporal patterns.
  • Develop a computationally efficient framework that enables real-time processing (25 fps) while maintaining high detection accuracy, especially in pixel-level localization.
  • Improve upon prior methods that lack real-time capability or fail to localize anomalies precisely, by fusing global and local feature representations with Gaussian classification.

Proposed method

  • Represent each video as non-overlapping cubic spatio-temporal patches to enable localized analysis of motion and structure.
  • Learn discriminative global and local features using sparse autoencoders trained in an unsupervised manner on normal video patches.
  • Compute a structure similarity metric between adjacent patches to detect sudden spatio-temporal changes indicative of anomalies.
  • Model all normal patches using Gaussian distributions and apply Mahalanobis distance for anomaly classification during inference.
  • Fuse predictions from global and local views using a weighted decision strategy to enhance detection and localization accuracy.
  • Use a dual-pixel-level evaluation metric with parameter β to assess localization precision, enabling fine-grained anomaly region detection.
Figure 1: The scheme of our algorithm ( left to right ): Input frames, two views of patches (global and local), modeling the data using Gaussian distributions, and making the final decision
Figure 1: The scheme of our algorithm ( left to right ): Input frames, two views of patches (global and local), modeling the data using Gaussian distributions, and making the final decision

Experimental results

Research questions

  • RQ1Can a dual-view feature representation (global and local) improve real-time anomaly detection and localization in crowded scenes compared to single-view or low-level feature methods?
  • RQ2To what extent does feature learning via sparse autoencoders enhance the discriminative power of normal patch modeling for anomaly detection?
  • RQ3How does the proposed method compare to state-of-the-art approaches in terms of pixel-level localization accuracy and computational efficiency?
  • RQ4Can the fusion of global and local descriptors lead to more reliable anomaly detection with low false-positive rates in real-time video streams?

Key findings

  • The proposed method achieves a pixel-level equal error rate (EER) of 24% on the UCSD ped2 dataset, outperforming the next-best method (Li et al., 29.9% EER).
  • On the UCSD ped2 dataset, the method’s frame-level EER is 19%, ranking second-best behind Li et al. (18.5%), with a 0.5% margin.
  • The method processes video at 25 fps on standard hardware (3.5 GHz CPU, 8GB RAM), with up to 200 fps when tolerating minor errors, significantly outpacing competing methods.
  • On the UMN dataset, the method achieves an EER of 2.5% and AUC of 99.6%, surpassing the best previous result (EER: 2.8%) and demonstrating state-of-the-art performance in frame-level detection.
  • The dual-pixel-level evaluation shows that the method maintains high localization accuracy even at β = 0.05 and β = 0.10, with pixel-level performance closely matching frame-level results.
  • The fusion of global and local views leads to improved detection reliability, with both individual classifiers performing well, especially the global model on the UMN dataset.
Figure 2: Video representation: Each video is represented through a number of non-overlapping cubic patches, covering the whole space-time in the video.
Figure 2: Video representation: Each video is represented through a number of non-overlapping cubic patches, covering the whole space-time in the video.

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.