CVAICLLGOct 21, 2024

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

SalesforceStanford
arXiv:2410.16267v231 citationsh-index: 64Has Code
Originality Incremental advance
AI Analysis

This addresses the efficiency bottleneck in video-language models for researchers and practitioners, though it is incremental as it builds on existing methods like BLIP.

The paper tackles the problem of efficiently representing videos in multimodal language models by introducing a temporal encoder that compresses multiple frames into fewer visual tokens, achieving comparable video question-answering accuracy to larger state-of-the-art models (e.g., 34B) with a smaller model (4B) using only 32 tokens instead of 4608.

We present xGen-MM-Vid (BLIP-3-Video): a multimodal language model for videos, particularly designed to efficiently capture temporal information over multiple frames. BLIP-3-Video takes advantage of the 'temporal encoder' in addition to the conventional visual tokenizer, which maps a sequence of tokens over multiple frames into a compact set of visual tokens. This enables BLIP3-Video to use much fewer visual tokens than its competing models (e.g., 32 vs. 4608 tokens). We explore different types of temporal encoders, including learnable spatio-temporal pooling as well as sequential models like Token Turing Machines. We experimentally confirm that BLIP-3-Video obtains video question-answering accuracies comparable to much larger state-of-the-art models (e.g., 34B), while being much smaller (i.e., 4B) and more efficient by using fewer visual tokens. The project website is at https://www.salesforceairesearch.com/opensource/xGen-MM-Vid/index.html

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes