TL;DR
This paper introduces CLAWS Net+, a novel weakly supervised approach for detecting anomalous events in surveillance videos. It tackles the challenge of limited and noisy labels by employing a clustering-based loss to learn discriminative features and a normalcy suppression mechanism to focus on unusual activities, achieving state-of-the-art results on benchmark datasets.
What Problem Does This Paper Address?
Detecting anomalous events in surveillance videos is crucial for security and public safety, but it's a challenging task. Traditional methods often rely on one-class classification, learning only normal patterns. However, this can lead to high false alarm rates when encountering unseen normal activities. Weakly supervised learning offers a solution by using video-level labels (anomalous or normal) instead of precise frame-level annotations, significantly reducing annotation effort. However, existing weakly supervised methods struggle with noisy labels (anomalous videos often contain normal segments) and data correlation issues arising from training on consecutive video segments. This paper aims to address these limitations by developing a more robust and accurate weakly supervised anomaly detection system.
Methods
The CLAWS Net+ framework introduces several key innovations:
- Random Batch Selection (RBS): To combat data correlation, the system divides videos into segments, extracts features, and then forms batches. Crucially, these batches are randomly selected from the entire dataset for each training iteration, breaking the temporal correlation between consecutive batches while retaining temporal order within a batch.
- Normalcy Suppression Block (NSB): Instead of traditional attention mechanisms that highlight important features, CLAWS Net+ employs a "normalcy suppression" approach. This block learns to minimize the anomaly scores of normal segments within a video, effectively highlighting anomalous regions. This is motivated by the abundance of noise-free normal data, making it easier to learn what not to focus on.
- Clustering Loss Block (CLB): To improve feature representation and handle noisy labels, a clustering-based loss is introduced. This loss encourages the network to produce two distinct clusters of features: one for normal segments and one for anomalous segments. For normal videos, it pushes these clusters closer together, while for anomalous videos, it pushes them further apart. It also enforces cluster compactness.
The overall framework combines these components with a backbone network (BNB) and trains using a combination of regression loss, temporal smoothness loss, sparsity loss, and the proposed clustering loss.
Datasets
The proposed CLAWS Net+ framework was evaluated on three widely used benchmark datasets for anomaly detection:
- UCF-Crime: A large-scale dataset with 13 classes of real-world anomalous events, totaling 128 hours of video.
- ShanghaiTech: A dataset featuring staged anomalous events captured in a university campus, with varying lighting and viewing angles.
- UCSD Ped2: A well-studied dataset focusing on pedestrian anomalies in surveillance videos.
The paper notes that for ShanghaiTech and UCSD Ped2, they followed specific data splitting protocols from prior work to ensure fair comparisons.
Key Insights and Ideas
- Suppressing Normalcy is More Effective than Highlighting Anomaly: The paper's core insight is that with abundant normal data, learning to suppress normal patterns is more robust and effective than trying to directly learn and highlight rare anomalous events.
- Random Batching is Crucial for Performance: Breaking the temporal correlation between batches significantly improves the backbone network's performance, highlighting the issue of data redundancy in standard training.
- Clustering as a Weak Supervision Signal: The clustering loss effectively leverages the video-level labels to guide the network towards learning discriminative representations, even when anomalous videos contain normal segments.
- Component-wise Improvements: The paper demonstrates that each proposed component (RBS, NSB, CLB) contributes meaningfully to the overall performance, with the NSB showing a particularly significant impact.
Key Results
CLAWS Net+ achieved state-of-the-art performance on all three datasets:
- UCF-Crime: Achieved a frame-level AUC of 84.16% with 3DResNext features.
- ShanghaiTech: Achieved a frame-level AUC of 91.46% with 3DResNext features, outperforming previous methods by a significant margin.
- UCSD Ped2: Achieved a frame-level AUC of 95.79% with 3DResNext features.
Component-wise analysis showed that the addition of RBS improved performance, and the NSB further boosted it, demonstrating the effectiveness of each module. Visualizations confirmed that the NSB successfully suppressed normal regions and highlighted anomalous ones.
Limitations and Future Work
- False Positives in Aftermath: The paper acknowledges that in cases where the anomaly's aftermath persists beyond the annotated duration (e.g., the lingering effects of an explosion), the system might produce false positives. This is attributed to dataset limitations where only the event duration is labeled.
- Hyperparameter Sensitivity: While the paper shows that the approach is generally robust to hyperparameter variations, some parameters (like $\beta$ for confidence threshold) do have a noticeable impact on performance.
- Future Work: The authors suggest exploring CLAWS Net+ for other computer vision tasks like video object detection and action localization. They also propose investigating unsupervised clustering for weakly-supervised training in other domains, such as images and tabular data.
Summary updated