Customized Anomalous Video Generation for Incremental Learning in Weakly-Supervised Video Anomaly Detection
Abstract
The scarcity and privacy concerns of anomalous videos in real-world scenarios jointly lead to severe shortages in training data, forming a critical bottleneck for the advancement of weakly-supervised video anomaly detection (WSVAD). Recent studies utilize video generation techniques to synthesize anomalous videos, thereby mitigating data scarcity. However, these generated videos often have significant discrepancies from the real videos, creating a pressing need to enhance the quality and controllability of the generated videos. To address these limitations, we propose a novel Customized Anomalous Video Generation Engine (CAVGE). CAVGE synthesizes realistic anomalous videos through a multi-stage pipeline: (1) LLM-driven anomaly script generation decomposes abnormal behaviors into structured scenes; (2) Text-guided keyframe synthesis as a critical visual prompt; (3) Generating anomalous videos guided by scripts and keyframes. This method not only supports the incorporation of multi-stage human guidance, but also simultaneously outputs corresponding multi-granularity annotations and detailed text descriptions for the generated videos. Furthermore, we attempt to leverage the generated videos to endow the model with the capability of effectively identifying novel anomalies, thereby breaking through the generalization limitations of previous methods. Thus, we propose a Vision-Language Video Anomaly Detection framework with Incremental Learning (VLVAD-IL). This framework integrates multimodal vision-language representations with incremental learning mechanisms, enabling continuous assimilation of new anomalous knowledge, while mitigating catastrophic forgetting of previously acquired knowledge. Extensive experiments conducted on widely used benchmarks conclusively validate the effectiveness of our proposed generation engine and framework. The source code is publicly available at https://github.com/WeiliangHuang-UM-connect/Customized-Anomalous-Video-Generation-for-Incremental-Learning-in-WSVAD.