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

xGen-MM-Vid (BLIP-3-Video): You Only Need 32 Tokens to Represent a Video Even in VLMs

Michael S. Ryoo, Honglu Zhou, Shrikant Kendre, Can Qin, Le Xue, Manli Shu, Silvio Savarese, Ran Xu, Caiming Xiong, Juan Carlos NieblesarXiv 2024 · DOI

Introduction

Large Vision-Language Models (VLMs) have achieved remarkable success in image understanding, yet video remains a significant computational challenge. Most current models treat video as a dense stack of images, extracting hundreds or thousands of tokens per frame. For a standard 8-frame clip, this can result in over 4,000 visual tokens. Given that LLM computation costs grow quadratically with token count, this "brute-force" approach makes long-video understanding prohibitively expensive and slow.

xGen-MM-Vid (BLIP-3-Video) addresses this "token hog" problem by proving that a video can be effectively represented using as few as 32 tokens. By introducing a specialized temporal encoder, the researchers compressed video representations by orders of magnitude while maintaining performance comparable to state-of-the-art models using 100x more tokens.

Architectural Innovation: The Temporal Encoder

The core innovation of xGen-MM-Vid lies in the "Temporal Encoder" inserted between the frame-level features and the LLM backbone. The framework utilizes a SigLIP vision encoder and a Phi-3 (4B) LLM.

The xGen-MM-Vid architecture featuring a specialized temporal encoder that compresses N=128 image tokens into M=32 video tokens.

The researchers explored two primary novel architectures for this temporal abstraction:

  1. Spatio-temporal Attentional Pooling (TokenLearner): A learnable mechanism that "soft-selects" the most informative regions across both space and time, rather than relying on simple mean pooling.
  2. Grouped Tokens Sequential Model: A modified Token Turing Machine (TTM) that maintains "grouped memory." By processing sets of tokens across time steps, the model preserves fine-grained scene details that typically blur during standard compression.

Training Methodology and Datasets

The model follows a rigorous three-stage training pipeline: image captioning pretraining, video captioning pretraining (utilizing 900k high-quality GPT-4 rephrased captions), and final video instruction tuning.

Evaluation was conducted across a massive breadth of benchmarks, including open-ended QA (MSVD-QA, MSRVTT-QA), multiple-choice (NExT-QA, MVBench), and long-video tasks (EgoSchema, VideoMME). For long-form content, the model uses a hierarchical approach (LVNet) to aggregate its compact short-term representations.

Key Results and Performance

The most striking finding is the efficiency of the 32-token representation. Increasing the count to 128 tokens provides only a marginal boost, suggesting that diminishing returns for video tokens hit much earlier than previously assumed.

MSVD-QA accuracy vs. Number of tokens, showing BLIP-3-Video-4B achieving high accuracy with significantly fewer tokens than competitors.

As shown in the performance analysis, the 4B-parameter BLIP-3-Video matches or exceeds the performance of models with significantly higher parameter counts and token densities:

  • MSVD-QA: Achieved 77.7% accuracy with 32 tokens, outperforming Tarsier-7B (77.0% with 4,608 tokens) and rivaling the 34B-parameter version.
  • Efficiency: The reduction in token count results in a ~2.5x speedup in processing samples per second compared to standard models.
  • Captioning Quality: On the Mira dataset, the model generated denser, more accurate descriptions with fewer hallucinations than LLaVA-OneVision.

Conclusion and Future Directions

xGen-MM-Vid demonstrates that temporal abstraction is a viable path toward efficient video understanding. While the current model is optimized for clips up to a few minutes long, its success with 32 tokens opens the door for scaling to even larger LLMs and longer-form content. Future work will likely focus on extremely fine-grained tasks that may still require higher token densities and extending the architecture to natively handle hour-long video streams.

Summary updated

BibTeX
@misc{ryoo2024xgen,
  author = {Michael S. Ryoo and Honglu Zhou and Shrikant Kendre and Can Qin and Le Xue and Manli Shu and Silvio Savarese and Ran Xu and Caiming Xiong and Juan Carlos Niebles},
  title = {{xGen-MM-Vid (BLIP-3-Video): You Only Need 32 Tokens to Represent a Video Even in VLMs}},
  year = {2024},
  eprint = {2410.16267},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.16267},
}
Figure