Abstract
Video Anomaly Detection (VAD) is a critical task in surveillance, typically framed as an unsupervised out-of-distribution problem. However, conventional deep representation learning methods often suffer from scene bias and overgeneralization, leading to false alarms in new environments or missed detections of complex anomalies. This paper introduces Causal Representation Consistency Learning (CRCL), a framework that shifts VAD from statistical pattern matching to a causality-driven approach. By explicitly modeling and removing scene-specific biases and leveraging the Sparse Mechanism Shift (SMS) hypothesis, CRCL achieves state-of-the-art performance and demonstrates exceptional stability even with significantly reduced training data.
Introduction
Standard Video Anomaly Detection (VAD) models are typically trained on "normal" video data to identify "abnormal" events as deviations from learned patterns. Despite their success, these models face two primary challenges:
- Scene Bias: Models frequently entangle foreground actions with background scene features. A change in lighting or a new environment can trigger false positives because the statistical pixel distribution shifts, even if the behavior is normal.
- Overgeneralization: The inherent flexibility of deep neural networks allows them to reconstruct anomalous events using patterns learned from normal data, resulting in "missed detections."
To address these, CRCL proposes moving beyond correlation to causality—identifying the underlying factors that cause a video to be classified as "normal."
Methodology
The CRCL framework is built upon Structural Causal Models (SCM) and consists of two primary pillars: Scene-debiasing Learning (SdL) and Causality-inspired Normality Learning (CiNL).
Scene-debiasing Learning (SdL)
SdL utilizes a dedicated scene encoder and classifiers to isolate background-specific features. By applying the Total Direct Effect (TDE) causal inference technique, the model "subtracts" these scene biases from the overall video representation. This process isolates "normality-endogenous" features, which represent the core actions independent of the environment.
Causality-inspired Normality Learning (CiNL)
CiNL mines the causal variables defining normality through several sub-components:
- Memory Network: Employs a novel filtering strategy to reconstruct features using only the most relevant "prototypes," preventing overgeneralization.
- Prototype Decomposer: Separates features into "shared" semantics (common across normal events) and "private" semantics (unique to specific instances).
- Consistency Learning: Based on the Sparse Mechanism Shift (SMS) hypothesis, the model assumes that normal events cause only minor, local changes in causal consistency. In contrast, anomalies trigger a global collapse or significant shift in these learned causal relationships.
Experimental Evaluation
CRCL was evaluated on four major benchmarks: UCSD Ped2, CUHK Avenue, ShanghaiTech (a multi-scene dataset with 13 backgrounds), and NWPU Campus (the largest VAD benchmark with 43 scenarios).
Key Results
- State-of-the-Art Accuracy: CRCL achieved 99.1% AUC on UCSD Ped2 and 92.9% on CUHK Avenue, outperforming dozens of previous deep learning methods.
- Robustness to Scene Shifts: On the multi-scene ShanghaiTech dataset, the model reached 81.7% AUC, significantly outperforming models that struggle with scene entanglement.
- Data Efficiency: In a case study of limited training data, CRCL's performance dropped by only 0.6% when training data was reduced by 80%, demonstrating its ability to learn robust causal factors rather than fragile correlations.
- Efficiency: The model maintains real-time performance, running at 27–40 FPS on standard hardware (NVIDIA 3090 GPU).
Conclusion
CRCL represents a significant step toward robust, scene-invariant video anomaly detection by integrating causal inference into deep learning. By shifting the focus from "what pixels look like" to "what causes normality," the framework provides a more stable foundation for real-world surveillance. Future work may explore multi-modal integration (e.g., audio or infrared) to further enhance system generalization.
Summary updated