Introduction
Weakly Supervised Video Anomaly Detection (WS-VAD) is a critical task in computer vision, aimed at identifying temporal boundaries of anomalous events in long, untrimmed videos using only video-level labels. While fully supervised methods provide high accuracy, the cost of frame-level annotation is prohibitive. However, existing WS-VAD models often suffer from "temporal fragmentation"—identifying only the most salient snippets of an event (e.g., the flash of an explosion) rather than its full duration. This paper introduces LEC-VAD, a framework designed to enforce event completeness through vision-language alignment and temporal smoothing.
Methodology
LEC-VAD addresses the limitations of video-level supervision through three primary architectural innovations:
1. Dual-Structure Framework
The model employs a dual-branch architecture to decouple anomaly detection. The first branch is a vision-only (category-agnostic) module that identifies general deviations from normalcy. The second is a cross-modal (category-aware) module that aligns visual features with specific anomaly categories (e.g., "burglary" or "fighting"). This separation ensures that subtle anomaly cues are not overshadowed by dominant visual features.
2. Memory Bank-based Prototype Learning
Standard vision-language models like CLIP often use static, simplistic text prompts. LEC-VAD enhances this by utilizing an external Memory Bank to store visual "prototypes." These prototypes are refined representations that bridge the gap between abstract text descriptions and actual visual context. By dynamically updating these prototypes during training, the model develops a more nuanced understanding of what specific anomalies look like in diverse scenarios.
3. GMP-based Local Consistency Learning
To solve the fragmentation problem, the authors introduce a Gaussian Mixture Prior (GMP) for local consistency. Based on the assumption that anomalies are temporally continuous, the GMP forces the model to predict smooth, interval-based scores rather than isolated spikes. By fitting learnable Gaussian masks to the video timeline, the model is regularized to treat anomalies as cohesive events with distinct beginnings, middles, and ends.
Experimental Evaluation
The performance of LEC-VAD was evaluated on two benchmark datasets: UCF-Crime (1,900 videos, 13 categories) and XD-Violence (4,754 videos, 6 categories).
Quantitative Results
LEC-VAD achieved state-of-the-art (SOTA) performance, particularly in fine-grained detection metrics:
- XD-Violence: The model achieved an Average mAP of 35.14%, representing a 28.44% improvement over the previous SOTA, ReFLIP-VAD.
- UCF-Crime: The model reached an Average mAP of 13.56% (a 40.96% improvement) and a coarse-grained AUC of 89.97%.
Qualitative Analysis
Visualizations of confidence scores demonstrate that LEC-VAD produces continuous detection blocks that align closely with human-annotated ground truth, whereas previous models yielded jagged, fragmented predictions. Furthermore, t-SNE visualizations indicate that the learned representations form tighter, more discriminative clusters for different anomaly types compared to standard CLIP-based approaches.
Discussion and Limitations
Despite its success, LEC-VAD introduces certain complexities. The framework relies on several hyper-parameters (e.g., $\beta, \lambda, \gamma, m$) that require careful tuning to balance the various loss functions. Additionally, the dual-branch structure and memory bank increase computational overhead compared to simpler Multiple Instance Learning (MIL) methods. Future research could explore the integration of audio features—available in datasets like XD-Violence—to further enhance detection in visually ambiguous environments.
Conclusion
LEC-VAD shifts the focus of WS-VAD from simple frame-wise classification to event-level completeness. By combining cross-modal alignment with temporal consistency priors, the framework provides a more robust and interpretable solution for real-world surveillance and content moderation.
Summary updated