Comprehensive Regularization in a Bi-directional Predictive Network for Video Anomaly Detection

Chengwei Chen, Yuan Xie, Shaohui Lin, Angela Yao, Guannan Jiang, Wei Zhang, Yanyun Qu, Ruizhi Qiao, Bo Ren, Lizhuang Ma

Abstract

Detecting anomalies in video surveillance remains a critical challenge due to the ill-defined nature of "abnormal" events. This paper presents a novel Bi-directional Predictive Network (BPN) that treats Video Anomaly Detection (VAD) as a self-supervised patch-completion task. By enforcing pixel-wise, cross-modal, and temporal consistency across both forward and backward temporal sequences, the BPN learns a robust representation of normal behavior. Experimental results on major benchmarks demonstrate that this comprehensive regularization allows the model to achieve state-of-the-art accuracy in flagging unpredictable events.

Introduction

Video Anomaly Detection (VAD) is often framed as a one-class classification problem because it is impossible to exhaustively collect examples of every potential anomaly. Traditional approaches typically rely on frame reconstruction or future frame prediction, assuming that a model trained only on normal data will fail to accurately reconstruct or predict anomalous events. However, these methods often struggle to capture the intricate relationship between appearance (how objects look) and motion (how they move), leading to high false-alarm rates or missed detections.

Methodology

The proposed Bi-directional Predictive Network (BPN) shifts the focus from whole-frame prediction to patch-level completion. Using a pre-trained object detector, the model identifies regions of interest and erases specific patches. It then attempts to predict the missing content by looking at the surrounding temporal context in both forward and backward directions.

The BPN architecture consists of three main components: (a) Bidirectional Predictive Networks, (b) a Multi-modal Discriminator for association consistency, and (c) a Sequence-wise discriminator for temporal consistency.

To ensure high-fidelity predictions for normal data, the authors implement three levels of "Comprehensive Regularization":

  1. Predictive Consistency (Pixel-level): The model enforces symmetry between forward and backward predictions. For instance, motion predicted in the forward stream must be the mathematical inverse of the backward stream. A Laplacian pyramid loss is utilized to preserve fine-grained textures and edges.
  2. Association Consistency (Cross-modal): A multi-modal discriminator (MD) ensures that predicted appearance (RGB) and motion (optical flow) are logically coupled. This prevents the generation of physically impossible "ghost" objects that move like humans but appear as different entities.
  3. Temporal Consistency (Sequence-level): Sequence-wise discriminators (ASD and MSD) evaluate the smoothness of the predicted patch within the broader video flow, ensuring the prediction is temporally coherent.

Experimental Results

The BPN was evaluated on three standard VAD benchmarks: UCSD Ped2, CUHK Avenue, and ShanghaiTech. The model achieved state-of-the-art Area Under the Curve (AUC) scores, notably reaching 98.3% on UCSD Ped2 and 90.3% on CUHK Avenue.

Prediction error plots for UCSD Ped2 and CUHK Avenue datasets. Sharp spikes in error correspond to anomalous events such as cycling on a pedestrian path or throwing paper.

Ablation studies highlighted the importance of the bi-directional approach, with the backward stream alone contributing up to a 2.4% performance boost. As shown in the prediction error plots, the model exhibits a clear sensitivity to behavioral shifts. When an anomaly occurs—such as a bicycle entering a pedestrian walkway—the prediction error spikes significantly, providing a robust signal for detection.

Discussion and Conclusion

The BPN's success stems from the "power of hindsight." By reconciling the past and the future, the model gains a deeper understanding of normal motion patterns. While the model performs exceptionally well, challenges remain in complex, large-scale environments like ShanghaiTech, where rare but normal events can still trigger false alarms. Furthermore, the system's reliance on object detectors suggests that future iterations could benefit from more robust tracking or detector-free patch selection to handle heavy occlusions. Overall, the BPN framework demonstrates that comprehensive, multi-level regularization is key to bridging the gap between appearance and motion in video anomaly detection.

Summary updated

BibTeX
@inproceedings{chen2022comprehensive,
  author = {Chengwei Chen and Yuan Xie and Shaohui Lin and Angela Yao and Guannan Jiang and Wei Zhang and Yanyun Qu and Ruizhi Qiao and Bo Ren and Lizhuang Ma},
  title = {{Comprehensive Regularization in a Bi-directional Predictive Network for Video Anomaly Detection}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i1.19898},
}
Figure