CRCL: Causal Representation Consistency Learning for Anomaly Detection in Surveillance Videos
Yang Liu, Hongjin Wang, Zepu Wang, Xiaoguang Zhu, Jing Liu, Peng Sun, Rui Tang, Jianwei Du, Victor C. M. Leung, Liang Song
TL;DR
Video anomaly detection often suffers from scene bias and data shifts when trained only on normal footage. CRCL introduces a causality-inspired framework that combines Scene-debiasing Learning (SdL) with Causality-inspired Normality Learning (CiNL) to isolate normality-causing factors and enforce representation consistency. Grounded in a Structural Causal Model for scene robustness and Total Direct Effect (TDE) debiasing, CRCL uses a memory-based prototype store, shared/private feature decomposition, and correlation-based constraints to learn causal representations that remain stable under scene changes. Empirically, CRCL achieves state-of-the-art or competitive results across single- and multi-scene benchmarks (Ped2, Avenue, ShanghaiTech, NWPU Campus), demonstrates strong robustness to limited training data, and delivers real-time inference, highlighting its practical applicability for surveillance systems. The work provides a principled approach to disentangling scene bias from normality, enabling reliable open-set anomaly detection in diverse environments via causal representation consistency.
Abstract
Video Anomaly Detection (VAD) remains a fundamental yet formidable task in the video understanding community, with promising applications in areas such as information forensics and public safety protection. Due to the rarity and diversity of anomalies, existing methods only use easily collected regular events to model the inherent normality of normal spatial-temporal patterns in an unsupervised manner. Previous studies have shown that existing unsupervised VAD models are incapable of label-independent data offsets (e.g., scene changes) in real-world scenarios and may fail to respond to light anomalies due to the overgeneralization of deep neural networks. Inspired by causality learning, we argue that there exist causal factors that can adequately generalize the prototypical patterns of regular events and present significant deviations when anomalous instances occur. In this regard, we propose Causal Representation Consistency Learning (CRCL) to implicitly mine potential scene-robust causal variable in unsupervised video normality learning. Specifically, building on the structural causal models, we propose scene-debiasing learning and causality-inspired normality learning to strip away entangled scene bias in deep representations and learn causal video normality, respectively. Extensive experiments on benchmarks validate the superiority of our method over conventional deep representation learning. Moreover, ablation studies and extension validation show that the CRCL can cope with label-independent biases in multi-scene settings and maintain stable performance with only limited training data available.
