Abnormal Event Detection Based on Multi-scale Markov Random Field

Lei Qin, Yituo Ye, Li Su, Qingming HuangCCCV 2015

Abstract

In this paper, we present a novel unsupervised method for abnormal behavior detection, which considers both local and global contextual information. For the local contextual representation, we firstly divide video frames into local regions, then extract low-level feature such as histogram of orientated optical flow (HOF) and sequential feature which is composed of K temporal adjacent frames for each region. The global contextual feature encodes the statistical characteristics of those local features like orientation entropy and magnitude variance. An online clustering algorithm is introduced to generate dictionaries for the local and global features respectively. Then, for any new incoming feature, a maximum posterior estimation of the degree of normality is computed by multi-scale Markov Random Field (mMRF) based on the learned model. The proposed method is evaluated on hours of real world surveillance videos. Experimental results validate the effectiveness of the method, and the detection performance is promising.

Introduction

In the field of automated surveillance, identifying "abnormal" behavior is a significant challenge because anomalies are often context-dependent. A person standing still may be normal in a waiting area but abnormal if loitering in a high-traffic exit. Traditional detection algorithms often focus exclusively on either Local Abnormal Events (LAE), such as prohibited movements, or Global Abnormal Events (GAE), such as crowd stampedes. Furthermore, many methods analyze frames in isolation, failing to capture the temporal "flow" or the spatial relationships between different regions of a scene. This paper addresses these limitations by proposing an unsupervised framework that integrates local motion patterns with global scene statistics using a multi-scale Markov Random Field (mMRF).

Proposed Methodology

The proposed framework is built upon a hierarchical probabilistic model designed to capture both fine-grained local details and broad global context.

Dual-Feature Representation

The system utilizes a two-tiered feature extraction process:

  1. Local Features: Video frames are divided into a spatial grid. For each cell, the system extracts the Histogram of Orientated Optical Flow (HOF). To capture temporal dynamics, a "Sequential Feature" is created by concatenating HOFs from $K$ adjacent frames. This allows the model to recognize patterns over time rather than just instantaneous motion.
  2. Global Features: These represent the overall state of the scene, incorporating statistical measures such as orientation entropy, magnitude variance, and total kinetic energy.

Multi-scale Markov Random Field (mMRF)

The core of the detection engine is the mMRF, a hierarchical graph where a global node influences local grid nodes. This structure allows the global state to act as a "prior" for local regions. For instance, a sudden local movement is interpreted differently if the entire scene is in a state of high kinetic energy (e.g., a crowd panic) versus a static background.

The mMRF structure showing the influence of the global scale (n=1) on the local scale grid (n=0).

To handle temporal variations, the authors employ Edit Distance to compare temporal sequences. This provides robustness against variations in the speed or timing of specific actions, such as a person walking slightly faster or slower than average. The system learns "normal" behavior dictionaries on the fly using an online leader-follower clustering algorithm, flagging any behavior that deviates significantly from these learned patterns using Loopy Belief Propagation.

Experimental Evaluation

The method was evaluated using two benchmark datasets: the UMN Dataset for global anomalies and the Subway Station Dataset for local anomalies (e.g., loitering, wrong-way walking, and skipping payment).

Quantitative Results

On the UMN dataset, the mMRF approach achieved an Area Under the Curve (AUC) of 0.973. This performance significantly exceeds baseline methods using only local HOF features (0.624) and outperforms the established Social Force model (0.96).

ROC curve comparing the proposed mMRF method against Optical Flow, Social Force, and Streakline Potential models on the UMN dataset.

In the Subway Station dataset, the inclusion of sequential features and Edit Distance proved crucial for reducing false positives. For example, in entrance gate footage, a standard HOF-only method produced 23 false alarms, whereas the proposed method reduced this to just 5 while maintaining high sensitivity to complex behaviors like loitering, which are difficult to detect with instantaneous features alone.

Conclusion

This research demonstrates that combining local and global context through a multi-scale Markov Random Field significantly improves the accuracy and robustness of video anomaly detection. By treating global context as a prior and utilizing temporal sequence matching, the system effectively identifies a wide range of abnormal behaviors in an unsupervised manner. Future work may focus on optimizing the computational overhead of the inference process and exploring more complex multi-agent interactions.

Summary updated

BibTeX
@inproceedings{qin2015abnormal,
  author = {Lei Qin and Yituo Ye and Li Su and Qingming Huang},
  title = {{Abnormal Event Detection Based on Multi-scale Markov Random Field}},
  booktitle = {CCCV},
  year = {2015},
  url = {https://openreview.net/forum?id=o7bQ7q-zn4},
}
Figure