STNMamba: Mamba-based Spatial-Temporal Normality Learning for Video Anomaly Detection

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Li, Zhangxun, Zhao, Mengyang, Yang, Xuan, Liu, Yang, Sheng, Jiamu, Zeng, Xinhua, Wang, Tian, Wu, Kewei, Jiang, Yu-Gang
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866929651166740480
author Li, Zhangxun
Zhao, Mengyang
Yang, Xuan
Liu, Yang
Sheng, Jiamu
Zeng, Xinhua
Wang, Tian
Wu, Kewei
Jiang, Yu-Gang
author_facet Li, Zhangxun
Zhao, Mengyang
Yang, Xuan
Liu, Yang
Sheng, Jiamu
Zeng, Xinhua
Wang, Tian
Wu, Kewei
Jiang, Yu-Gang
contents Video anomaly detection (VAD) has been extensively researched due to its potential for intelligent video systems. However, most existing methods based on CNNs and transformers still suffer from substantial computational burdens and have room for improvement in learning spatial-temporal normality. Recently, Mamba has shown great potential for modeling long-range dependencies with linear complexity, providing an effective solution to the above dilemma. To this end, we propose a lightweight and effective Mamba-based network named STNMamba, which incorporates carefully designed Mamba modules to enhance the learning of spatial-temporal normality. Firstly, we develop a dual-encoder architecture, where the spatial encoder equipped with Multi-Scale Vision Space State Blocks (MS-VSSB) extracts multi-scale appearance features, and the temporal encoder employs Channel-Aware Vision Space State Blocks (CA-VSSB) to capture significant motion patterns. Secondly, a Spatial-Temporal Interaction Module (STIM) is introduced to integrate spatial and temporal information across multiple levels, enabling effective modeling of intrinsic spatial-temporal consistency. Within this module, the Spatial-Temporal Fusion Block (STFB) is proposed to fuse the spatial and temporal features into a unified feature space, and the memory bank is utilized to store spatial-temporal prototypes of normal patterns, restricting the model's ability to represent anomalies. Extensive experiments on three benchmark datasets demonstrate that our STNMamba achieves competitive performance with fewer parameters and lower computational costs than existing methods.
format Preprint
id arxiv_https___arxiv_org_abs_2412_20084
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle STNMamba: Mamba-based Spatial-Temporal Normality Learning for Video Anomaly Detection
Li, Zhangxun
Zhao, Mengyang
Yang, Xuan
Liu, Yang
Sheng, Jiamu
Zeng, Xinhua
Wang, Tian
Wu, Kewei
Jiang, Yu-Gang
Computer Vision and Pattern Recognition
Video anomaly detection (VAD) has been extensively researched due to its potential for intelligent video systems. However, most existing methods based on CNNs and transformers still suffer from substantial computational burdens and have room for improvement in learning spatial-temporal normality. Recently, Mamba has shown great potential for modeling long-range dependencies with linear complexity, providing an effective solution to the above dilemma. To this end, we propose a lightweight and effective Mamba-based network named STNMamba, which incorporates carefully designed Mamba modules to enhance the learning of spatial-temporal normality. Firstly, we develop a dual-encoder architecture, where the spatial encoder equipped with Multi-Scale Vision Space State Blocks (MS-VSSB) extracts multi-scale appearance features, and the temporal encoder employs Channel-Aware Vision Space State Blocks (CA-VSSB) to capture significant motion patterns. Secondly, a Spatial-Temporal Interaction Module (STIM) is introduced to integrate spatial and temporal information across multiple levels, enabling effective modeling of intrinsic spatial-temporal consistency. Within this module, the Spatial-Temporal Fusion Block (STFB) is proposed to fuse the spatial and temporal features into a unified feature space, and the memory bank is utilized to store spatial-temporal prototypes of normal patterns, restricting the model's ability to represent anomalies. Extensive experiments on three benchmark datasets demonstrate that our STNMamba achieves competitive performance with fewer parameters and lower computational costs than existing methods.
title STNMamba: Mamba-based Spatial-Temporal Normality Learning for Video Anomaly Detection
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2412.20084