Enhancing Video Anomaly Detection Using a Transformer Spatiotemporal Attention Unsupervised Framework for Large Datasets

被引:2
|
作者
Habeb, Mohamed H. [1 ]
Salama, May [1 ]
Elrefaei, Lamiaa A. [1 ]
机构
[1] Benha Univ, Fac Engn Shoubra, Elect Engn Dept, Cairo 11629, Egypt
关键词
video anomaly detection; unsupervised learning; spatiotemporal modeling; large datasets; LOCALIZATION; RECOGNITION; HISTOGRAMS; EXTRACTION;
D O I
10.3390/a17070286
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
This work introduces an unsupervised framework for video anomaly detection, leveraging a hybrid deep learning model that combines a vision transformer (ViT) with a convolutional spatiotemporal relationship (STR) attention block. The proposed model addresses the challenges of anomaly detection in video surveillance by capturing both local and global relationships within video frames, a task that traditional convolutional neural networks (CNNs) often struggle with due to their localized field of view. We have utilized a pre-trained ViT as an encoder for feature extraction, which is then processed by the STR attention block to enhance the detection of spatiotemporal relationships among objects in videos. The novelty of this work is utilizing the ViT with the STR attention to detect video anomalies effectively in large and heterogeneous datasets, an important thing given the diverse environments and scenarios encountered in real-world surveillance. The framework was evaluated on three benchmark datasets, i.e., the UCSD-Ped2, CHUCK Avenue, and ShanghaiTech. This demonstrates the model's superior performance in detecting anomalies compared to state-of-the-art methods, showcasing its potential to significantly enhance automated video surveillance systems by achieving area under the receiver operating characteristic curve (AUC ROC) values of 95.6, 86.8, and 82.1. To show the effectiveness of the proposed framework in detecting anomalies in extra-large datasets, we trained the model on a subset of the huge contemporary CHAD dataset that contains over 1 million frames, achieving AUC ROC values of 71.8 and 64.2 for CHAD-Cam 1 and CHAD-Cam 2, respectively, which outperforms the state-of-the-art techniques.
引用
收藏
页数:31
相关论文
共 50 条
  • [41] Video Anomaly Detection Framework Based on Motion Consistency
    Zhao, Caidan
    Li, Xiang
    Gao, Chenxing
    Wu, Zhiqiang
    PROCEEDINGS OF THE 2024 27 TH INTERNATIONAL CONFERENCE ON COMPUTER SUPPORTED COOPERATIVE WORK IN DESIGN, CSCWD 2024, 2024, : 802 - 807
  • [42] Dual contrast discriminator with sharing attention for video anomaly detection
    Zeng, Yiwenhao
    Chen, Yihua
    Yu, Songsen
    Yang, Mingzhang
    Chen, Rongrong
    Xu, Fang
    MACHINE VISION AND APPLICATIONS, 2024, 35 (04)
  • [43] Attention-based residual autoencoder for video anomaly detection
    Le, Viet-Tuan
    Kim, Yong-Guk
    APPLIED INTELLIGENCE, 2023, 53 (03) : 3240 - 3254
  • [44] Attention-Driven Loss for Anomaly Detection in Video Surveillance
    Zhou, Joey Tianyi
    Zhang, Le
    Fang, Zhiwen
    Du, Jiawei
    Peng, Xi
    Xiao, Yang
    IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY, 2020, 30 (12) : 4639 - 4647
  • [45] Attention-based residual autoencoder for video anomaly detection
    Viet-Tuan Le
    Yong-Guk Kim
    Applied Intelligence, 2023, 53 : 3240 - 3254
  • [46] Improved Video Anomaly Detection with Dual Generators and Channel Attention
    Qi, Xiaosha
    Hu, Zesheng
    Ji, Genlin
    APPLIED SCIENCES-BASEL, 2023, 13 (04):
  • [47] Anomaly Detection in Scientific Datasets using Sparse Representation
    Moon, Aekyeung
    Kim, Minjun
    Chen, Jiaxi
    Son, Seung Woo
    PROCEEDINGS OF THE 1ST WORKSHOP ON AI FOR SYSTEMS, AI4SYS 2023, 2023, : 13 - 18
  • [48] Point Cloud Video Anomaly Detection Based on Point Spatiotemporal Autoencoder
    He, Tengjiao
    Wang, Wenguang
    Zeng, Guoqi
    IEEE SENSORS JOURNAL, 2024, 24 (13) : 20884 - 20895
  • [49] TransGANomaly: Transformer based Generative Adversarial Network for Video Anomaly Detection
    Aslam, Nazia
    Kolekar, Maheshkumar H.
    JOURNAL OF VISUAL COMMUNICATION AND IMAGE REPRESENTATION, 2024, 100
  • [50] Unsupervised Anomaly Detection in Sewer Images with a PCA-based Framework
    Meijer, Dirk
    Kesteloo, Mitchell
    Knobbe, Arno
    PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON PATTERN RECOGNITION AND ARTIFICIAL INTELLIGENCE (ICPRAI 2018), 2018, : 354 - 359