[Paper Review] Are pre-trained CNNs good feature extractors for anomaly detection in surveillance videos?
This paper evaluates pre-trained CNNs (VGG-16, ResNet-50, Xception, DenseNet-121) as feature extractors for anomaly detection in surveillance videos using only frame appearance, without motion modeling. It finds that proper feature normalization is critical, and with optimal normalization, the approach achieves state-of-the-art competitive results on the Ped2 dataset, demonstrating that off-the-shelf CNN features can serve as a strong baseline for appearance-based anomaly detection.
Recently, several techniques have been explored to detect unusual behaviour in surveillance videos. Nevertheless, few studies leverage features from pre-trained CNNs and none of then present a comparison of features generate by different models. Motivated by this gap, we compare features extracted by four state-of-the-art image classification networks as a way of describing patches from security video frames. We carry out experiments on the Ped1 and Ped2 datasets and analyze the usage of different feature normalization techniques. Our results indicate that choosing the appropriate normalization is crucial to improve the anomaly detection performance when working with CNN features. Also, in the Ped2 dataset our approach was able to obtain results comparable to the ones of several state-of-the-art methods. Lastly, as our method only considers the appearance of each frame, we believe that it can be combined with approaches that focus on motion patterns to further improve performance.
Motivation & Objective
- To investigate whether pre-trained CNNs can serve as effective feature extractors for anomaly detection in surveillance videos.
- To compare the performance of four state-of-the-art image classification networks (VGG-16, ResNet-50, Xception, DenseNet-121) on video anomaly detection.
- To analyze the impact of different feature normalization techniques (0-1, z-score, L1, L2) on detection performance.
- To establish a strong appearance-only baseline for future methods that may combine with motion-based approaches.
- To provide empirical guidelines for selecting pre-trained models and normalization strategies in video anomaly detection.
Proposed method
- Extracted 32×32 image patches from each frame of surveillance videos (UCSD Ped1 and Ped2 datasets) with a 16-pixel stride.
- Used the convolutional layers of pre-trained ImageNet models (VGG-16, ResNet-50, Xception, DenseNet-121) to extract deep features from each patch.
- Applied four normalization techniques (0-1, z-score, L1, L2) to the extracted features to improve downstream anomaly detection.
- Trained a one-class classifier (One-Class SVM) on the normalized features to detect anomalies based on deviation from normal patterns.
- Evaluated performance using Equal Error Rate (EER) and Area Under the Curve (AUC) on frame-level anomaly detection.
- Selected the best-performing model and normalization combination for comparison with state-of-the-art methods.
Experimental results
Research questions
- RQ1Can pre-trained CNNs serve as effective feature extractors for anomaly detection in surveillance videos without fine-tuning?
- RQ2How do different pre-trained CNN architectures (VGG-16, ResNet-50, Xception, DenseNet-121) compare in performance for appearance-based anomaly detection?
- RQ3What is the impact of different feature normalization techniques (0-1, z-score, L1, L2) on anomaly detection performance?
- RQ4Can appearance-only features from pre-trained networks achieve competitive results compared to state-of-the-art methods?
- RQ5Is there a significant performance gap between datasets with varying visual characteristics (e.g., perspective changes in Ped1 vs. consistent perspective in Ped2)?
Key findings
- Feature normalization has a critical impact on performance, with z-score normalization yielding the best results for ResNet-50 and Xception, and 0-1 normalization for DenseNet-121.
- On the Ped2 dataset, the best-performing configuration (DenseNet-121 with 0-1 normalization) achieved an AUC of 88.93% and EER of 19.55%, comparable to state-of-the-art methods.
- On the Ped1 dataset, the best result was AUC 64.06% and EER 40.40%, which is competitive with classic methods but not with the best SOTA, likely due to perspective changes.
- Increasing the number of features from 50 to 100 generally improved performance, though at the cost of increased inference time.
- The method achieves strong performance using only appearance features, suggesting it can serve as a strong baseline when combined with motion-based methods.
- The results demonstrate that off-the-shelf CNN features, when properly normalized, can be highly effective for anomaly detection in surveillance videos without task-specific fine-tuning.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.