Vamba: Understanding Hour-Long Videos with Hybrid Mamba-Transformers
By: Weiming Ren , Wentao Ma , Huan Yang and more
Potential Business Impact:
Lets computers watch long videos faster.
State-of-the-art transformer-based large multimodal models (LMMs) struggle to handle hour-long video inputs due to the quadratic complexity of the causal self-attention operations, leading to high computational costs during training and inference. Existing token compression-based methods reduce the number of video tokens but often incur information loss and remain inefficient for extremely long sequences. In this paper, we explore an orthogonal direction to build a hybrid Mamba-Transformer model (VAMBA) that employs Mamba-2 blocks to encode video tokens with linear complexity. Without any token reduction, VAMBA can encode more than 1024 frames (640$\times$360) on a single GPU, while transformer-based models can only encode 256 frames. On long video input, VAMBA achieves at least 50% reduction in GPU memory usage during training and inference, and nearly doubles the speed per training step compared to transformer-based LMMs. Our experimental results demonstrate that VAMBA improves accuracy by 4.3% on the challenging hour-long video understanding benchmark LVBench over prior efficient video LMMs, and maintains strong performance on a broad spectrum of long and short video understanding tasks.
Similar Papers
TimeViper: A Hybrid Mamba-Transformer Vision-Language Model for Efficient Long Video Understanding
CV and Pattern Recognition
Lets computers watch and understand hours of video.
MaTVLM: Hybrid Mamba-Transformer for Efficient Vision-Language Modeling
CV and Pattern Recognition
Makes AI understand pictures and words faster.
M4V: Multi-Modal Mamba for Text-to-Video Generation
CV and Pattern Recognition
Makes videos from words much faster.