VideoMamba: Spatio-Temporal Selective State Space Model
Jinyoung Park, Hee-Seon Kim, Kangwook Ko, Minbeom Kim, Changick Kim
TL;DR
VideoMamba extends the pure Mamba selective State Space Model to video understanding, achieving competitive accuracy with linear computational complexity by processing spatio-temporal tokens via bidirectional ST-SSMs. It introduces a video tokenizer, learnable positional embeddings, and a stack of ST-SSM encoder blocks to capture non-sequential spatial information alongside sequential temporal dynamics. Across HMDB51, Something-Something V2, and Kinetics-400, VideoMamba delivers strong results with substantially lower GFLOPs and memory usage than transformer-based rivals, while enabling robust long-range video modeling. Additional analyses demonstrate the importance of temporal consistency, Delta-based context gating, and pretraining, and the approach extends effectively to long-term video tasks and other video understanding problems such as action detection and temporal segmentation.
Abstract
We introduce VideoMamba, a novel adaptation of the pure Mamba architecture, specifically designed for video recognition. Unlike transformers that rely on self-attention mechanisms leading to high computational costs by quadratic complexity, VideoMamba leverages Mamba's linear complexity and selective SSM mechanism for more efficient processing. The proposed Spatio-Temporal Forward and Backward SSM allows the model to effectively capture the complex relationship between non-sequential spatial and sequential temporal information in video. Consequently, VideoMamba is not only resource-efficient but also effective in capturing long-range dependency in videos, demonstrated by competitive performance and outstanding efficiency on a variety of video understanding benchmarks. Our work highlights the potential of VideoMamba as a powerful tool for video understanding, offering a simple yet effective baseline for future research in video analysis.
