Cerberus: Real-Time Video Anomaly Detection via Cascaded Vision-Language Models
Yue Zheng, Xiufang Shi, Jiming Chen, Yuanchao Shu
TL;DR
This work tackles real-time video anomaly detection in the era of vision-language models, where full-scale VLMs are too slow for streaming analytics. Cerberus addresses this by a two-stage cascaded architecture that first filters frames with a lightweight CLIP-based stage and then applies fine-grained VLM reasoning guided by motion masks and offline normality rules. It introduces offline rule induction, motion mask prompting, and rule-based deviation detection to detect unseen anomalies as deviations from learned norms, with user customization and rule evolution for continual improvement. On four datasets, Cerberus delivers real-time throughput (average around 57.68 fps, up to 72.25 fps in some settings) and substantial speedups (around 151.79x) while maintaining state-of-the-art accuracy (≈97.2% AUC), enabling practical edge deployment for safety-critical video analytics.
Abstract
Video anomaly detection (VAD) has rapidly advanced by recent development of Vision-Language Models (VLMs). While these models offer superior zero-shot detection capabilities, their immense computational cost and unstable visual grounding performance hinder real-time deployment. To overcome these challenges, we introduce Cerberus, a two-stage cascaded system designed for efficient yet accurate real-time VAD. Cerberus learns normal behavioral rules offline, and combines lightweight filtering with fine-grained VLM reasoning during online inference. The performance gains of Cerberus come from two key innovations: motion mask prompting and rule-based deviation detection. The former directs the VLM's attention to regions relevant to motion, while the latter identifies anomalies as deviations from learned norms rather than enumerating possible anomalies. Extensive evaluations on four datasets show that Cerberus on average achieves 57.68 fps on an NVIDIA L40S GPU, a 151.79$\times$ speedup, and 97.2\% accuracy comparable to the state-of-the-art VLM-based VAD methods, establishing it as a practical solution for real-time video analytics.
