Introduction
Video Anomaly Detection (VAD) is a critical component of modern surveillance systems, aimed at identifying rare and potentially dangerous events in real-time. Despite significant progress, current models often struggle with two primary limitations: a heavy reliance on spatial features at the expense of temporal dynamics, and the presence of redundant features that can obscure subtle anomalies. This paper introduces MTR-SCA, a novel framework presented at IJCNN 2024, which addresses these challenges through multi-scale temporal reasoning and a refined attention mechanism.
The MTR-SCA Architecture
The proposed MTR-SCA model is built upon an unsupervised autoencoder-based reconstruction framework. The core principle is to train the network to reconstruct "normal" video sequences with high fidelity. During inference, anomalies—which the model has not encountered during training—result in significantly higher reconstruction errors. These errors are quantified using Peak Signal-to-Noise Ratio (PSNR) to flag potential threats.
The architecture integrates a Deep Convolutional Neural Network (DCNN) for initial feature extraction, followed by two parallel branches: a temporal branch for motion analysis and a spatial branch for scene context. These features are aggregated and passed through a series of upsampling layers enhanced by Segmented Channel Attention (SCA). Unlike standard global attention, SCA divides feature channels into segments, allowing for more granular and effective feature selection. To ensure high-quality reconstruction, the model utilizes a "loss cocktail" comprising Intensity, Gradient, MS-SSIM, and L2 losses, which collectively preserve pixel values, edges, and structural integrity.
Multi-Scale Temporal Reasoning
A key innovation of this work is the Multi-Scale Temporal Relations (MTR) module. Traditional models often analyze only consecutive frames, failing to capture the broader context of motion. The MTR module samples frames at varying intervals to understand both immediate actions and longer-term behavioral patterns.
As shown in the figure above, the module processes different frame combinations ($R_1, R_2$) through fully connected layers. This "multi-scale" approach allows the network to distinguish between normal walking and anomalous sprinting or illegal vehicle maneuvers by explicitly modeling temporal relationships across different time horizons.
Experimental Evaluation
The MTR-SCA model was rigorously tested on three benchmark datasets: UCSD Ped2, CUHK Avenue, and ShanghaiTech. The model achieved state-of-the-art performance on the Ped2 dataset with an Area Under the Curve (AUC) of 97.8%.
| Dataset | AUC (%) |
|---|---|
| UCSD Ped2 | 97.8 |
| CUHK Avenue | 86.8 |
| ShanghaiTech | 74.1 |
Ablation studies confirmed that both the MTR and SCA modules contribute significantly to the model's accuracy. While the model excels at identifying dynamic anomalies, performance on the complex ShanghaiTech dataset indicates room for improvement in handling cluttered backgrounds and challenging lighting conditions.
Conclusion
MTR-SCA represents a significant step forward in VAD by prioritizing temporal dynamics and fine-grained feature attention. By effectively modeling motion at multiple scales and reducing feature redundancy, the framework provides a robust solution for identifying unusual activities in diverse surveillance environments. Future work will focus on enhancing scene-understanding capabilities to reduce false positives in highly complex environments.
Summary updated