BIMBA: Selective-Scan Compression for Long-Range Video Question Answering

Md Mohaiminul Islam, Tushar Nagarajan, Huiyu Wang, Gedas Bertasius, Lorenzo Torresani
3/1/2025

No official code found. Best implementation: md-mohaiminul/BIMBA (29 stars, last commit 2025-07-25).

Abstract

Video Question Answering (VQA) in long videos poses the key challenge of extracting relevant information and modeling long-range dependencies from many redundant frames. The self-attention mechanism provides a general solution for sequence modeling, but it has a prohibitive cost when applied to a massive number of spatiotemporal tokens in long videos. Most prior methods rely on compression strategies to lower the computational cost, such as reducing the input length via sparse frame sampling or compressing the output sequence passed to the large language model (LLM) via space-time pooling. However, these naive approaches over-represent redundant information and often miss salient events or fast-occurring space-time patterns. In this work, we introduce BIMBA, an efficient state-space model to handle long-form videos. Our model leverages the selective scan algorithm to learn to effectively select critical information from high-dimensional video and transform it into a reduced token sequence for efficient LLM processing. Extensive experiments demonstrate that BIMBA achieves state-of-the-art accuracy on multiple long-form VQA benchmarks, including PerceptionTest, NExT-QA, EgoSchema, VNBench, LongVideoBench, Video-MME, and MLVU. Code and models are available at https://sites.google.com/view/bimba-mllm.

View on arXivView PDF

Code Implementations(1)

md-mohaiminul/BIMBACommunity100%
294Shell, PythonMar 19, 20251 years ago

Similar Papers

Cite this paper

@article{islam2025bimba,
  title  = {BIMBA: Selective-Scan Compression for Long-Range Video Question Answering},
  author = {Md Mohaiminul Islam and Tushar Nagarajan and Huiyu Wang and Gedas Bertasius and Lorenzo Torresani},
  year   = {2025},
  eprint = {2503.09590},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2503.09590},
  journal = {CVPR 2025 2025}
}

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.09590.svg)](https://codeofpaper.com/paper/2503.09590)

Discussion