Abstract
Anomaly detection in surveillance videos is challenging and important for ensuring public security. Different from pixel-based anomaly detection methods, pose-based methods utilize highly-structured skeleton data, which decreases the computational burden and also avoids the negative impact of background noise. However, unlike pixel-based methods, which could directly exploit explicit motion features such as optical flow, pose-based methods suffer from the lack of alternative dynamic representation. In this paper, a novel Motion Embedder (ME) is proposed to provide a pose motion representation from the probability perspective. Furthermore, a novel task-specific Spatial-Temporal Transformer (STT) is deployed for self-supervised pose sequence reconstruction. These two modules are then integrated into a unified framework for pose regularity learning, which is referred to as Motion Prior Regularity Learner (MoPRL). MoPRL achieves the state-of-the-art performance by an average improvement of 4.7% AUC on several challenging datasets. Extensive experiments validate the versatility of each proposed module.
Introduction
Video Anomaly Detection (VAD) involves identifying "abnormal" events within vast amounts of surveillance footage. Traditional pixel-based methods analyze entire images, effectively capturing motion through optical flow but suffering from high computational costs and sensitivity to background noise. In contrast, pose-based methods analyze 2D skeleton data, offering a cleaner and faster alternative. However, these methods often lack a sophisticated representation of motion, relying on raw coordinate changes that may fail to capture subtle anomalies.
Methodology: The MoPRL Framework
The proposed Motion Prior Regularity Learner (MoPRL) addresses the limitations of skeletal motion representation through two primary components: the Motion Embedder and the Spatial-Temporal Transformer.
Motion Embedder (ME)
The Motion Embedder maps skeletal movement into the probability domain. By analyzing training data, it was observed that normal human movement typically follows a Rayleigh distribution. The ME leverages this "Motion Prior" to scale pose data: rare, high-velocity movements are amplified, while common movements are suppressed. This statistical scaling acts as a magnifying glass for potential anomalies.
Spatial-Temporal Transformer (STT)
To learn the patterns of "normal" behavior, a task-specific Transformer is employed. Unlike standard Transformers that use joint attention, the STT utilizes a divided attention mechanism. This approach processes spatial relationships (inter-joint) and temporal relationships (inter-frame) separately. This separation reduces computational complexity from $O((N \times T)^2)$ to $O(N^2 + T^2)$ and improves training efficiency.
The framework is trained in a self-supervised manner to reconstruct normal pose sequences. During testing, anomalies result in high reconstruction errors, which are translated into anomaly scores.
Experimental Evaluation
MoPRL was evaluated on three benchmark datasets: ShanghaiTech (SHT), ShanghaiTech-HR, and the Corridor dataset.
Key Results
MoPRL achieved state-of-the-art performance, notably reaching an 81.26% AUC on ShanghaiTech, a significant improvement over the previous benchmark of 76.03%. The model is also highly efficient, operating at 108 to 158 frames per second on a single NVIDIA RTX 3090, making it suitable for real-time applications. Ablation studies confirmed that the Motion Embedder alone provides a substantial performance boost (8.6% over baseline).
Discussion and Limitations
While MoPRL sets a new standard for pose-based VAD, it remains dependent on the quality of the underlying pose estimator. Occlusions or poor lighting can degrade performance. Additionally, as the model focuses exclusively on skeletons, it is "blind" to environmental context or objects. Future work may involve integrating lightweight environmental features and considering the directionality of movement to further enhance detection capabilities.
Summary updated