NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

MambaMia: A State-Space-Model-Based Compression for Efficient Video Understanding in Large Multimodal Models

Geewook Kim, Minjoon Seo · DOI

Introduction

The primary obstacle in long-form video understanding for Large Multimodal Models (LMMs) is the "token explosion." Processing an hour of video at standard frame rates generates millions of tokens, exceeding the quadratic scaling limits of Transformer-based attention mechanisms. Existing solutions like spatial pooling or token pruning often sacrifice fine-grained detail or ignore long-term temporal dependencies. MambaMia addresses this by introducing a hierarchical compression framework based on State-Space Models (SSMs), specifically Mamba, to efficiently distill massive video inputs into a compact token set.

The MambaMia Framework

MambaMia utilizes a two-stage hierarchical pipeline designed to reduce redundancy while preserving critical context.

1. Gated Patch Aggregation (GPA)

The GPA module replaces traditional spatial pooling with a bi-directional Mamba block. It introduces learnable "query anchors" into the token stream. A gating mechanism dynamically determines the information flow from neighboring patches into these anchors, effectively collapsing spatial data while maintaining local temporal cues.

2. Time-Axis Aggregator (TAA)

Following spatial compression, the TAA module models the global temporal structure. Using a uni-directional Mamba block, it captures how the video content evolves over time, preparing the sequence for final processing by the LLM.

Overview of the MambaMia architecture, illustrating the hierarchical compression from raw frames through spatiotemporal compressor layers to the final LLM input.

3. Learnable Delta-based Sampling

A key innovation in MambaMia is the use of the Mamba architecture's internal $\Delta_t$ (step size) parameter as a saliency signal. A larger $\Delta_t$ indicates a more significant update to the model's internal state, marking a "salient" frame. By performing cumulative delta-based sampling, the system adaptively filters out redundant frames, ensuring the LLM receives only the most informative data.

Experimental Evaluation

The model was pre-trained on the LLaVA-Pretrain dataset and fine-tuned using the LLaVA-Video-Set and Vista-Set. Evaluation focused on "marathon" benchmarks including LVBench (30–140 min videos), MLVU, and VNBench (a "needle-in-a-haystack" test for finding brief, specific events).

Key Results and Efficiency

MambaMia demonstrates state-of-the-art performance on long-video benchmarks while maintaining high efficiency. On LVBench, it achieved a score of 44.6, surpassing models like mPLUG-Owl3 (43.5) and Qwen2-VL (42.0).

Accuracy vs. number of input frames, showing MambaMia's (blue line) competitive performance and scaling compared to other compression methods.

Crucially, MambaMia achieves these results with a significantly reduced token budget—approximately 4.7K tokens for an hour-long video. This reduction translates to a 3.79x throughput improvement over vanilla Transformer-based architectures and lower peak memory usage during inference. The model's strong performance on VNBench further confirms that its compression strategy does not lose brief, critical events.

Conclusion

MambaMia proves that State-Space Models can serve as highly effective "sequence compressors" for LMMs. By repurposing internal SSM parameters for adaptive sampling and employing a hierarchical aggregation strategy, MambaMia enables efficient, high-fidelity understanding of hour-long videos without the computational burden of traditional attention mechanisms. Future work will focus on improving visual interpretability and exploring deeper hierarchies for even denser frame sampling.

Summary updated

BibTeX
@inproceedings{kim2026mambamia,
  author = {Geewook Kim and Minjoon Seo},
  title = {{MambaMia: A State-Space-Model-Based Compression for Efficient Video Understanding in Large Multimodal Models}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i7.37485},
}
Figure