Vamba: Understanding Hour-Long Videos with Hybrid Mamba-Transformers

Weiming Ren, Wentao Ma, Huan Yang, Cong Wei, Ge Zhang +1 more
3/14/2025
cs.CV

No official code found. Best implementation: TIGER-AI-Lab/Vamba (109 stars, MIT, last commit 2025-07-28).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

TIGER-AI-Lab/VambaCommunity67%
MIT

Code for the paper "Vamba: Understanding Hour-Long Videos with Hybrid Mamba-Transformers" [ICCV 2025]

10911Shell, PythonMar 9, 20251 years agoMIT
llmvideovlm

Similar Papers

Cite this paper

@article{ren2025vamba,
  title  = {Vamba: Understanding Hour-Long Videos with Hybrid Mamba-Transformers},
  author = {Weiming Ren and Wentao Ma and Huan Yang and Cong Wei and Ge Zhang and Wenhu Chen},
  year   = {2025},
  eprint = {2503.11579},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.11579v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.11579.svg)](https://codeofpaper.com/paper/2503.11579)

Discussion