Unsupervised Video Anomaly Detection Using Video Vision Transformer and Adversarial Training
Open Access
- 26 March 2025
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 13, 56169-56179
Abstract
Surveillance cameras have been recently introduced in various locations to maintain public safety. However, it is tedious for security personnel to continue observing videos obtained by surveillance cameras because abnormal events rarely occur. Consequently, this study aims to develop an unsupervised anomaly detection method for surveillance videos based on the prediction of future frame and optical flow magnitude using adversarial networks. Our database consists of two public datasets for anomaly detection: UCSD Pedestrian 2 (UCSD Ped2) and ShanghaiTech Campus. The proposed network consists of a generator and a U-Net-based discriminator. The generator has an encoder based on a video vision transformer and two decoders that independently predict the future frame and optical flow magnitude using feature maps extracted from the encoder at different resolutions. The U-Net-based discriminator identifies at the pixel level whether the image is a “real” or “false” frame predicted by the generator. The generator and U-Net-based discriminator in the proposed network are trained through adversarial training. Finally, anomaly detection is performed based on element-wise subtraction between the predicted future frame and the optical flow magnitude and their corresponding ground truth frames. The areas under the receiver operating characteristic curve (AUC) with the proposed network were 0.975 for UCSD Ped2 and 0.858 for ShanghaiTech Campus. The AUC for the proposed network was also greater than those of well-known anomaly detection methods.Keywords
This publication has 22 references indexed in Scilit:
- VideoPatchCore: An Effective Method to Memorize Normality for Video Anomaly Detection2024
- Object Class Aware Video Anomaly Detection through Image Translation2022
- TransAnomaly: Video Anomaly Detection Using Video Vision TransformerIEEE Access, 2021
- A U-Net Based Discriminator for Generative Adversarial Networks2020
- CBAM: Convolutional Block Attention Module2018
- Future Frame Prediction for Anomaly Detection - A New Baseline2018
- SCA-CNN: Spatial and Channel-Wise Attention in Convolutional Networks for Image Captioning2017
- Anomaly detection in crowded scenes2010
- Two-Frame Motion Estimation Based on Polynomial Expansion2003
- The use of the area under the ROC curve in the evaluation of machine learning algorithmsPattern Recognition, 1997