Predictive Video Anomaly Detection using Transformers and Self-Supervised Training

Video anomaly detection is a critical task in automated surveillance, with wide-ranging applications in security and public safety. The primary challenge lies in creating models that can learn the complex patterns of normal activity to effectively identify deviations. This study is aimed at developing a robust and efficient deep learning model for video anomaly detection by leveraging the predictive power of transformer architectures for understanding motion and context. The solution proposed is a predictive model that anticipates future frames in a video sequence. The architecture comprises a pre-trained Video Masked Autoencoder (VideoMAE) like backbone that extracts high-level spatio-temporal features from a sequence of input frames. These features are then processed by a novel Convolutional Neural Network (CNN) based decoder, termed the Enhanced CNN Frame Reconstructor. This decoder, which includes residual blocks and a spatial attention mechanism, reconstructs the subsequent frame. Anomalies are detected by calculating the pixel-wise reconstruction error between the predicted frame and the ground-truth frame. The model was evaluated on the UCSD Ped2 benchmark dataset. On the UCSD dataset, competitive accuracy was achieved by the presented approach, reaching up to 100\% on several test sequences and outperforming results from comparative studies on others, all while requiring significantly less training time (31.29 minutes vs. 168.34 minutes reported in a base study) and no data augmentation. The fusion of a transformer-based feature extractor and a dedicated CNN reconstruction network proves to be a highly effective strategy for video anomaly detection. The proposed model not only achieves high accuracy but also demonstrates superior computational efficiency, making it a practical solution for real-world applications.

Authors

Institutions

Publication Details

Journal
Research Square
Published
2026-11-24
DOI
https://doi.org/10.21203/rs.3.rs-8426897/v1
Primary Topic
Anomaly Detection Techniques and Applications
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Predictive Video Anomaly Detection using Transformers and Self-Supervised Training

Brindha G R, Kumaravelu Narasimhan, Brindha G R, Narasimhan K et al.
3 links
Research Square
Anomaly Detection Techniques and Applications
preprint

Predictive Video Anomaly Detection using Transformers and Self-Supervised Training

Brindha G R, Kumaravelu Narasimhan, Brindha G R, Narasimhan K, Akilan K, Murugantham C
preprint en

Abstract

Video anomaly detection is a critical task in automated surveillance, with wide-ranging applications in security and public safety. The primary challenge lies in creating models that can learn the complex patterns of normal activity to effectively identify deviations. This study is aimed at developing a robust and efficient deep learning model for video anomaly detection by leveraging the predictive power of transformer architectures for understanding motion and context. The solution proposed is a predictive model that anticipates future frames in a video sequence. The architecture comprises a pre-trained Video Masked Autoencoder (VideoMAE) like backbone that extracts high-level spatio-temporal features from a sequence of input frames. These features are then processed by a novel Convolutional Neural Network (CNN) based decoder, termed the Enhanced CNN Frame Reconstructor. This decoder, which includes residual blocks and a spatial attention mechanism, reconstructs the subsequent frame. Anomalies are detected by calculating the pixel-wise reconstruction error between the predicted frame and the ground-truth frame. The model was evaluated on the UCSD Ped2 benchmark dataset. On the UCSD dataset, competitive accuracy was achieved by the presented approach, reaching up to 100\% on several test sequences and outperforming results from comparative studies on others, all while requiring significantly less training time (31.29 minutes vs. 168.34 minutes reported in a base study) and no data augmentation. The fusion of a transformer-based feature extractor and a dedicated CNN reconstruction network proves to be a highly effective strategy for video anomaly detection. The proposed model not only achieves high accuracy but also demonstrates superior computational efficiency, making it a practical solution for real-world applications.

Research Square
SASTRA University (IN)
Anomaly Detection Techniques and Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon