SpaceVLLM: Endowing Multimodal Large Language Model with Spatio-Temporal Video Grounding Capability

Jiankang Wang, Zhihan Zhang, Zhihang Liu, Yang Li, Jiannan Ge, Hongtao Xie, Yongdong Zhang

TL;DR

SpaceVLLM is the first Multimodal Large Language Model (MLLM) designed to tackle joint spatio-temporal video grounding—pinpointing both when an action happens and where the target object is located frame-by-frame. By introducing interleaved Spatio-Temporal Aware Queries and a specialized query-guided space decoder, it achieves state-of-the-art performance across 11 benchmarks while maintaining strong general video understanding capabilities.

What Problem Does This Paper Address?

Current MLLMs excel at spatial grounding in static images (like drawing a bounding box around an object) or temporal grounding in videos (like identifying the start and end timestamps of an event). However, combining these two skills into Spatio-Temporal Video Grounding (STVG) remains a massive hurdle. STVG requires a model to track a specific object across a precise "time tube" in a video based on a natural language prompt (e.g., "the woman who clamps something and pours tea").

This task introduces two core challenges:

  1. Fine-grained dynamic extraction: It is difficult to capture subtle, frame-to-frame spatial changes and motion cues using standard video representations.
  2. Token alignment overload: Videos inherently contain a massive number of visual tokens. Forcing an LLM to directly map these tokens to a long sequence of numerical coordinates via standard text generation quickly overwhelms the model, leading to severe spatial-temporal misalignment.

Methods

SpaceVLLM solves these bottlenecks by introducing a specialized architecture that decouples video reasoning from raw coordinate generation:

  • Spatio-Temporal Aware Queries: Instead of appending query tokens at the end of the visual sequence, SpaceVLLM interleaves learnable query tokens between the visual tokens of adjacent frames. This sequential positioning naturally forces the queries to encode temporal order and capture inter-frame spatial dynamics.
  • Query-Guided Space Decoder: To avoid overwhelming the LLM's text generation capacity, the authors route the LLM's final-layer query embeddings into a dedicated, lightweight decoder. This decoder utilizes a Dual Cross Attention mechanism to fuse textual context with visual features, which are then passed to a Multi-Layer Perceptron (MLP) Space Head to regress precise bounding boxes ($c_x, c_y, w, h$).

The overall architecture layout is detailed below:

The Overall Architecture of SpaceVLLM. Learnable Spatio-Temporal Aware Queries are interleaved with video frame tokens, and a Query-Guided Space Decoder maps the final embeddings to frame-wise coordinates.

Datasets

To train and evaluate SpaceVLLM effectively, the authors addressed a severe shortage of high-quality spatio-temporal datasets by constructing a new benchmark and evaluating across several existing ones:

  • Uni-STG (Unified Spatio-Temporal Grounding) Dataset: A newly introduced dataset containing 480K instances across three tasks: Video Temporal Grounding (VTG), Referring Expression Comprehension (REC), and STVG. The authors synthesized the STVG data by using Qwen2.5-72B to parse video captions, Grounding-DINO to generate frame-by-frame bounding boxes, and strict automated filtering to ensure stable object tracking.
  • Evaluation Benchmarks: The model was comprehensively evaluated across 11 benchmarks, including STVG tasks (HCSTVG-v1, HCSTVG-v2, VidSTG), image REC tasks (RefCOCO, RefCOCO+, RefCOCOg), temporal grounding (Charades-STA), and general video understanding (MVBench, VideoMME, TempCompass, EgoSchema).

Key Insights and Ideas

  • The Power of Interleaving: Ablation studies revealed that interleaving query tokens between frames (rather than concatenating them at the end) prevents a 6.4% performance drop. This confirms that localizing queries directly alongside their corresponding frame tokens is essential for capturing dynamic spatial transitions.
  • Decoupling Regression from Generation: Forcing an LLM to output hundreds of numerical coordinates as text tokens degrades spatial performance. Offloading coordinate regression to a specialized embedding-driven decoder preserves the LLM's semantic reasoning while ensuring highly accurate bounding boxes.

Key Results

SpaceVLLM set new state-of-the-art standards across all 11 evaluated benchmarks:

  • Spatio-Temporal Video Grounding: On HCSTVG-v1, SpaceVLLM achieved a mean Video IoU (m_vIoU) of 39.3%, outperforming Qwen2.5-VL by an absolute margin of 20.2% and surpassing specialized, non-generative models like CG-STVG.
  • Complex Video Tracking: On the challenging VidSTG dataset, which includes complex interrogative queries, SpaceVLLM significantly outperformed existing video LLMs, demonstrating robust tracking even when distinguishing between highly similar actions (as visualized in Figure 5).
  • No Compromise on General QA: Despite its heavy optimization for localization, SpaceVLLM maintained or slightly improved upon its base model's (LLaVA-Video) performance on general video QA benchmarks, scoring 59.3% on MVBench and 60.0% on VideoMME.

Limitations and Future Work

  • Query Scaling vs. Computational Cost: The authors noted that while increasing the number of sampled frames/queries (e.g., from 64 to 96) slightly improves localization accuracy, it incurs a significantly higher memory overhead during training and inference.
  • Future Work: A promising direction mentioned is optimizing query efficiency or developing adaptive query allocation strategies to handle longer videos without experiencing linear memory scaling.

Summary updated

BibTeX
@inproceedings{wang2026spacevllm,
  author = {Jiankang Wang and Zhihan Zhang and Zhihang Liu and Yang Li and Jiannan Ge and Hongtao Xie and Yongdong Zhang},
  title = {{SpaceVLLM: Endowing Multimodal Large Language Model with Spatio-Temporal Video Grounding Capability}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i12.37956},
}
Figure