Abstract
ST-LLM (Spatial-Temporal Large Language Model) demonstrates that Large Language Models (LLMs) are inherently effective at modeling video sequences without specialized temporal modules. By feeding raw spatial-temporal tokens directly into the LLM and employing a novel dynamic masking strategy, ST-LLM achieves state-of-the-art results on major video benchmarks while significantly reducing training complexity.
Introduction: The Challenge of Video Understanding
While Large Language Models (LLMs) excel at text, giving them "eyes" for video is challenging. Most current "Video-LLMs" take a shortcut: they either use mean pooling (averaging frame features), which effectively turns a video into a blurry static image and loses all motion data, or they add complex temporal adapters that require expensive, multi-stage pre-training to align.
The core challenge is balancing detail with efficiency. If you feed an LLM every single token from every frame of a video, the context window explodes, making it slow and computationally "unaffordable." The authors ask a provocative question: Can we just give the LLM all the raw tokens and let its native sequence-modeling powers do the heavy lifting?
Methodology: Streamlining Spatial-Temporal Learning
The authors propose a streamlined architecture called ST-LLM. Its key innovations include:
- Direct Token Input: Unlike models that compress temporal data before the LLM, ST-LLM treats video frames as individual images (using a BLIP-2 visual encoder) and feeds the resulting sequence of tokens directly into the LLM (Vicuna).
- Dynamic Video Token Masking: To prevent the context window from becoming a bottleneck, the model randomly masks between 30% and 70% of video tokens during training. This forces the model to become robust to videos of varying lengths and frame rates.
- Masked Video Modeling (MVM) Loss: To help the LLM "fill in the blanks," the authors added a training objective where the model reconstructs the features of masked tokens. This encourages the LLM to understand the underlying spatial-temporal dependencies.
Experimental Setup and Results
ST-LLM was trained on a consolidated collection of video instruction data, including VideoChatGPT-100k, VideoChat-11k, Webvid, and others. Evaluation was conducted on comprehensive benchmarks like MVBench, VideoChatGPT-Bench, and several zero-shot QA datasets.
Key Results
ST-LLM established a new state-of-the-art (SOTA) across multiple benchmarks:
- MVBench: Achieved an average score of 54.9%, outperforming the previous leader, VideoChat2 (51.1%), despite a much simpler training pipeline.
- Motion Expertise: In motion-specific tasks (like "Moving Direction" or "Moving Count"), ST-LLM significantly outperformed competitors, scoring 59.2% compared to VideoChat2's 36.3%.
- Generative Quality: On the VideoChatGPT-Bench, it achieved a mean score of 3.15, leading across categories like Correctness and Contextual Understanding.
Discussion: LLMs as Natural Temporal Learners
The most significant insight is that LLMs do not require specialized "video-specific" modules. Their self-attention mechanism, designed for long-range text dependencies, is inherently capable of understanding how objects move across video frames if provided with the raw data. By avoiding specialized temporal encoders, ST-LLM can be trained in a single stage, leveraging existing image-based conversational models directly and saving massive amounts of GPU time.
Limitations and Future Work
While ST-LLM is a "motion master," it still struggles with fine-grained spatial tasks, such as identifying specific poses or very small object details. This may be due to the limitations of the underlying visual backbone (CLIP/BLIP-2). Future work will likely involve exploring more potent visual encoders or scaling the global-local module to handle even longer video contexts more efficiently.
Summary updated