[Paper Review] Hierarchical Semantic Contrast for Scene-aware Video Anomaly Detection
This paper proposes Hierarchical Semantic Contrast (HSC), a scene-aware video anomaly detection method that leverages pre-trained video parsing models to extract high-level semantic features for foreground objects and background scenes. By integrating scene-level and object-level contrastive learning within an autoencoder framework, HSC enhances feature compactness within semantic classes and separability across them, achieving state-of-the-art performance on both scene-independent and scene-dependent VAD benchmarks, with a 98.1% AUC on Avenue and 91.0% on a self-built scene-dependent dataset using motion augmentation.
Increasing scene-awareness is a key challenge in video anomaly detection (VAD). In this work, we propose a hierarchical semantic contrast (HSC) method to learn a scene-aware VAD model from normal videos. We first incorporate foreground object and background scene features with high-level semantics by taking advantage of pre-trained video parsing models. Then, building upon the autoencoder-based reconstruction framework, we introduce both scene-level and object-level contrastive learning to enforce the encoded latent features to be compact within the same semantic classes while being separable across different classes. This hierarchical semantic contrast strategy helps to deal with the diversity of normal patterns and also increases their discrimination ability. Moreover, for the sake of tackling rare normal activities, we design a skeleton-based motion augmentation to increase samples and refine the model further. Extensive experiments on three public datasets and scene-dependent mixture datasets validate the effectiveness of our proposed method.
Motivation & Objective
- To address the challenge of detecting scene-dependent anomalies in surveillance videos, where normal patterns vary significantly across scenes.
- To improve feature discrimination in normal video patterns by enforcing compactness within semantic classes and separability across them.
- To mitigate the impact of rare normal activities through a skeleton-based motion augmentation strategy that increases training diversity.
- To develop a unified framework that integrates scene-aware feature encoding and object-centric reconstruction for robust anomaly detection.
Proposed method
- The method employs pre-trained video parsing models to extract high-level semantic features for both scene appearance and object motion.
- It introduces a hierarchical contrastive learning strategy: scene-level contrastive loss groups features by scene semantics, and object-level contrastive loss groups features by object categories.
- The autoencoder-based reconstruction framework uses scene-aware encoders and object-centric decoders to reduce background bias and enhance reconstruction fidelity.
- A skeleton-based motion augmentation technique generates synthetic normal and abnormal samples to improve model generalization and enable binary classification head training.
- The model uses weighted retrieval of normal features during inference, where high reconstruction errors indicate anomalies.
- The framework supports both frame-level and object-centric inputs, with performance evaluated using AUC on multiple benchmarks.
Experimental results
Research questions
- RQ1Can hierarchical semantic contrastive learning improve the discrimination of normal patterns in video anomaly detection?
- RQ2How effectively can a scene-aware autoencoder framework detect anomalies that are normal in one scene but abnormal in another?
- RQ3To what extent does skeleton-based motion augmentation improve model robustness to rare normal activities?
- RQ4Does the proposed method generalize well to scene-dependent anomaly detection beyond standard scene-independent benchmarks?
Key findings
- On the Avenue dataset, the proposed HSC method achieves a 98.1% AUC, outperforming all compared state-of-the-art methods.
- On the ShanghaiTech dataset, HSC achieves 92.4% AUC, demonstrating strong performance on complex, diverse scenes.
- On a self-built scene-dependent mixture dataset, HSC with motion augmentation reaches 91.0% AUC on the [10,12] split, significantly outperforming baseline methods.
- The ablation study confirms that motion augmentation (MA⁻,⁺) improves performance by 4.2% on average across scene-dependent splits.
- The method maintains strong performance even when only the scene-appearance stream is used on low-resolution datasets like UCSD Ped2, achieving higher AUC than many frame-level methods.
- The model shows consistent superiority over memory-augmented autoencoders and frame-level methods on scene-dependent datasets, where performance of baselines degrades sharply.
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.