arXiv Computer Vision
Oct 22

MS2CAST: A Video Anomaly Detection Framework via Multi-Scale Spatial Cross-Attention and Efficient Spatiotemporal Networks

MS2CAST is a semi‑supervised video anomaly detection framework that fuses multi‑scale cross‑attention between a vision transformer (MViTv2‑S) and a CNN (ConvNeXt‑T) for spatial encoding, and replaces optical flow with two interchangeable spatiotemporal modules—SwinLSTM and VMRNN—operating in latent space. The training objective combines L1 loss, Gradient Difference Loss, and Multi‑Scale SSIM to enforce pixel‑level accuracy, sharpness, and structural fidelity. Experiments on UCSD Ped2, CUHK Avenue, and ShanghaiTech show competitive ROC‑AUC scores while using less than 1 GB of GPU memory.

By Ali Safaei, Mohammad Kazemi