English

Forward Consistency Learning with Gated Context Aggregation for Video Anomaly Detection

Computer Vision and Pattern Recognition 2026-05-26 v1

Abstract

As a crucial element of public security, video anomaly detection (VAD) aims to measure deviations from normal patterns for various events in real-time surveillance systems. However, most existing VAD methods rely on large-scale models to pursue extreme accuracy, limiting their feasibility on resource-limited edge devices. Moreover, mainstream prediction-based VAD detects anomalies using only single-frame future prediction errors, overlooking the richer constraints from longer-term temporal forward information. In this paper, we introduce FoGA, a lightweight VAD model that performs Forward consistency learning with Gated context Aggregation, containing about 2M parameters and tailored for potential edge devices. Specifically, we propose a Unet-based method that performs feature extraction on consecutive frames to generate both immediate and forward predictions. Then, we introduce a gated context aggregation module into the skip connections to dynamically fuse encoder and decoder features at the same spatial scale. Finally, the model is jointly optimized with a novel forward consistency loss, and a hybrid anomaly measurement strategy is adopted to integrate errors from both immediate and forward frames for more accurate detection. Extensive experiments demonstrate the effectiveness of the proposed method, which substantially outperforms state-of-the-art competing methods, running up to 155 FPS. Hence, our FoGA achieves an excellent trade-off between performance and the efficiency metric.

Keywords

Cite

@article{arxiv.2601.18135,
  title  = {Forward Consistency Learning with Gated Context Aggregation for Video Anomaly Detection},
  author = {Jiahao Lyu and Minghua Zhao and Xuewen Huang and Yifei Chen and Shuangli Du and Jing Hu and Cheng Shi and Zhiyong Lv},
  journal= {arXiv preprint arXiv:2601.18135},
  year   = {2026}
}

Comments

It has been submitted to the KBS journal

R2 v1 2026-07-01T09:19:39.606Z