Abstract
Video Anomaly Detection (VAD) is a critical task in surveillance, yet traditional models often struggle with over-generalization—where they reconstruct anomalies too accurately—and poor adaptation to new environments. This paper introduces the Meta Prototype Unit (MPU), a novel framework that combines a real-time Dynamic Prototype Unit (DPU) with meta-learning. This approach allows models to learn a universal representation of "normalcy" and rapidly adapt to unseen scenes using only a few frames. The resulting system achieves state-of-the-art accuracy across multiple benchmarks while operating at an impressive 166.8 FPS.
Addressing the Challenges of Video Anomaly Detection
Traditional VAD systems typically utilize Auto-Encoders (AEs) trained to reconstruct normal video frames. The underlying assumption is that high reconstruction error indicates an anomaly. However, modern neural networks are often too efficient, leading to the Over-Generalization Trap, where even anomalous frames are reconstructed with high fidelity. Furthermore, the Scene Adaptation Gap remains a hurdle; a model trained on one location (e.g., a park) cannot easily distinguish normal from abnormal behavior in a different context (e.g., a hospital) without extensive retraining.
Methodology: Dynamic Prototypes and Meta-Learning
The Dynamic Prototype Unit (DPU)
To combat over-generalization, the authors propose the DPU. Instead of relying on a static, pre-defined memory bank of normal patterns, the DPU generates prototypes dynamically for each specific moment. It uses an attention mechanism to assign normalcy weights to encoded features, aggregates them into a small pool of prototypes, and then reconstructs a "cleaned" version of the features. If the input does not align with these dynamic prototypes, the reconstruction error increases, effectively flagging the anomaly.
Meta-Learning (MPU)
To solve the scene adaptation problem, the DPU is integrated into a meta-learning framework. By training across diverse scenes, the model identifies a "universal starting point" for its parameters. During inference in a new environment, the model performs few-shot learning, updating its internal prototypes using just a few frames of the new scene. This allows for rapid specialization without the need for massive new datasets.
Experimental Results
The model was evaluated on four major VAD benchmarks: UCSD Ped1 & Ped2, CUHK Avenue, and ShanghaiTech. The results demonstrate that the inclusion of the DPU provides a significant performance boost over standard AE baselines.
Key Findings
- Accuracy: The system achieved a state-of-the-art 89.5% AUC on the CUHK Avenue dataset and 73.8% on ShanghaiTech. The meta-learning adaptation alone provided a 4–5% accuracy boost on new datasets.
- Efficiency and Speed: A standout feature of this work is its real-time performance. While previous meta-learning VAD methods were computationally heavy (some running as slow as 2.1 FPS), this model reaches 166.8 FPS on a single GPU.
- Minimal Overhead: The DPU adds only 1.28K extra parameters, making it highly efficient compared to standard deep learning backbones.
Conclusion and Future Work
The Meta Prototype Network effectively bridges the gap between high-accuracy anomaly detection and real-time deployment needs. While highly effective for appearance and simple motion anomalies, future research will focus on addressing complex logical anomalies and extending the temporal window to capture long-term anomalous dynamics.
Summary updated