TL;DR
This paper introduces a novel framework for Weakly Supervised Video Anomaly Detection (WSVAD) that leverages cross-batch clustering guidance. By using a batch-level clustering loss and a "memory" strategy that carries clustering information across training iterations, the model significantly improves its ability to distinguish between normal and abnormal video segments, achieving state-of-the-art results on major benchmarks.
What Problem Does This Paper Address?
Video Anomaly Detection (VAD) is the task of automatically identifying unusual events (like fights, accidents, or thefts) in surveillance footage. In a weakly supervised setting (WSVAD), we only have video-level labels: we know that an anomaly happens somewhere in a 10-minute clip, but we don't know exactly when.
The authors identify two major gaps in existing WSVAD methods:
- Weak Discriminative Power: Standard Multiple Instance Learning (MIL) losses help separate normal and abnormal videos, but they aren't precise enough to cleanly separate individual normal and abnormal segments within those videos.
- Data Imbalance: Mini-batch training often suffers from imbalance. Even in an "abnormal" video, the vast majority of frames are usually normal. Ignoring this distribution during training leads to noisy models.
Methods
The proposed method, built on a Graph Convolutional Network (GCN) backbone with I3D features, introduces three key components:
1. Batch Clustering-based Loss ($L_{bc}$)
Instead of looking at videos in isolation, the model performs K-means clustering on an entire batch of video segments.
- For Normal Videos: The loss encourages the two resulting clusters to be as close as possible (since everything should be "normal").
- For Abnormal Videos: The loss pushes the two cluster centers apart, forcing the model to learn the distinct features that separate normal segments from anomalous ones.
2. Cross-Batch Learning Strategy (CBL)
K-means is sensitive to initial cluster centers. To stabilize this, the authors store clustering results (centers) from previous batches and epochs. These stored centers act as a "prior" or guidance for the current batch, helping the model maintain a consistent understanding of what "normal" looks like even when a specific mini-batch is highly unbalanced.
3. Anomaly Score Generation (BCG)
The model uses the unsupervised clusters to generate "pseudo-labels" for video segments. If a segment falls into a cluster identified as "abnormal" and the backbone network also gives it a high anomaly score, the system applies an expansion factor ($\alpha$) to boost that score. This refinement process helps the model "rectify" its predictions using the knowledge gained from clustering.
Datasets
The authors evaluated their approach on two standard large-scale benchmarks:
- UCF-Crime: A massive dataset containing 128 hours of footage across 13 real-world anomaly categories (e.g., Arson, Burglary, Explosion).
- ShanghaiTech: A medium-scale dataset focused on campus surveillance, known for its high-resolution footage and complex scenes.
Key Insights and Ideas
- The Power of the Batch: Clustering across a batch is more robust than clustering per video. It provides a larger statistical sample, reducing the impact of noise in any single video clip.
- Bridging Unsupervised and Weakly Supervised Learning: The core "aha moment" is using unsupervised clustering as a secondary teacher. While the video-level labels provide the primary signal, the clustering provides the fine-grained "hints" about segment-level similarity that the labels lack.
- Temporal Context Matters: By using a GCN-1 layer for clustering rather than raw features, the model clusters segments based on features that already incorporate temporal relationships with neighboring segments.
Key Results
The method achieved state-of-the-art (SOTA) performance on both datasets, measured by the Area Under the Curve (AUC):
- UCF-Crime: Achieved 85.87% AUC, outperforming previous leading methods like MSLNet (85.30%) and significantly beating earlier GCN-based approaches.
- ShanghaiTech: Achieved 96.45% AUC, a notable improvement over previous clustering-based and MIL-based methods.
- Ablation Success: Removing any single component (the clustering loss, the cross-batch strategy, or the score refinement) led to a drop in performance, proving that the synergy between these modules is vital.
Limitations and Future Work
While the paper demonstrates strong results, a few areas remain for exploration:
- Hyperparameter Sensitivity: The "expansion factor" ($\alpha$) and the number of segments ($T$) require manual tuning. The authors found that performance peaks at $\alpha=1.3$ but drops if the boost is too aggressive.
- Computational Overhead: While not discussed in detail, maintaining and updating cross-batch cluster centers adds a layer of complexity to the training pipeline.
- Binary Assumption: The clustering assumes two main groups (normal vs. abnormal). In highly complex scenes with multiple types of "normal" behavior, a more sophisticated clustering approach might be necessary.
Summary updated